DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ P T

⟦3b567e897⟧ TextFile

    Length: 638 (0x27e)
    Types: TextFile
    Names: »PPIN_S«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦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     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