I answered no to the question "is my floppy disk or drive bad", meaning that they are both in working order.Stop waisting everyones time
Non system disk error
Somehow that boot signature dw 0xAA55 is not working right. The AA is supposed to be the high byte, and is supposed to be stored LAST.
If you look at the raw data that you posted, the last two bytes are 0xAA 0x55 -- they are backwards for some reason. The problem is in your nasm code, somehow. Not in your floppy creation command.
You might try doing db 0x55, db 0xaa, to force the proper byte order. I have no idea why it might be doing this though. It's almost like your copy of nasm was compiled to be big-endian or something.
If you look at the raw data that you posted, the last two bytes are 0xAA 0x55 -- they are backwards for some reason. The problem is in your nasm code, somehow. Not in your floppy creation command.
You might try doing db 0x55, db 0xaa, to force the proper byte order. I have no idea why it might be doing this though. It's almost like your copy of nasm was compiled to be big-endian or something.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
I don't use linux except to build things that need to be built with gcc. All MY dump routines output the bytes in actual byte order, so as not to confuse people with artificial byte reorderings -- so the byte dumped at offset 0x1ff really is at offset 0x1ff! And he didn't say which dump routine he used.Brynet-Inc wrote:I think you should familiarize yourself with the hexdump command bewing..
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Who said anything about Linux? I sure didn't...bewing wrote:I don't use linux except to build things that need to be built with gcc. All MY dump routines output the bytes in actual byte order, so as not to confuse people with artificial byte reorderings -- so the byte dumped at offset 0x1ff really is at offset 0x1ff! And he didn't say which dump routine he used.