Changeset 226 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS
- Timestamp:
- Jan 28, 2012, 3:08:47 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc
r200 r226 12 12 .bFlagsHigh resb 1 13 13 .bIdevarsOffset resb 1 ; Offset to IDEVARS for this drive 14 %ifdef MODULE_SERIAL 15 .bSerialPortAndBaud resb 1 ; Packed I/O port and baud rate for serial drives 16 %else 17 resb 1 ; without serial port support, alignment byte 18 %endif 14 resb 1 ; alignment byte 19 15 20 16 ; IDE Drive related … … 35 31 .bMaxBlock resb 1 ; Maximum block size, 0 = block mode not supported 36 32 endstruc 33 34 %ifdef MODULE_SERIAL 35 ; DPT for Serial devices 36 struc DPT_SERIAL 37 .dpt resb DPT_size 38 39 .bSerialPortAndBaud resb 1 ; Packed I/O port and baud rate for serial drives 40 resb 1 ; unused alignment 41 endstruc 42 %endif 37 43 38 44 LARGEST_DPT_SIZE EQU DPT_ATA_size -
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialCommand.asm
r223 r226 91 91 mov [bp+IDEPACK.bFeatures],ah ; store protocol command 92 92 93 mov dl, byte [di+DPT .bSerialPortAndBaud]93 mov dl, byte [di+DPT_SERIAL.bSerialPortAndBaud] 94 94 95 95 ; fall-through … … 113 113 push di 114 114 push bp 115 push es116 115 117 116 ; … … 438 437 pop bp ; recover ax (command and count) from stack, throw away 439 438 440 pop es441 439 pop bp 442 440 pop di -
trunk/XTIDE_Universal_BIOS/Src/Device/Serial/SerialDPT.asm
r203 r226 18 18 or byte [di+DPT.bFlagsHigh], FLGH_DPT_SERIAL_DEVICE 19 19 mov al, [RAMVARS.xlateVars+XLATEVARS.bLastSerial] 20 mov byte [di+DPT .bSerialPortAndBaud], al20 mov byte [di+DPT_SERIAL.bSerialPortAndBaud], al 21 21 ret 22 22
Note:
See TracChangeset
for help on using the changeset viewer.