1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-17 15:06:29 +00:00
C02/apple2/a2chars.c02
2018-03-03 13:28:22 -05:00

25 lines
338 B
Plaintext

/* C02 Apple II Test Program */
#include <appl2std.h02>
char h,i;
main:
prchr(' ');
for (i=0; i<16; i++)
prhex(i);
h=0; i=0;
do {
if (!i&15) {
newlin();
prhex(h);
h++;
prchr(' ');
}
if (i&$F0==$80) echo($A0);
else echo(i);
i++;
} while(i);
goto exit;