|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 637 (0x27d)
Types: TextFile
Notes: R1k Text-file segment
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦b6d1bcc00⟧
└─⟦this⟧
;
;PPI memory mapped to CPU
;
OPTIONS CONVERT
ROM EQU 2000H
STACK EQU 4500H
PPI EQU 3018H
PortA EQU PPI
PortB EQU PPI+1
PortC EQU PPI+2
Ctrl EQU PPI+3
Mode EQU 10011000B
Inta EQU 0DH
Fin EQU 10H
ORG ROM
LD SP,Stack
LD A,Mode
LD (Ctrl),A ;set up PPI
LD A,1
LD (PortC),A ;set Pc0
LD A,0
LD (PortC),A ;reset Pc0
read: LD A,(PortC)
RLA ;test if Pc7 set
JP C,read
LD A,(PortA)
END