Paper tape encoding scheme needed

From: Ben Franchuk <bfranchuk_at_jetnet.ab.ca>
Date: Fri Apr 12 10:08:04 2002

Derek Peschel wrote:

> The OS/8 handbook for the PDP-8 discusses formatting of data tapes.
>
> Probably many others that I don't know about. There's also the subject
> of reading (and booting from) punch cards but never mind that for now.
>
* a sample bootstrap for the 8080
* from a VDM-1 manual
* starts at 0 and loads 256 bytes of data and jumps to start when done
beg lxi h,start
        sphl
        mov c,h
        call in
        cpi 7fh
        jnz beg
chrin dcr c
        jz start
        call in
        mov m,a
        inx h
        jmp chrin
in in sport get char status
        ani smask check status
        jz in
        in dport get char
        ret
        ds 2 stack space
start
* program goes here
                
-- 
Ben Franchuk - Dawn * 12/24 bit cpu *
www.jetnet.ab.ca/users/bfranchuk/index.html
Received on Fri Apr 12 2002 - 10:08:04 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:34:30 BST