I downloaded DreamSDK, got everything installed, downloaded a handful of kosports in the SDK manager, and in Code::Blocks created a brand new fresh "Sega Dreamcast Project". It creates a new hello world app, great. I set the target to Debug, press Build, and then I go into the bin/Debug folder and do all of the elf2bin, scramble, ipcreate, and makedisc stuff. I now have a game.cdi file.
I just want to see this run in an emulator for now for kicks & giggles, so I point Redream at my cdi file. It runs through the whole Dreamcast BIOS, displays a licensed by Sega screen... and then Redream logs this and bails:
Code: Select all
mem_unhandled_write addr=0x5801c164 size=1
exception_handler_handle unhandled exception pc=0000000001150012 fault_addr=ffffffffffffffff
I'm not really sure what's going on here. I also don't really know how to get basic printf debugging up and running, so I don't really know if my hello world is actually getting printed or not (tried having Redream output to a virtual COM port to connect it to PuTTY, but no dice).
Anybody got tips for me to figure out what's going wrong here? Any help would be greatly appreciated!