Doesn't look like it will be a simple patch
Get this error when loading an empty chd formatted to expected geometry:
Clearly it looks for information off the disk before booting. If I create a new CHD with geometry similar to a CF drive, it is able then load the information sector, and boot sector and indicates it is loading the game
But after it starts loading, this is when the checks start to kick in. I tried patching the differences between successful and failed boot, tweaking registers and pc to match a successful boot.... but no dice. Not exactly sure what the code is doing as Im not familiar with this instruction set
Here is where the first differences occur in execution, (original chd vs modified chd)
Perhaps someone else can take a shot? I attached the success/fail trace logs, so you can see where the fail jumps into oblivion
CHDman instructions:
chdman extracthd -o wargods_raw.bin -i wargods_11-07-1996.chd
chdman createhd -i wargods_raw.bin -c none -chs 987,16,63 -ss 512 -o wargods_cf_512.chd