Hello,
i've a problem with my bootimage. Now i want to debug it. What is the best programm for this and how to use it?? ???
thx for helping.. WaCkY
How can i debug my bootimage?
Re:How can i debug my bootimage?
You can't debug a boot sector/boot loader using a debugger, because no OS is present at that time. You must do it by adding print statements to your code. A good way is to write directly to video memory so you can see where the code is, e.g.:
puts an 'A' in the top-left corner of the screen.
Code: Select all
mov ax, 0B800h
mov es, ax
mov es:[0], 02000h | 'A'