mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-25 07:32:16 +00:00
23 lines
388 B
Plaintext
23 lines
388 B
Plaintext
// This will not compile on its own, because `printa` and `printb` are not defined.
|
|
// But `vector-inc.60p` and this together will compile.
|
|
|
|
vector routine
|
|
trashes a, z, n
|
|
print
|
|
|
|
// routine printb
|
|
// trashes a, z, n
|
|
// {
|
|
// ld a, 66
|
|
// call chrout
|
|
// }
|
|
|
|
routine main
|
|
trashes print, a, z, n
|
|
{
|
|
copy printa, print
|
|
call print
|
|
copy printb, print
|
|
call print
|
|
}
|