add print string function

This commit is contained in:
nino-porcino 2021-12-05 16:21:56 +01:00
parent 2c50416849
commit ac426c8f96

6
test.c
View File

@ -510,6 +510,12 @@ void woz_putc(byte c) {
}
}
// puts a 0-terminated string on the apple1 screen
void woz_puts(byte *s) {
byte c;
while(c=*s++) woz_putc(c);
}
// returns to WOZMON prompt
void woz_mon() {
#ifdef APPLE1