Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
r589 r592 28 28 ; Number of times to retry booting before accepting error 29 29 BOOT_READ_RETRY_TIMES EQU 3 30 31 32 30 33 31 ; Pre-boot variables. These do not exist after successful boot to OS. … … 69 67 %endif ; MODULE_HOTKEYS 70 68 69 ; MAX_HARD_DISK_NAME_LENGTH must be defined ahead of the DRVDETECTINFO structure to avoid problems with NASM 70 MAX_HARD_DISK_NAME_LENGTH EQU 30 ; Bytes reserved for drive name 71 71 72 struc DRVDETECTINFO 72 73 .StartOfDrvDetectInfo: … … 79 80 endstruc 80 81 81 ; Boot Menu Information Table. These are generated for all XTIDE Universal82 ; BIOS drives. Available only until boot is successful.83 MAX_HARD_DISK_NAME_LENGTH EQU 30 ; Bytes reserved for drive name84 82 DPT_DRVDETECTINFO_SIZE_MULTIPLIER EQU DRVDETECTINFO_size / LARGEST_DPT_SIZE 85 83 86 87 84 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 88 89 85 %if MAX_HARD_DISK_NAME_LENGTH % 2 <> 0 90 86 %error "MAX_HARD_DISK_NAME_LENGTH needs to be a multiple of 2, memory is moved with word operations." 91 87 %endif 92 93 %if DRVDETECTINFO_size % LARGEST_DPT_SIZE <> 094 %error "DRVDETECTINFO's size must be an even multiple of DPT's size. Add or remove padding at the bottom of DRVDETECTINFO to bring the two sizes into alignment. As DRVDETECTINFO is only used at boot time, with plenty of memory to consume, it is OK to waste some space here."95 %endif96 97 %if DRVDETECTINFO.szDrvName <> 098 %error "DRVDETECTINFO.szDrvName is assumed to be the first member of struc DRVDETECTINFO, in BootMenuPrint_RefreshItem"99 %endif100 101 88 %endif 102 89 -
trunk/XTIDE_Universal_BIOS/Inc/IdeIO.inc
r589 r592 57 57 %ifndef MODULE_8BIT_IDE ; Standard IDE controllers only 58 58 59 eMOVZX bx, [di+DPT.bIdevarsOffset] 59 60 %ifnidni %1, dx 60 61 mov dx, %1 61 62 %endif 62 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset]63 63 add dx, [cs:bx+IDEVARS.wControlBlockPort] 64 64 out dx, al -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r589 r592 35 35 .wDisplayMode resb 2 ; Display mode for boot menu 36 36 .wBootTimeout resb 2 ; Boot Menu selection timeout in system timer ticks 37 .pColorTheme resb 2 ; Ptr to the color attribute struc used by the boot menu and hotkey bar 37 38 .bIdeCnt resb 1 ; Number of available IDE controllers 38 39 .bBootDrv resb 1 ; Default drive to boot from … … 182 183 endstruc 183 184 184 ; Bit defines for DRVPARAMS.wFlags 185 ; Bit defines for DRVPARAMS.wFlags - these flags are accessed as bytes so changes here might require changes elsewhere 185 186 MASK_DRVPARAMS_WRITECACHE EQU (3<<0) ; Bits 0...1, Drive internal write cache settings (must start at bit 0) 186 187 DEFAULT_WRITE_CACHE EQU 0 ; Must be 0 -
trunk/XTIDE_Universal_BIOS/Inc/Version.inc
r584 r592 20 20 21 21 ; Flash signature revisions: 22 ; XTIDE206 Added support for Color Themes 22 23 ; XTIDE205 Added DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD after other XT-CF 23 24 ; PIO modes (prevents empty indexes in PIO jump tables) … … 48 49 %define TITLE_STRING TITLE_STRING_START, TITLE_STRING_END 49 50 %define ROM_VERSION_STRING "v2.0.0",BETA,"3+ (",__DATE__,")",NULL 50 %define FLASH_SIGNATURE "XTIDE20 5" ; Do not terminate with NULL51 %define FLASH_SIGNATURE "XTIDE206" ; Do not terminate with NULL 51 52 52 53
Note:
See TracChangeset
for help on using the changeset viewer.