Changeset 365 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Mar 27, 2012, 5:01:57 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootMenu.inc
r364 r365 32 32 %else 33 33 resb 2 ; padding to make BOOTMENUINFO size an even multiple of DPT size 34 %endif 35 36 34 %endif 37 35 endstruc 38 36 39 ; Flags for BOOTMENUINFO.wInitErrorFlags40 FLG_INIT_FAILED_TO_SELECT_DRIVE EQU (1<<0)41 FLG_INIT_FAILED_TO_INITIALIZE_CHS_PARAMETERS EQU (1<<1)42 FLG_INIT_FAILED_TO_SET_WRITE_CACHE EQU (1<<2)43 FLG_INIT_FAILED_TO_RECALIBRATE_DRIVE EQU (1<<3)44 FLG_INIT_FAILED_TO_SET_BLOCK_MODE EQU (1<<4)45 FLG_INIT_FAILED_TO_SET_PIO_MODE EQU (1<<5)46 37 47 38 DPT_BOOTMENUINFO_SIZE_MULTIPLIER equ BOOTMENUINFO_size / LARGEST_DPT_SIZE -
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r364 r365 40 40 41 41 ; IDE device only 42 FLGH_DPT_INITERROR EQU (1<<7)43 42 %ifdef MODULE_ADVANCED_ATA 44 FLGH_DPT_IORDY EQU (1<< 6) ; Controller and Drive supports IORDY43 FLGH_DPT_IORDY EQU (1<<7) ; Controller and Drive supports IORDY 45 44 %endif 46 45 … … 61 60 struc DPT_ATA ; 10 + 2 bytes = 12 bytes 62 61 .dpt resb DPT_size 62 .bBlockSize resb 1 ; Current block size in sectors (do not set to zero!) 63 .bInitError resb 1 64 endstruc 63 65 64 ; Block size is specified in sectors (1, 2, 4, 8, 16, 32, 64 or 128) 65 .wSetAndMaxBlock: 66 .bSetBlock resb 1 ; Current block size (do not set to zero!) 67 .bMaxBlock resb 1 ; Maximum block size, 0 = block mode not supported 68 endstruc 66 ; Flags for BOOTMENUINFO.wInitErrorFlags 67 FLG_INITERROR_FAILED_TO_SELECT_DRIVE EQU (1<<0) 68 FLG_INITERROR_FAILED_TO_INITIALIZE_CHS_PARAMETERS EQU (1<<1) 69 FLG_INITERROR_FAILED_TO_SET_WRITE_CACHE EQU (1<<2) 70 FLG_INITERROR_FAILED_TO_RECALIBRATE_DRIVE EQU (1<<3) 71 FLG_INITERROR_FAILED_TO_SET_BLOCK_MODE EQU (1<<4) 72 FLG_INITERROR_FAILED_TO_SET_PIO_MODE EQU (1<<5) 69 73 70 74 -
trunk/XTIDE_Universal_BIOS/Inc/IdeRegisters.inc
r363 r365 64 64 65 65 ; Commands for IDE Controller 66 COMMAND_RECALIBRATE EQU 10h 66 67 COMMAND_READ_SECTORS EQU 20h 67 68 COMMAND_READ_SECTORS_EXT EQU 24h ; LBA48
Note:
See TracChangeset
for help on using the changeset viewer.