mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-29 03:51:35 +00:00
25 lines
251 B
Plaintext
25 lines
251 B
Plaintext
|
byte foo
|
||
|
|
||
|
routine chrout
|
||
|
inputs a
|
||
|
trashes a
|
||
|
@ 65490
|
||
|
|
||
|
routine print
|
||
|
inputs foo
|
||
|
trashes a, z, n
|
||
|
{
|
||
|
ld a, foo
|
||
|
call chrout
|
||
|
}
|
||
|
|
||
|
routine main
|
||
|
trashes a, y, z, n, foo
|
||
|
{
|
||
|
ld y, 65
|
||
|
st y, foo
|
||
|
call print
|
||
|
inc foo
|
||
|
call print
|
||
|
}
|