Verified the address of IWAD in both HxD and Hex Workshop:
Re-ran this from a 'clean' doomloader folder. (So I can remember what I did):
Add Carl's doom_n06.ABS to folder renaming it doom.abs. Run Link.bat to get DOOM.BIN
Open DOOM.BIN and find 3rd IWAD offset.
Open Windows calculator, switch view to Programmer, tick Hex and adding: 802000 + 3D8E0 to equal 83F8E0
Right click and edit jagonly.c in Doom Source folder. Search for: 0x840000 (found on line 414)
Paste in 0x83F8E0 to make the section read:byte *I_WadBase (void)
return (byte *)0x83F4E0;
Quick save and exit jagonly.c
Also check line 74 in the Makefile to ensure it reads: C2OBJ = gcc -B/jaguar/bin/ -b m68k -V2.6 -Wall -DJAGUAR -O2 -c -o $@ $?
Recompile Doom Source using Dosbox (have to change JagDoomSourceEdited folder name to doom
Open Dosbox and type:
mount c c:\
at the following prompt:Paths Set!
(I've been having to reopen Dosbox a 2nd time to run make again to get the DOOM.ABS...?)
Once finished compiling, move the new DOOM.ABS (245kb, 1kb less than Carl's) to the doomloader folder and run Link.bat
Open the new DOOM.BIN with hex editor and locate offset of 3rd IWAD
Looking now, it's still at 3D8E0
So, based on this info from the last post on page 3,
So what i would do is compile so you have a doom.bin file then HEX edit this and find the 3rd iwad string of text in the rom.
Once you find this open up windows calculator (if doing this on windows) and then switch it to programmer mode and use HEX. Then add 802000 + IWAD offset together and you should get a new address you can plop into jagonly.c which when you recompile doom.abs again, then recompile and make a doom.bin file it should run. address you end up putting in jagonly.c might be close to something like 0x83E....
I should be able to flash the DOOM.BIN, which is 3.99mb & contains the wad, to the Skunkboard (jcp -f DOOM.BIN $83F4E0) then load this latest DOOM.ABS @ $4000 to make it work? (jcp DOOM.ABS $4000)
I'm a little fuzzy on all the details after not messing with this for a week or two but to my understanding this should be correct. Please let me know if I'm off base again. I'd like to correct any mistakes in the process so I can return and go through the motions again until it works
I've attached the files. Will PM the password for Doomloadertest.zip