apple1-videocard-lib/demos/demo/demo_blank.h

13 lines
255 B
C
Raw Normal View History

2021-12-08 11:53:13 +00:00
// TODO make it static once KickC bug is fixed
2021-12-08 21:00:30 +00:00
byte blank = BLANK_OFF;
2021-12-08 11:53:13 +00:00
void flip_blank() {
blank ^= 1;
2021-12-08 21:00:30 +00:00
if(blank == BLANK_OFF) woz_puts("NORMAL\r");
else woz_puts("BLANK\r");
2021-12-08 11:53:13 +00:00
// write "blank" bit
tms_set_blank(blank);
2021-12-08 11:53:13 +00:00
}