Ignore:
Timestamp:
Feb 4, 2012, 6:21:22 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Serial Port: split single byte port and baud into two bytes, taking advantage of the two bytes in DPT_SERIAL, which supports more serial baud rates and in particular fixed a bug where a 4x client machine couldn't talk to a 115.2K server machine. This is a wide change, touching lots of files, but most are shallow changes. DetectPrint.asm took the most significant changes, now it calculates the baud rate to display instead of using characters provided by the Configurator. The Configurator now has a new menu flag, FLG_MENUITEM_CHOICESTRINGS, for specifying that values are not linear and they should be lookedup rather than indexed. Finally, another important bug fixed here is that in some error cases, the serial port code could get into an infinite loop waiting ont the hardware; now it has a timeout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

    r203 r233  
    135135g_szNfoIdeSerialCOM:    db  "Select a COM port by number.",NULL
    136136g_szNfoIdeSerialBaud:   db  "Select the COM port's Baud Rate. The server must match this speed. Note that UART clock multipliers may impact the actual speed.",NULL
    137 g_szNfoIdeSerialPort:   db  "Select a COM port by custom I/O port address. Address must be in the range 248h to 430h and be on an 8-byte boundary.", NULL
     137g_szNfoIdeSerialPort:   db  "Select a COM port by custom I/O port address. Any address is valud up to 3f8h, but must be on an 8-byte boundary.", NULL
    138138
    139139g_szHelpIdeCmdPort:     incbin  "IDE_CommandPort.txt"
     
    161161
    162162g_szSerialCOMChoice:
    163                         db  "COM1 - Port 3f8h",LF
    164                         db  "COM2 - Port 2f8h",LF
    165                         db  "COM3 - Port 3e8h",LF
    166                         db  "COM4 - Port 2e8h",LF
    167                         db  "COM5 - Port 2f0h",LF
    168                         db  "COM6 - Port 3e0h",LF
    169                         db  "COM7 - Port 2e0h",LF
    170                         db  "COM8 - Port 260h",LF
    171                         db  "COM9 - Port 368h",LF
    172                         db  "COMA - Port 268h",LF
    173                         db  "COMB - Port 360h",LF
    174                         db  "COMC - Port 270h",LF
    175                         db  "COMx - Custom Port",NULL
     163                        db  "COM1 - address 3f8h",LF
     164                        db  "COM2 - address 2f8h",LF
     165                        db  "COM3 - address 3e8h",LF
     166                        db  "COM4 - address 2e8h",LF
     167                        db  "COM5 - address 2f0h",LF
     168                        db  "COM6 - address 3e0h",LF
     169                        db  "COM7 - address 2e0h",LF
     170                        db  "COM8 - address 260h",LF
     171                        db  "COM9 - address 368h",LF
     172                        db  "COMA - address 268h",LF
     173                        db  "COMB - address 360h",LF
     174                        db  "COMC - address 270h",LF
     175                        db  "COMx - Custom address",NULL
    176176
    177177g_szValueCfgCOM1:       db      "COM1",NULL
     
    190190       
    191191g_szSerialBaudChoice:
    192                         db  "2400 baud",LF
     192                        db  "115.2K baud",LF
     193                        db  "57.6K baud",LF
     194                        db  "38.4K baud",LF
     195                        db  "28.8K baud",LF
     196                        db  "19.2K baud",LF
    193197                        db  "9600 baud",LF
    194                         db  "38.4K baud",LF
    195                         db  "115.2K baud",NULL
    196 
     198                        db  "4800 baud",LF     
     199                        db  "2400 baud",NULL
     200
     201g_szValueCfgBaud115_2:  db      "115.2K",NULL
     202g_szValueCfgBaud57_6:   db      "57.6K",NULL
     203g_szValueCfgBaud38_4:   db      "38.4K",NULL
     204g_szValueCfgBaud28_8:   db      "28.8K",NULL
     205g_szValueCfgBaud19_2:   db      "19.2K",NULL
     206g_szValueCfgBaud9600:   db      "9600",NULL
     207g_szValueCfgBaud4800:   db      "4800",NULL     
    197208g_szValueCfgBaud2400:   db      "2400",NULL
    198 g_szValueCfgBaud9600:   db      "9600",NULL
    199 g_szValueCfgBaud38_4:   db      "38.4K",NULL
    200 g_szValueCfgBaud115_2:  db      "115.2K",NULL
     209
    201210       
    202211g_szValueCfgDeviceDual8b:   db  "XTIDE",NULL
     
    363372
    364373g_szDashForZero:        db      "- ",NULL
     374
     375g_szValueUnknownError:  db  "Error!",NULL
     376
     377
     378
Note: See TracChangeset for help on using the changeset viewer.