initialize VIA in LOAD and ASAVE for applesoft basic

This commit is contained in:
nino-porcino 2022-04-04 09:52:04 +02:00
parent 6a8d18e89d
commit 823f21ea26
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,8 @@ word const *VARTAB = (word *) 0x0069;
word const *PRGEND = (word *) 0x00AF;
void comando_asave() {
VIA_init(); // needed when called from Applesoft basic after a RESET
woz_puts("SAVING\r");
// appends #F8 + start address (normally: "0801")

View File

@ -7,6 +7,7 @@
// global cmd
void comando_load_bas() {
VIA_init(); // needed when called from Applesoft basic after a RESET
// send command byte
send_byte_to_MCU(CMD_LOAD);