2018-12-11 17:55:08 +00:00
|
|
|
// Include `support/${PLATFORM}.60p` before this source
|
2018-12-11 18:14:36 +00:00
|
|
|
// Should print AB
|
2018-12-11 17:55:08 +00:00
|
|
|
|
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 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
|
|
|
}
|