Changeset 294 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device
- Timestamp:
- Mar 4, 2012, 1:35:10 AM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/Device.asm
r268 r294 6 6 7 7 8 %macro TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE 18 %macro TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE 1 9 9 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE 10 10 jnz SHORT %1 … … 42 42 CMP_USING_IDEVARS_IN_CSBP_AND_JUMP_IF DEVICE_SERIAL_PORT, .FinalizeDptForSerialPortDevice 43 43 jmp IdeDPT_Finalize 44 .FinalizeDptForSerialPortDevice: 44 .FinalizeDptForSerialPortDevice: 45 45 jmp SerialDPT_Finalize 46 46 … … 63 63 %ifdef MODULE_SERIAL ; IDE + JR-IDE/ISA + Serial 64 64 Device_ResetMasterAndSlaveController: 65 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort65 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort 66 66 CMP_USING_DPT_AND_JUMP_IF_JRIDE_DEVICE .ResetJrIDE 67 67 jmp IdeCommand_ResetMasterAndSlaveController … … 75 75 %elifdef MODULE_SERIAL ; IDE + Serial 76 76 Device_ResetMasterAndSlaveController: 77 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort77 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort 78 78 jmp IdeCommand_ResetMasterAndSlaveController 79 79 … … 152 152 %ifdef MODULE_SERIAL ; IDE + JR-IDE/ISA + Serial 153 153 Device_OutputCommandWithParameters: 154 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE .OutputCommandToSerialPort154 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE .OutputCommandToSerialPort 155 155 CMP_USING_DPT_AND_JUMP_IF_JRIDE_DEVICE .OutputCommandToJrIDE 156 156 jmp IdeCommand_OutputWithParameters … … 164 164 %elifdef MODULE_SERIAL ; IDE + Serial 165 165 Device_OutputCommandWithParameters: 166 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE .OutputCommandToSerialPort166 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE .OutputCommandToSerialPort 167 167 jmp IdeCommand_OutputWithParameters 168 168 … … 198 198 %ifdef MODULE_SERIAL ; IDE + JR-IDE/ISA + Serial 199 199 Device_SelectDrive: 200 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort200 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort 201 201 CMP_USING_DPT_AND_JUMP_IF_JRIDE_DEVICE .SelectJrIdeDrive 202 202 jmp IdeCommand_SelectDrive … … 210 210 %elifdef MODULE_SERIAL ; IDE + Serial 211 211 Device_SelectDrive: 212 TEST_USI GN_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort212 TEST_USING_DPT_AND_JUMP_IF_SERIAL_DEVICE ReturnSuccessForSerialPort 213 213 jmp IdeCommand_SelectDrive 214 214 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r285 r294 130 130 ; Output Sector Address High (only used by LBA48) 131 131 %ifdef MODULE_EBIOS 132 eMOVZX ax, BYTE [bp+IDEPACK.bLbaLowExt]; Zero sector count132 eMOVZX ax, [bp+IDEPACK.bLbaLowExt] ; Zero sector count 133 133 mov cx, [bp+IDEPACK.wLbaMiddleAndHighExt] 134 134 call IDEDEVICE%+OutputSectorCountAndAddress -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeError.asm
r267 r294 23 23 24 24 %ifndef ASSEMBLE_SHARED_IDE_DEVICE_FUNCTIONS ; JR-IDE/ISA 25 jmp ContinueFromMemIdeError 25 jmp ContinueFromMemIdeError ; What's this supposed to do? *FIXME* 26 26 %else 27 27 ContinueFromMemIdeError: -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r251 r294 54 54 ; AH: BIOS Error code 55 55 ; CX: Number of successfully transferred sectors 56 ; CF: 0 if transfer succes full56 ; CF: 0 if transfer successful 57 57 ; 1 if any error 58 58 ; Corrupts registers: … … 121 121 ; AH: BIOS Error code 122 122 ; CX: Number of successfully transferred sectors 123 ; CF: 0 if transfer succes full123 ; CF: 0 if transfer successful 124 124 ; 1 if any error 125 125 ; Corrupts registers: -
trunk/XTIDE_Universal_BIOS/Src/Device/MemoryMappedIDE/MemIdeTransfer.asm
r267 r294 64 64 ; AH: BIOS Error code 65 65 ; CX: Number of successfully transferred sectors 66 ; CF: 0 if transfer succes full66 ; CF: 0 if transfer successful 67 67 ; 1 if any error 68 68 ; Corrupts registers: … … 125 125 ; AH: BIOS Error code 126 126 ; CX: Number of successfully transferred sectors 127 ; CF: 0 if transfer succes full127 ; CF: 0 if transfer successful 128 128 ; 1 if any error 129 129 ; Corrupts registers:
Note:
See TracChangeset
for help on using the changeset viewer.