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

⟦c16965107⟧ TextFile

    Length: 823 (0x337)
    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« 
        └─⟦24ef11717⟧ 
            └─⟦this⟧ 

TextFile

;
;PPI memory mapped to CPU with IT
;        
        OPTIONS	CONVERT

ROM	EQU	2000H
STACK	EQU	4500H
Aim1    EQU     27F7H
It      EQU     2700H

PPI	EQU	3018H
PortA   EQU     PPI
PortB   EQU     PPI+1
PortC   EQU     PPI+2
Ctrl    EQU     PPI+3
Mode    EQU     11111000B     ; A mode 2  - B mode 0 out
Inta    EQU     09H           ; It flag A set

	ORG	ROM
        LD      SP,Stack
        LD      A,27H
        LD      I,A
        IM2
        LD      A,Mode
        LD      (Ctrl),A
        LD      A,inta
        LD      (Ctrl),A
        EI
        LD      C,0
loop:   INC     C
        JP      loop

        ORG     It
        PUSH    AF
        PUSH    BC
        LD      A,(PortA)
        POP     BC
        POP     AF
        EI
        RET
      
        ORG     Aim1
        DEFB    00H
        DEFB    27H 

	END