mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-12-02 07:49:21 +00:00
23 lines
292 B
Plaintext
23 lines
292 B
Plaintext
// Include `support/${PLATFORM}.60p` before this source
|
|
// Should print AB
|
|
|
|
byte foo
|
|
|
|
define print routine
|
|
inputs foo
|
|
trashes a, z, n
|
|
{
|
|
ld a, foo
|
|
call chrout
|
|
}
|
|
|
|
define main routine
|
|
trashes a, y, z, n, foo
|
|
{
|
|
ld y, 65
|
|
st y, foo
|
|
call print
|
|
inc foo
|
|
call print
|
|
}
|