[ new build!!! and other things... ]
first and foremost, happy halloween! don't forget to set your clocks back an hour!
now to the good stuff -- an amazing amount of work has been done on ps2pc these past couple of days. the dynamic recompiler is in place and functioning(!) flawlessly (so far). it currently does *NOT* cache code (which of course, is the big advantage to dynrec anyway), but this will be added in due time.
ps2pc now requires a pc bios dump in order to begin running. this must be called 'bios.bin', must be 64k in size, and located in the same dir as the .elf file. the 486 pci bios dump on the main page was taken from an A-bit motherboard a while ago. it uses Award (the coolest bios ever), and should be pretty exciting to get emulated. at any rate, ps2pc will only execute the first instruction (at F000:FFF0), which is a JMP FAR to another location in the code. the next instruction is E9 (JMP NEAR) which has not been implemented. you should see something similar to this:
DEBUG: Init.
DEBUG: Dynrec init success.
DEBUG: memory base inited at address [0012FCD0]
DEBUG: memory base adjusted to compensate for optimization.
DEBUG: Memory init success -- 1Mb available, base RAM pointer @ 0x00130000.
DEBUG: Loading BIOS at F000:0000 (addr=0x00220000)...
DEBUG: 'Not done' opcode encountered in block around CS:EIP= F000:0000E05B
DEBUG: 16 byte dump of current opcode to translate:
DEBUG: E9 E4 FC 20 43 1A 41 77 61 72 64 20 4D 6F 64 75
DEBUG: Shutdown.as you can see, the IP has been updated by the JMP FAR, but E9 isn't done yet, so it dumps 16 bytes and exits.
if you're still stuck with the win32 exe, not much has changed. memory support is implemented, and "MOV Eb,Gb" should work fine. devices have a very basic implementation done so far. if you look at the example oak.cpp in the Devices subdir, you should be able to see how 'registering' devices actually work. hopefully oak.cpp can be ditched for the trident 8900 card I'm looking for... :)
since I actually got done early (before sunday evening), I'm going to spend some time redoing the content of the site. there's things that don't need to be anymore, and there's definitely things that need to be here that aren't. so if you come back tomorrow, you may see some slightly different stuff.
last but certainly not the least, I've added a banner *gasp* to the bottom of the page. it's different than most, because it's there for *your* benefit as well as mine. if you haven't heard of AllAdvantage, they pay YOU for surfing the web, just like you are right now looking at this page! so far I've accumulated about $10 over the course of a few days, and I haven't even signed up any referrals! at first I was skeptical at how this program could work, but it seems like a great idea. I highly suggest you try it.
welp, that's all -- off to play some magical drop F!