2018-02-07 13:43:41 +00:00
|
|
|
vector routine
|
2015-10-22 14:45:16 +00:00
|
|
|
trashes a, z, n
|
2018-02-07 13:43:41 +00:00
|
|
|
print
|
2015-10-20 16:39:00 +00:00
|
|
|
|
2018-09-09 14:31:35 +00:00
|
|
|
define chrout routine
|
2015-10-22 14:45:16 +00:00
|
|
|
inputs a
|
|
|
|
trashes a
|
|
|
|
@ 65490
|
|
|
|
|
2018-09-09 14:31:35 +00:00
|
|
|
define printa routine
|
2015-10-22 14:45:16 +00:00
|
|
|
trashes a, z, n
|
|
|
|
{
|
|
|
|
ld a, 65
|
|
|
|
call chrout
|
|
|
|
}
|
|
|
|
|
2018-09-09 14:31:35 +00:00
|
|
|
define printb routine
|
2015-10-22 14:45:16 +00:00
|
|
|
trashes a, z, n
|
|
|
|
{
|
|
|
|
ld a, 66
|
|
|
|
call chrout
|
2015-10-20 16:39:00 +00:00
|
|
|
}
|
|
|
|
|
2018-09-09 14:31:35 +00:00
|
|
|
define main routine
|
2015-10-22 14:45:16 +00:00
|
|
|
trashes print, a, z, n
|
|
|
|
{
|
|
|
|
copy printa, print
|
|
|
|
call print
|
|
|
|
copy printb, print
|
|
|
|
call print
|
2015-10-20 16:39:00 +00:00
|
|
|
}
|