Changeset 226 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device


Ignore:
Timestamp:
Jan 28, 2012, 3:08:47 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Moved .bSerialPortAndBaud out of the main DPT into a an attached struc DPT_SERIAL, used by the serial port code only

Location:
trunk/XTIDE_Universal_BIOS/Src/Device/Serial
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm

    r223 r226  
    9191        mov     [bp+IDEPACK.bFeatures],ah       ; store protocol command
    9292
    93         mov     dl, byte [di+DPT.bSerialPortAndBaud]
     93        mov     dl, byte [di+DPT_SERIAL.bSerialPortAndBaud]
    9494
    9595; fall-through
     
    113113        push    di
    114114        push    bp
    115         push    es
    116115
    117116;
     
    438437        pop     bp              ;  recover ax (command and count) from stack, throw away
    439438
    440         pop     es
    441439        pop     bp
    442440        pop     di
  • trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm

    r203 r226  
    1818        or      byte [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE
    1919        mov     al, [RAMVARS.xlateVars+XLATEVARS.bLastSerial]
    20         mov     byte [di+DPT.bSerialPortAndBaud], al
     20        mov     byte [di+DPT_SERIAL.bSerialPortAndBaud], al
    2121        ret
    2222
Note: See TracChangeset for help on using the changeset viewer.