Changeset 200 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Nov 22, 2011, 8:38:36 AM (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/CustomDPT.inc
r193 r200 65 65 ADDRESSING_MODE_LBA48 EQU 3 ; 48-bit LBA Addressing Mode 66 66 67 %macro CustomDPT_GetUnshiftedAddressModeToALZF 068 mov al, [di+DPT.bFlagsLow]69 and al, MASKL_DPT_ADDRESSING_MODE70 %endmacro71 72 67 ; Number of Sectors per Track is fixed to 63 for LBA assist calculation. 73 68 ; 1024 cylinders, 256 heads, 63 sectors = 8.4 GB limit (but DOS does not support more than 255 heads) -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r199 r200 100 100 ; baud rate = b, where 00 = 2400, 01 = 9600, 10 = 38.4K, 11 = 115.2K 101 101 ; 102 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK EQU 0fch 103 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTBITS EQU 03fh 104 DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT EQU 240h 105 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK EQU 3h 106 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDBITS EQU 3h 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. 104 ; 105 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTMASK EQU 0fch 106 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORTBITS EQU 03fh 107 DEVICE_SERIAL_PACKEDPORTANDBAUD_PORT_FIELD_POSITION EQU 2 108 DEVICE_SERIAL_PACKEDPORTANDBAUD_STARTINGPORT EQU 240h 109 DEVICE_SERIAL_PACKEDPORTANDBAUD_MINPORT EQU 248h ; minimum port value that the user can set 110 DEVICE_SERIAL_PACKEDPORTANDBAUD_MAXPORT EQU 438h ; or (..._PORTMASK << 1) + ..._STARTINGPORT 111 112 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDMASK EQU 3h 113 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUDBITS EQU 3h 114 DEVICE_SERIAL_PACKEDPORTANDBAUD_BAUD_FIELD_POSITION EQU 0 107 115 108 116 ; Defines for IDEVARS.wSerialPrintBaud
Note:
See TracChangeset
for help on using the changeset viewer.