flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Problems with floppy controler in PMode |
Author |
|
yupi 17 Aug 2017, 18:26
Everything is ok
The error was in another place. I've mistaken function names Instead fdc_check_int, I wrote fdc_read_data. But in Bochs does not work. After reading the sector interrupt does not execute. In VirtualBox everything works fine. What is wrong? Output Bochs' console: Code: 00286732197d[FDD ] write access to port 0x03f5, value=0xe6 00286732197d[FDD ] command = 0xe6 00286732197d[FDD ] io_write: diskette controller data 00286732214d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732219d[FDD ] write access to port 0x03f5, value=0x04 00286732219d[FDD ] command = 0x04 00286732219d[FDD ] io_write: diskette controller data 00286732235d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732240d[FDD ] write access to port 0x03f5, value=0x00 00286732240d[FDD ] command = 0x00 00286732240d[FDD ] io_write: diskette controller data 00286732256d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732261d[FDD ] write access to port 0x03f5, value=0x01 00286732261d[FDD ] command = 0x01 00286732261d[FDD ] io_write: diskette controller data 00286732277d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732282d[FDD ] write access to port 0x03f5, value=0x02 00286732282d[FDD ] command = 0x02 00286732282d[FDD ] io_write: diskette controller data 00286732298d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732303d[FDD ] write access to port 0x03f5, value=0x02 00286732303d[FDD ] command = 0x02 00286732303d[FDD ] io_write: diskette controller data 00286732324d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732329d[FDD ] write access to port 0x03f5, value=0x03 00286732329d[FDD ] command = 0x03 00286732329d[FDD ] io_write: diskette controller data 00286732345d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732350d[FDD ] write access to port 0x03f5, value=0x01 00286732350d[FDD ] command = 0x01 00286732350d[FDD ] io_write: diskette controller data 00286732366d[FDD ] read(): during command 0x00, port 0x03f4 returns 0xb0 00286732371d[FDD ] write access to port 0x03f5, value=0xff 00286732371d[FDD ] command = 0xff 00286732371d[FDD ] COMMAND: [e6] [04] [00] [01] [02] [02] [03] [01] [ff] 00286732371d[FDD ] read/write normal data 00286732371d[FDD ] BEFORE 00286732371d[FDD ] drive = 0 00286732371d[FDD ] head = 1 00286732371d[FDD ] cylinder = 0 00286732371d[FDD ] sector = 2 00286732371d[FDD ] eot = 3 00286732371d[FDD ] floppy_xfer: drive=0, offset=9728, bytes=512, direction=from floppy 00286732371d[FDD ] io_write: diskette controller data |
|||
17 Aug 2017, 18:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.