otacon14112
Experienced Member
How do you guys debug 8088 programs?
I can't get gdb to work with 8088 programs. Gdb works with elf executables, but I'm having great difficulty trying to to debug my 8088 binary programs. They were designed to fit onto a 2k ROM chip, and they won't run in DOSBox, or any other emulator because my homebrew computer might not be exactly like the IBM PC. I've spent several days now just trying to find some way to debug my programs.
What I've been doing so far is saving binary to the EEPROM and powering it up, but it would be so much better if I could debug it and watch the registers and stuff as it goes.
Emulators don't work because many emulate DOS, and always have a built-in BIOS. Many debuggers don't recognize my 8088 binaries. I've spent so much time that I have decided to ask for help on this. Can a program meant to reside in FFFF0h be ran in a debugger?
Thanks to anyone who can help me.
I can't get gdb to work with 8088 programs. Gdb works with elf executables, but I'm having great difficulty trying to to debug my 8088 binary programs. They were designed to fit onto a 2k ROM chip, and they won't run in DOSBox, or any other emulator because my homebrew computer might not be exactly like the IBM PC. I've spent several days now just trying to find some way to debug my programs.
What I've been doing so far is saving binary to the EEPROM and powering it up, but it would be so much better if I could debug it and watch the registers and stuff as it goes.
Emulators don't work because many emulate DOS, and always have a built-in BIOS. Many debuggers don't recognize my 8088 binaries. I've spent so much time that I have decided to ask for help on this. Can a program meant to reside in FFFF0h be ran in a debugger?
Thanks to anyone who can help me.
Last edited: