VOGONS

Common searches


Search results

Display options

Re: Test suite and/or how to find bugs in x86 VM

in PC Emulation
Yeah, there probably isn't a quick fix for this. But once you get coding on the tests you will find it doesn't take as long as you think it will. I basically looked http://x86.renejeschke.de when designing the tests for each op code. My project was similar to yours in that I only emulated what an …

Re: Actual Windows Emulator

in PC Emulation
retrogamerguy: It didn't run Windows XP very well, but I could launch IE and Pinball. But often it would run the JavaVM out of memory because I didn't know how to unallocate the byte code I generated for the dynamic recompiler. As for Chomp running too fast, I guess that's a good problem to have. …

Re: Actual Windows Emulator

in PC Emulation
filipetolhuizen: I had good luck running SimTower in Dosbox with a copy of Windows 3.1. One of the goals BoxedWine is to be able to do that without an official copy of Windows 3.1. I started working on my own implementation of the Windows API, starting with Win32. I got Age of Empire and Caesar 3 …

Re: Actual Windows Emulator

in PC Emulation
Currently it is strictly c/sdl, so I haven't done anything to hook up to the Windows shell. It probably wouldn't be too hard to figure out the registry entries to hook up a "run with" boxed entry so that you can right click on an old Win16 app to run it. Or you can just create your own .bat files to …

Re: Actual Windows Emulator

in PC Emulation
I've been working on getting Wine to run with an x86 emulator written in C and using SDL. Here is a page that has some game demos that run with the Emscripten/Javascript build. I also have a Windows build. http://boxedwine.sourceforge.net/b4/games.html It's still a long ways off from any kind of …

Re: Finding bugs in 8086-80186 emulation core?

in PC Emulation
I also was unable to find any test suites for x86 emulation when I was working on jDosbox. The closest I came to finding one was for the FPU. I ended up writing my own unit tests, but it's not complete, it mainly deals with math instruction and making sure I handled flags correctly. Even though it …

16bit SHLD overflow flag

I don't have a specific game this affects, but I've been writing some more unit tests for some code based on jDosbox which was based on Dosbox flag handling and it appears that the overflow flag for SHLD 16-bit is incorrect. The OF flag for a 1bit shift should be set if there is a sign change. But …

Re: Java Port

Unfortunately network support isn't fully implemented yet. I started implementing a pure java solution, basically a router. Curreently it supports dhcp, but tcp hasn't been implemented. If you want to see DHCP work you can set mode in the [ne2000] section of the config file to user. I don't know if …

Re: Java Port

truth5678: I looked at the HX DOS Extender code and its a custom implementation of a very small subset of the Win32 API, like what I did for Age of Empire 3 on jDosbox. As for multithreading the Voodoo 1 card, you should look at the original implementation from MAME. I did my port of the Voodoo card …

Re: Java Port

Just an update on the state of the Java port. I'm not actively working on it any more. I feel that it performed its primary mission of playing DOS games in a browser pretty well. I started adding more features to it so that it could boot Windows 95/98/ME/XP with the hope of being able to play older …

Re: Pagefault handling in the normal core

setjmp / longjmp is not allowed in Java, instead Java uses try catch. In PAGING_NewPageFault I throw an exception in Java so that it will exit the current instruction and start execution of the page fault handler. In c, you might need to use setjmp/longjmp to implement that functionality. After the …

Re: Java Port

ZaDarkSize: I noticed that your version is 0.74.27, the latest is 0.74.28. I was able to reproduce the problem with your build. I also discovered that the download link on sourceforge was pointing to 0.74.27, I updated that to point to 0.74.28 now. Sorry about the confusion, hopefully build 28 will …

Re: Java Port

ZaDarkSize: Here is doom running an unsigned version of the latest released jdosbox.jar http://jdosbox.sourceforge.net/Doom/Doom.html From the java console I can see that I was using the latest JRE Using JRE version 1.7.0_25-b16 Java HotSpot(TM) Client VM and further down I can see that it correctly …

Re: Java Port

fonzel: Always good to see that stuff works ZaDarkSize: I will need more information since I am unable to reproduce your bug. Did you compile this yourself? Does the doom demo work for you in your setup on http://jdosbox.sourceforge.net/Doom.html?

Re: JavaScript port of Dosbox

After you get a faster core one of the things you will run into is performance for RAM and Video RAM. Java can't take a byte array and directly read an int. You will see in the Memory.java host_readb, host_readw and host_readd functions that quite a bit byte manipulation happens. Have you heard of …

Re: Jedi Knight: Dark Forces2 +D3d in DosBox

I spent a lot of time getting Win98 to work under jDosbox. I did that work quite a while ago so hopefully I what I'm about to say is correct. On a real CPU every instruction that can cause a page fault can be re-entered after the page fault is handled. In Dosbox this is not true because they …

Re: svn 3616 breaks LBA2

Looks like the bug is with the game. It was not meant to be installed in the root directory. GOG mounts the game in the root directory, but the older version of Dosbox they use lets them get away with it. I just tested the game by mounting 1 directory above the game so that I would have to CD into …

Re: svn 3616 breaks LBA2

Sorry about that, I should have said that the game won't start. Backing out that change does fix it so I assume it just needs a little rework in order to keep the intent of the original change. The game tries to change directories to "c:". Before the change this would return without error, after the …

Page 6 of 11