1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-12-02 22:49:45 +00:00
SixtyPical/eg/rudiments/vector.60p

30 lines
393 B
Plaintext
Raw Normal View History

// Include `support/${PLATFORM}.60p` before this source
// Should print AB
vector routine
trashes a, z, n
print
2015-10-20 16:39:00 +00:00
define printa routine
trashes a, z, n
{
ld a, 65
call chrout
}
define printb routine
trashes a, z, n
{
ld a, 66
call chrout
2015-10-20 16:39:00 +00:00
}
define main routine
trashes print, a, z, n
{
copy printa, print
call print
copy printb, print
call print
2015-10-20 16:39:00 +00:00
}