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

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

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

// This will not compile on its own, because there is no `main`.
// But this and `vector-main.60p` together will compile.

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
}