git @ Cat's Eye Technologies SixtyPical / goto-at-end-of-block eg / rudiments / vector.60p
goto-at-end-of-block

Tree @goto-at-end-of-block (Download .tar.gz)

vector.60p @goto-at-end-of-blockraw · history · blame

vector routine
  trashes a, z, n
    print

define chrout routine
  inputs a
  trashes a
  @ 65490

define printa routine
  trashes a, z, n
{
    ld a, 65
    call chrout
}

define printb routine
  trashes a, z, n
{
    ld a, 66
    call chrout
}

define main routine
  trashes print, a, z, n
{
    copy printa, print
    call print
    copy printb, print
    call print
}