This commit is contained in:
Tolik committed 2026-01-27 21:28:01 +10:00
1 parent 5a2e8b02b3
commit 4709a77da0
3 files changed
+121 -62

No files matched your search

+38
View File
@@ -560,7 +560,45 @@ Port_All_Mode EQU #204E
; bit5 -
; bit6 -
; bit7 -
////////////////////////////////////////////////////////////////////////
;ISA-8
;
;Interaction with ISA devices:
;1) send 10h value to port 1FFDh(system port);
;2) send control byte to port 0E2h(third memory window port);
;control byte:
;D7...should be 1
;D6...should be 1
;D5...should be 0
;D4...should be 1
;D3...should be 0
;D2...specify access mode (0 - ISA memory, 1 - ISA ports)
;D1...specify number of ISA slot
;D0...should be 0
;
;fixed bug with D2 and D1 bits (functional exchange, but not documented)
;
;The r/w signals are forming from r/w signals memory range #C000h-#FFFF.
;And the address lines A13...A0 has taken from processor data-BUS.
;The other ISA-signals such as RESET, AEN, A19...A14 can be set in port
; #9FBDh. And default value is 0.
;port 9FBDh:
;D7...RESET, 1=reset, 0=normal
;D6...AEN, 1=
;D5...A19
;D4...A18
;D3...A17
;D2...A16
;D1...A15
;D0...A14
PORT_ISA EQU #9FBD
SLOT3_ISA: EQU SLOT3
.IRQ0_RAM EQU #D0
.IRQ0_IO EQU #D4
.IRQ1_RAM EQU #D2
.IRQ1_IO EQU #D6
////////////////////////////////////////////////////////////////////////
Port_VSYNC EQU #BD ; #41 - 320Lines/49Hz, #61 - 312Lines/50Hz
.SET_320L EQU #41