Posted on 2004-11-24
I'm using asm112 to write a program to floppy boot sector.
Here's the code
@2 xor ah,ah
string db 'Sorry, this disk is not bootable.' 0a 0d
db 'Please insert another disk and press any key to reboot.' 0a 0d 00
THIS works fine. However i want to create it myself in DEBUG. Heres what i'm doing
f 0000 ffff 00; fill address range in debug.
r cx: 01ff;
w 0 0 0 1; write blank address range to floppy boot sec
a0000; start assembling at offset 0000
db 'Hello World $'
mov dx,offset for db
w 0 0 0 1
then i clear memory again and reload the floppy boot sector to make sure it
However when i start the computer with the floppy i get nothing.
Any suggestions. I have tried various things and even used jmp from first address to 003e. and started my code there but no joy still.
PS. I'd offer more points if only i had them.