Changeset 203 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Nov 23, 2011, 8:42:19 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
r179 r203 13 13 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa 14 14 .bXlatedDrv resb 1 ; Drive number after translation 15 resb 1 ; For WORD alignment 15 %ifdef MODULE_SERIAL 16 .bLastSerial resb 1 ; Packed Port and Baud for last serial drive detected 17 ; (using space of an alignment byte, 18 ; used during and after boot (int13/25h case)) 19 %else 20 resb 1 ; alignment 21 %endif 16 22 endstruc 17 23 -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r200 r203 100 100 ; baud rate = b, where 00 = 2400, 01 = 9600, 10 = 38.4K, 11 = 115.2K 101 101 ; 102 ; 240h/2400baud corresponds to 0 for a PackedPortAndBaud value, which is reserved (in case we need 103 ; it to know if a value has been set). Which is why ..._MINPORT is 248h. 102 ; 240h/2400baud corresponds to 0 for a PackedPortAndBaud value, which triggers auto detect code. 103 ; Which means 240h is not usable, and is why ..._MINPORT is 248h. A value is reserved at the upper 104 ; end of the spectrum in case it is needed (whcih is why it is 430h instead of 438h). 104 105 ; 105 106 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK EQU 0fch … … 107 108 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORT_FIELD_POSITION EQU 2 108 109 DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT EQU 240h 109 DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT EQU 248h 110 DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT EQU 43 8h ; or (..._PORTMASK<< 1) + ..._STARTINGPORT110 DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT EQU 248h ; minimum port value that the user can set 111 DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT EQU 430h ; or ((..._PORTMASK-1) << 1) + ..._STARTINGPORT 111 112 112 113 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK EQU 3h
Note:
See TracChangeset
for help on using the changeset viewer.