mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-22 17:32:01 +00:00
31 lines
359 B
Plaintext
31 lines
359 B
Plaintext
// Should print AB
|
|
|
|
include "chrout.60p"
|
|
|
|
vector routine
|
|
trashes a, z, n
|
|
print
|
|
|
|
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
|
|
}
|