Changeset 592 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Main.asm
- Timestamp:
- Jun 25, 2018, 10:29:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r589 r592 32 32 33 33 ; We must define included libraries before including "AssemblyLibrary.inc". 34 %define EXCLUDE_FROM_X TIDE_UNIVERSAL_BIOS; Exclude unused library functions34 %define EXCLUDE_FROM_XUB ; Exclude unused library functions 35 35 %ifdef MODULE_BOOT_MENU 36 36 %define MENUEVENT_INLINE_OFFSETS ; Only one menu required, save space and inline offsets … … 81 81 %ifdef MODULE_BOOT_MENU 82 82 at ROMVARS.wBootTimeout, dw BOOT_MENU_DEFAULT_TIMEOUT 83 at ROMVARS.pColorTheme, dw ColorTheme ; Offset to the ATTRIBUTE_CHARS struc that holds the color theme 83 84 %endif 84 85 at ROMVARS.bIdeCnt, db 2 ; Number of supported controllers … … 105 106 at ROMVARS.ideVars2+IDEVARS.wControlBlockPort, dw DEVICE_ATA_TERTIARY_PORTCTRL 106 107 at ROMVARS.ideVars2+IDEVARS.bDevice, db DEVICE_16BIT_ATA 107 at ROMVARS.ideVars2+IDEVARS.bIRQ, db 0 108 at ROMVARS.ideVars2+IDEVARS.bIRQ, db 0 ; Should be 11 on the GSI Inc. Model 2C 108 109 at ROMVARS.ideVars2+IDEVARS.drvParamsMaster+DRVPARAMS.wFlags, dw DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) 109 110 at ROMVARS.ideVars2+IDEVARS.drvParamsSlave+DRVPARAMS.wFlags, dw DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) … … 112 113 at ROMVARS.ideVars3+IDEVARS.wControlBlockPort, dw DEVICE_ATA_QUATERNARY_PORTCTRL 113 114 at ROMVARS.ideVars3+IDEVARS.bDevice, db DEVICE_16BIT_ATA 114 at ROMVARS.ideVars3+IDEVARS.bIRQ, db 0 115 at ROMVARS.ideVars3+IDEVARS.bIRQ, db 0 ; Should be 10 on the GSI Inc. Model 2C 115 116 at ROMVARS.ideVars3+IDEVARS.drvParamsMaster+DRVPARAMS.wFlags, dw DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) 116 117 at ROMVARS.ideVars3+IDEVARS.drvParamsSlave+DRVPARAMS.wFlags, dw DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) … … 127 128 %ifdef MODULE_BOOT_MENU 128 129 at ROMVARS.wBootTimeout, dw BOOT_MENU_DEFAULT_TIMEOUT 130 at ROMVARS.pColorTheme, dw ColorTheme ; Offset to the ATTRIBUTE_CHARS struc that holds the color theme 129 131 %endif 130 132 at ROMVARS.bIdeCnt, db 1 … … 301 303 302 304 305 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 303 306 ; Although it's very unlikely to happen, we give warnings for builds that cannot be automatically checksummed due to the size being too large. 304 307 ; In some cases it's theoretically possible to checksum the build anyway (manually) which is why these are warnings and not errors. … … 309 312 %endif 310 313 %endif 311 %elif ($-$$) = BIOS_SIZE ; A large build.314 %elif ($-$$) = BIOS_SIZE ; A large or tiny build. 312 315 %warning "This build is too large to be auto-checksummed!" 313 316 %endif 317 %endif
Note:
See TracChangeset
for help on using the changeset viewer.