rename symbol

This commit is contained in:
nino-porcino 2021-12-08 21:59:54 +01:00
parent c64d985364
commit 8023097c73
2 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void woz_mon() {
}
// returns nonzero if a key has been pressed
inline byte keypressed() {
inline byte woz_iskeypressed() {
#ifdef APPLE1
return PEEK(KEY_CTRL) & 0x80;
#else

View File

@ -22,6 +22,7 @@ void demo_interrupt() {
for(;;) {
if(keypressed()) {
if(woz_iskeypressed()) {
byte k = woz_getkey();
if(k=='1') { tms_interrupt(1); woz_puts("INT ENABLED\r"); }
else if(k=='0') { tms_interrupt(0); woz_puts("INT DISABLED\r"); }