NASM Forum > Programming with NASM
debug nasm os
(1/1)
serrrgggeee:
Hi. I learn mike os and not understand any part of code, how can i debug code. I mean that i want see a streeng`s number where code has executed.
Frank Kotler:
Hi serrrgggeee.
Welcome to the forum.
Why are you looking at code you don't understand? An OS is an advanced project. Not suitable for a beginner. You'll only frustrate yourself! I strongly suggest starting with something simpler and working your way up.
Having said that, the MikeOS page:
http://mikeos.sourceforge.net/handbook-user.html
seems to suggest Bochs for debugging. Good luck!
Best,
Frank
serrrgggeee:
--- Quote from: Frank Kotler on March 10, 2019, 11:12:31 PM ---seems to suggest Bochs for debugging. Good luck!
--- End quote ---
can you give some example how to use Bochs to debug. I want debuging not only mike os, it`s fit any bootloader writed on nasm.
Frank Kotler:
Dunno. Consult the Bochs documentation?
Best,
Frank
debs3759:
If you want to see a fully documented FAT12 bootloader in nasm, check my thread at https://forum.nasm.us/index.php?topic=2265.0
It reads a text file from the floppy (it can be very fragmented) and displays it. It is easy to change it to load and execute a second stage loader, and converting it for FAT16 or FAT32 would be trivial. I need to get back into coding and update it, my OS died when I got too ill to code.
Navigation
[0] Message Index
Go to full version