Changeset 280 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Feb 28, 2012, 5:48:29 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.