Changeset 280 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Timestamp:
- Feb 28, 2012, 5:48:29 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS_Configurator_v2/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Main.asm
r153 r280 3 3 4 4 ; Include .inc files 5 5 6 %define INCLUDE_MENU_DIALOGS 7 %define INCLUDE_SERIAL_LIBRARY 8 6 9 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 7 10 %include "Romvars.inc" ; XTIDE Universal BIOS variables -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r242 r280 216 216 dw NULL 217 217 218 DEVICE_SERIAL_DEFAULT_CUSTOM_PORT EQU 300h ; can't be any of the pre-defined COM values218 SERIAL_DEFAULT_CUSTOM_PORT EQU 300h ; can't be any of the pre-defined COM values 219 219 220 220 PackedCOMPortAddresses: ; COM1 - COMC (or COM12) 221 db DEVICE_SERIAL_COM1>> 2222 db DEVICE_SERIAL_COM2>> 2223 db DEVICE_SERIAL_COM3>> 2224 db DEVICE_SERIAL_COM4>> 2225 db DEVICE_SERIAL_COM5>> 2226 db DEVICE_SERIAL_COM6>> 2227 db DEVICE_SERIAL_COM7>> 2228 db DEVICE_SERIAL_COM8>> 2229 db DEVICE_SERIAL_COM9>> 2230 db DEVICE_SERIAL_COMA>> 2231 db DEVICE_SERIAL_COMB>> 2232 db DEVICE_SERIAL_COMC>> 2233 db DEVICE_SERIAL_DEFAULT_CUSTOM_PORT >> 2 ; must be last entry (see reader/writer routines)234 DEVICE_SERIAL_DEFAULT_COM EQU '1'221 db SERIAL_COM1_IOADDRESS >> 2 222 db SERIAL_COM2_IOADDRESS >> 2 223 db SERIAL_COM3_IOADDRESS >> 2 224 db SERIAL_COM4_IOADDRESS >> 2 225 db SERIAL_COM5_IOADDRESS >> 2 226 db SERIAL_COM6_IOADDRESS >> 2 227 db SERIAL_COM7_IOADDRESS >> 2 228 db SERIAL_COM8_IOADDRESS >> 2 229 db SERIAL_COM9_IOADDRESS >> 2 230 db SERIAL_COMA_IOADDRESS >> 2 231 db SERIAL_COMB_IOADDRESS >> 2 232 db SERIAL_COMC_IOADDRESS >> 2 233 db SERIAL_DEFAULT_CUSTOM_PORT >> 2 ; must be last entry (see reader/writer routines) 234 SERIAL_DEFAULT_COM EQU '1' 235 235 236 236 g_rgbChoiceToValueLookupForBaud: … … 253 253 dw g_szValueCfgBaud2400 254 254 dw NULL 255 DEVICE_SERIAL_DEFAULT_BAUD EQU ((115200 / 9600) & 0xff)255 SERIAL_DEFAULT_BAUD EQU ((115200 / 9600) & 0xff) 256 256 257 257 ; Section containing code … … 519 519 jz .done ; if we were already serial, nothing to do 520 520 521 mov byte [es:di+IDEVARS.bSerialBaud-IDEVARS.wPort], DEVICE_SERIAL_DEFAULT_BAUD522 523 mov al, DEVICE_SERIAL_DEFAULT_COM521 mov byte [es:di+IDEVARS.bSerialBaud-IDEVARS.wPort],SERIAL_DEFAULT_BAUD 522 523 mov al,SERIAL_DEFAULT_COM 524 524 add di,IDEVARS.bSerialCOMPortChar-IDEVARS.wPort 525 525 call IdeControllerMenu_SerialWriteCOM … … 549 549 mov ah,[bx] 550 550 551 cmp ah,( DEVICE_SERIAL_DEFAULT_CUSTOM_PORT >> 2)551 cmp ah,(SERIAL_DEFAULT_CUSTOM_PORT >> 2) 552 552 jz .notFound 553 553 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm
r258 r280 7 7 ; Menu title 8 8 g_szProgramTitle: 9 db "Configuration and Flashing program for XTIDE Universal BIOS v 1.2.0.",LF,CR,NULL9 db "Configuration and Flashing program for XTIDE Universal BIOS v2.0.0.",LF,CR,NULL 10 10 g_szXtideUniversalBiosSignature: db "XTIDE120",NULL 11 11 g_szBiosIsNotLoaded: db "BIOS is not loaded!",NULL
Note:
See TracChangeset
for help on using the changeset viewer.