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

⟦a7d97133c⟧ TextFile

    Length: 905 (0x389)
    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« 
        └─⟦6afc76cf0⟧ 
            └─⟦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     11111100B     ; A mode 2  - B mode 1 out
Inta    EQU     0DH           ; It flag A set
Intb    EQU     05H
Obfa    EQU     0FH           ; Obfa set

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

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

	END