Changeset 260 in xtideuniversalbios
- Timestamp:
- Feb 23, 2012, 6:10:13 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r258 r260 56 56 jmp [cs:bx+g_rgwEbiosFunctionJumpTable] 57 57 %endif 58 58 59 59 60 ;-------------------------------------------------------------------- … … 114 115 %endif 115 116 117 %ifdef MODULE_SERIAL_FLOPPY 118 ;-------------------------------------------------------------------- 119 ; Int13h_ReturnSuccessForFloppy 120 ; 121 ; Some operations, such as format of a floppy disk track, should just 122 ; return success, while for hard disks it should be treated as unsupported. 123 ;-------------------------------------------------------------------- 124 ALIGN JUMP_ALIGN 125 Int13h_ReturnSuccessForFloppy: 126 test dl, dl 127 js short Int13h_UnsupportedFunction 128 mov ah, 0 129 jmp short Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH 130 %endif 116 131 117 132 ;-------------------------------------------------------------------- … … 249 264 dw AH3h_HandlerForWriteDiskSectors ; 03h, Write Disk Sectors (All) 250 265 dw AH4h_HandlerForVerifyDiskSectors ; 04h, Verify Disk Sectors (All) 266 %ifdef MODULE_SERIAL_FLOPPY 267 dw Int13h_ReturnSuccessForFloppy ; 05h, Format Disk Track (XT, AT, EISA) 268 %else 251 269 dw Int13h_UnsupportedFunction ; 05h, Format Disk Track (XT, AT, EISA) 270 %endif 252 271 dw Int13h_UnsupportedFunction ; 06h, Format Disk Track with Bad Sectors (XT) 253 272 dw Int13h_UnsupportedFunction ; 07h, Format Multiple Cylinders (XT)
Note:
See TracChangeset
for help on using the changeset viewer.