Changeset 414 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- May 3, 2012, 12:56:04 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/DeviceIDE.inc
r410 r414 22 22 23 23 ; Reset delays 24 HSR0_RESET_WAIT_US EQU 5 ; Delay at least 5us25 HSR1_RESET_WAIT_US EQU 2 000 ; Delay at least 2ms24 HSR0_RESET_WAIT_US EQU 6 ; Delay must be at least 5 us 25 HSR1_RESET_WAIT_US EQU 2100 ; Delay must be at least 2 ms 26 26 27 27 ; Polling timeout delays (system timer ticks, 1 tick = 54.9 ms) … … 34 34 TIMEOUT_DRDY EQU TIMEOUT_MOTOR_STARTUP 35 35 %else 36 TIMEOUT_BSY EQU (2 500/55) ; 2500 ms37 TIMEOUT_DRDY EQU (2 500/55) ; 2500 ms36 TIMEOUT_BSY EQU (2600/55) ; 2600 ms 37 TIMEOUT_DRDY EQU (2600/55) ; 2600 ms 38 38 %endif 39 39 -
trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
r413 r414 26 26 %endif 27 27 28 29 ; Variables for translating drive numbers.30 struc XLATEVARS31 %ifdef MODULE_SERIAL_FLOPPY32 .bFlopCreateCnt:33 .bFlopCntAndFirst resb 1 ; Normally, packed starting floppy drive number (high order 7 bits)34 ; and number of drives (low order bit, max 2 drives supported).35 ; During initialization, until the end of DetectDrives_FromAllIDEControllers,36 ; this byte contains the raw number of floppy drives seen (using .bFlopCreateCnt)37 %else38 resb 1 ; alignment39 %endif40 .bXlatedDrv resb 1 ; Drive number after translation41 .wFDandHDswap:42 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa43 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa44 endstruc45 46 28 ; RAM Variables. 47 29 ; Variables should be kept to minimum since they might be located … … 60 42 61 43 ; Variables for drive number translation 62 .xlateVars resb XLATEVARS_size 44 %ifdef MODULE_HOTKEYS 45 .xlateVars resb XLATEVARS_size 46 %endif 63 47 endstruc 48 49 50 ; Variables for translating drive numbers. 51 %ifdef MODULE_HOTKEYS 52 struc XLATEVARS 53 %ifdef MODULE_SERIAL_FLOPPY 54 .bFlopCreateCnt: 55 .bFlopCntAndFirst resb 1 ; Normally, packed starting floppy drive number (high order 7 bits) 56 ; and number of drives (low order bit, max 2 drives supported). 57 ; During initialization, until the end of DetectDrives_FromAllIDEControllers, 58 ; this byte contains the raw number of floppy drives seen (using .bFlopCreateCnt) 59 %else 60 resb 1 ; alignment 61 %endif 62 .bXlatedDrv resb 1 ; Drive number after translation 63 .wFDandHDswap: 64 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa 65 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa 66 endstruc 67 %endif 68 64 69 65 70 %ifdef MODULE_SERIAL_FLOPPY … … 77 82 ; wire for MODULE_SERIAL, please do not change the order or insert other members. 78 83 ; 79 struc IDEPACK 84 struc IDEPACK ; PIOVARS and MEMPIOVARS overwrite the first 7 bytes 80 85 .bFeatures resb 1 81 86 .bDrvAndHead resb 1 ; LBA28 27...24 … … 92 97 93 98 .bCommand resb 1 94 .bDeviceControl resb 1 ; Offset 7 shared with PIOVARS 95 resb 1 99 .bDeviceControl resb 1 ; Offset 7 shared with PIOVARS and MEMPIOVARS 100 resb 1 ; Used by PIOVARS and MEMPIOVARS 96 101 97 102 %ifdef MODULE_EBIOS … … 102 107 .bLbaHighExt resb 1 ; LBA48 47...40 103 108 %endif 109 104 110 .intpack resb INTPACK_size 105 111 endstruc
Note:
See TracChangeset
for help on using the changeset viewer.