DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦a66daaec2⟧ TextFile

    Length: 677 (0x2a5)
    Types: TextFile
    Notes: R1k Text-file segment

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦2d3e72f2f⟧ 
            └─⟦this⟧ 

TextFile

;
;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     10001000B 
Inta    EQU     0DH
Fin     EQU     10H

	ORG	ROM
        LD      SP,Stack
        LD      B,5
        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,B
        LD      (PortA),A
        

	END