Changeset 601 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Feb 14, 2019, 7:38:08 PM (6 years ago)
- Location:
- trunk/XTIDE_Universal_BIOS/Inc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/BootVars.inc
r600 r601 40 40 41 41 struc HOTKEYVARS 42 .fpPrevTimerHandler resb 4 ; Previous 1Ch timer hand er42 .fpPrevTimerHandler resb 4 ; Previous 1Ch timer handler 43 43 .wTimeWhenDisplayed resb 2 ; System time (ticks) when Hotkey bar was first displayed 44 44 .wFddAndHddLetters: … … 79 79 80 80 ; MAX_HARD_DISK_NAME_LENGTH must be defined ahead of the DRVDETECTINFO structure to avoid problems with NASM 81 MAX_HARD_DISK_NAME_LENGTH EQU 30 81 MAX_HARD_DISK_NAME_LENGTH EQU 30 ; Bytes reserved for drive name 82 82 83 83 struc DRVDETECTINFO -
trunk/XTIDE_Universal_BIOS/Inc/HotkeyBar.inc
r599 r601 23 23 MIN_TIME_TO_DISPLAY_HOTKEY_BAR EQU (4000/55) ; 4000 ms 24 24 25 ESC_SCANCODE EQU 1 ; ESC key 25 ESC_SCANCODE EQU 1 ; ESC key 26 26 FIRST_FUNCTION_KEY_SCANCODE EQU 3Bh ; F1 key 27 27 -
trunk/XTIDE_Universal_BIOS/Inc/IDE_8bit.inc
r589 r601 31 31 ; ES:DI: Ptr to destination buffer 32 32 ; Returns: 33 ; ES:DI: Incremented/decremented for next word33 ; DI: Incremented/Decremented for next word 34 34 ; Corrupts registers: 35 35 ; AL, FLAGS … … 61 61 ; DS:SI: Ptr to source buffer 62 62 ; Returns: 63 ; SI: Incremented/ decremented for next word63 ; SI: Incremented/Decremented for next word 64 64 ; Corrupts registers: 65 65 ; AX, FLAGS … … 92 92 ; DS:SI: Ptr to source buffer 93 93 ; Returns: 94 ; SI: Incremented/ decremented for next word94 ; SI: Incremented/Decremented for next word 95 95 ; Corrupts registers: 96 96 ; AX, FLAGS … … 115 115 116 116 117 ;-------------------------------------------------------------------- 118 ; Emulates INSW for modified XTIDE for use on Olivetti M24 and derivatives. 119 ; 120 ; XTIDE_MOD_OLIVETTI_INSW 121 ; Parameters: 122 ; DX: XTIDE Data Low Register address 123 ; ES:DI: Ptr to destination buffer 124 ; Returns: 125 ; DI: Incremented/Decremented for next word 126 ; Corrupts registers: 127 ; AL, FLAGS 128 ;-------------------------------------------------------------------- 129 %macro XTIDE_MOD_OLIVETTI_INSW 0 130 %ifdef USE_186 ; INS instruction available 131 insb ; Load low byte from port DX to [ES:DI] 132 inc dx ; IDE Data Reg to XTIDE Data High Reg 133 insb ; Load high byte from port DX to [ES:DI] 134 dec dx ; Restore to IDE Data Register 135 %else ; If 8088/8086 136 in al, dx ; Load low byte from port 137 inc dx ; IDE Data Reg to XTIDE Data High Reg 138 stosb ; Store byte to [ES:DI] 139 in al, dx ; Load high byte from port 140 dec dx ; Restore to IDE Data Register 141 stosb ; Store byte to [ES:DI] 142 %endif 143 %endmacro 144 145 117 146 %endif ; IDE_8BIT_INC -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r593 r601 111 111 ; IDE Devices are grouped so device numbers cannot be changed without modifying code elsewhere! 112 112 COUNT_OF_STANDARD_IDE_DEVICES EQU 2 ; 16- and 32-bit controllers 113 COUNT_OF_8BIT_IDE_DEVICES EQU 9113 COUNT_OF_8BIT_IDE_DEVICES EQU 10 114 114 COUNT_OF_ALL_IDE_DEVICES EQU (COUNT_OF_8BIT_IDE_DEVICES + COUNT_OF_STANDARD_IDE_DEVICES) 115 115 ; Standard port mapped I/O … … 119 119 DEVICE_8BIT_XTIDE_REV1 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+1)<<1) 120 120 ; Address lines A0 and A3 are swapped 121 DEVICE_8BIT_XTIDE_REV2 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+2)<<1) ; Or rev 1 with swapped A0 and A3 121 DEVICE_8BIT_XTIDE_REV2 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+2)<<1) ; Or rev 1 with swapped A0 and A3... 122 DEVICE_8BIT_XTIDE_REV2_OLIVETTI EQU ((COUNT_OF_STANDARD_IDE_DEVICES+3)<<1) ; ...in Olivetti M24 and derivatives 122 123 ; IDE Register offsets are SHL 1 123 DEVICE_8BIT_XTCF_PIO8 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 3)<<1) ; XT-CF using 8-bit PIO mode124 DEVICE_8BIT_XTCF_PIO8_WITH_BIU_OFFLOAD EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 4)<<1) ; XT-CF using 8-bit PIO mode, but with 16-bit instructions125 DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 5)<<1) ; Lo-tech 8-bit IDE Adapter126 DEVICE_8BIT_XTCF_DMA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 6)<<1) ; XT-CFv3 using DMA124 DEVICE_8BIT_XTCF_PIO8 EQU ((COUNT_OF_STANDARD_IDE_DEVICES+4)<<1) ; XT-CF using 8-bit PIO mode 125 DEVICE_8BIT_XTCF_PIO8_WITH_BIU_OFFLOAD EQU ((COUNT_OF_STANDARD_IDE_DEVICES+5)<<1) ; XT-CF using 8-bit PIO mode, but with 16-bit instructions 126 DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD EQU ((COUNT_OF_STANDARD_IDE_DEVICES+6)<<1) ; Lo-tech 8-bit IDE Adapter 127 DEVICE_8BIT_XTCF_DMA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+7)<<1) ; XT-CFv3 using DMA 127 128 ; Memory Mapped I/O 128 DEVICE_8BIT_JRIDE_ISA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 7)<<1) ; JR-IDE/ISA (Memory Mapped I/O)129 DEVICE_8BIT_ADP50L EQU ((COUNT_OF_STANDARD_IDE_DEVICES+ 8)<<1) ; SVC ADP50L (Memory Mapped I/O)129 DEVICE_8BIT_JRIDE_ISA EQU ((COUNT_OF_STANDARD_IDE_DEVICES+8)<<1) ; JR-IDE/ISA (Memory Mapped I/O) 130 DEVICE_8BIT_ADP50L EQU ((COUNT_OF_STANDARD_IDE_DEVICES+9)<<1) ; SVC ADP50L (Memory Mapped I/O) 130 131 ; Virtual devices 131 132 DEVICE_SERIAL_PORT EQU (COUNT_OF_ALL_IDE_DEVICES<<1) -
trunk/XTIDE_Universal_BIOS/Inc/Version.inc
r592 r601 20 20 21 21 ; Flash signature revisions: 22 ; XTIDE207 Added device type DEVICE_8BIT_XTIDE_REV2_OLIVETTI 22 23 ; XTIDE206 Added support for Color Themes 23 24 ; XTIDE205 Added DEVICE_8BIT_XTCF_PIO16_WITH_BIU_OFFLOAD after other XT-CF … … 49 50 %define TITLE_STRING TITLE_STRING_START, TITLE_STRING_END 50 51 %define ROM_VERSION_STRING "v2.0.0",BETA,"3+ (",__DATE__,")",NULL 51 %define FLASH_SIGNATURE "XTIDE20 6" ; Do not terminate with NULL52 %define FLASH_SIGNATURE "XTIDE207" ; Do not terminate with NULL 52 53 53 54
Note:
See TracChangeset
for help on using the changeset viewer.