issues reading from disk image
Posted: Tue Oct 20, 2015 4:42 pm
Dear all,
have the following issue:
- i am in real mode
- i load a binary into memory, using ATA lba read, more or less same routine as here
http://wiki.osdev.org/ATA_read/write_sectors
It works perfect in bochs, while in virtualbox, if i read into memory i.e. 4096 bytes, only first 512 bytes, or maybe less (should dump) are read correctly, other bytes until 4096 are garbage.
Every help is really appreciated.
Regards
Angelo
have the following issue:
- i am in real mode
- i load a binary into memory, using ATA lba read, more or less same routine as here
http://wiki.osdev.org/ATA_read/write_sectors
It works perfect in bochs, while in virtualbox, if i read into memory i.e. 4096 bytes, only first 512 bytes, or maybe less (should dump) are read correctly, other bytes until 4096 are garbage.
Every help is really appreciated.
Regards
Angelo