Changeset 542 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Apr 15, 2013, 4:03:33 PM (12 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/CustomDPT.inc
r540 r542 37 37 .bLchsHeads resb 1 ; (1...255) 38 38 .bLchsSectorsPerTrack resb 1 ; (1...63) 39 .wPchsHeadsAndSectors: 39 40 .bPchsHeads resb 1 ; (1...16) 41 .bPchsSectorsPerTrack resb 1 ; (1...63) 40 42 41 43 ; LBA and remaining P-CHS variables 42 44 %ifdef MODULE_EBIOS 43 .bPchsSectorsPerTrack resb 144 45 .wPchsCylinders resb 2 45 46 .twLbaSectors resb 6 ; 48-bit sector count for LBA addressing … … 56 57 FLGL_DPT_ENABLE_IRQ EQU (1<<5) ; Bit 5, Enable IRQ 57 58 %endif 59 FLGL_DPT_LBA EQU FLG_DRVNHEAD_LBA ; Bit 6, Drive supports LBA and so EBIOS functions can be supported 58 60 %ifdef MODULE_EBIOS 59 FLGL_DPT_LBA_AND_EBIOS_SUPPORTED EQU FLG_DRVNHEAD_LBA ; Bit 6, Drive supports LBA and so EBIOS functions can be supported60 61 FLGL_DPT_LBA48 EQU (1<<7) ; Bit 7, Drive supports 48-bit LBA (Must be bit 7!) 61 62 %endif -
trunk/XTIDE_Universal_BIOS/Inc/EBIOS.inc
r541 r542 44 44 endstruc 45 45 46 MINIMUM_EDRIVEINFO_SIZE EQU 26 ; 26 bytes does not include EDD pointer 47 EDRIVEINFO_SIZE_WITH_DPTE EQU EDRIVE_INFO_size 46 MINIMUM_EDRIVEINFO_SIZE EQU 26 ; 26 bytes does not include EDD pointer 47 EDRIVEINFO_SIZE_WITH_DPTE EQU EDRIVE_INFO_size 48 MAX_SECTOR_COUNT_TO_RETURN_PCHS EQU 15482880 48 49 49 50 ; Flags for EDRIVE_INFO.wFlags -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r536 r542 194 194 MAX_USER_HEADS EQU 16 195 195 MAX_USER_SECTORS_PER_TRACK EQU 63 196 MAX_USER_CHS_COUNT EQU (MAX_USER_CYLINDERS * MAX_USER_HEADS * MAX_USER_SECTORS_PER_TRACK) 196 197 FLG_DRVPARAMS_USERLBA EQU (1<<6) ; User specified LBA value 197 MIN_USER_LBA_COUNT EQU ( (MAX_USER_CYLINDERS*MAX_USER_HEADS*MAX_USER_SECTORS_PER_TRACK)+1)198 MIN_USER_LBA_COUNT EQU (MAX_USER_CHS_COUNT+1) 198 199 MAX_USER_LBA_COUNT EQU ((2^28)-1) 199 200
Note:
See TracChangeset
for help on using the changeset viewer.