initialize VIA in LOAD and ASAVE for applesoft basic
This commit is contained in:
parent
6a8d18e89d
commit
823f21ea26
|
@ -5,6 +5,8 @@ word const *VARTAB = (word *) 0x0069;
|
||||||
word const *PRGEND = (word *) 0x00AF;
|
word const *PRGEND = (word *) 0x00AF;
|
||||||
|
|
||||||
void comando_asave() {
|
void comando_asave() {
|
||||||
|
VIA_init(); // needed when called from Applesoft basic after a RESET
|
||||||
|
|
||||||
woz_puts("SAVING\r");
|
woz_puts("SAVING\r");
|
||||||
|
|
||||||
// appends #F8 + start address (normally: "0801")
|
// appends #F8 + start address (normally: "0801")
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
// global cmd
|
// global cmd
|
||||||
|
|
||||||
void comando_load_bas() {
|
void comando_load_bas() {
|
||||||
|
VIA_init(); // needed when called from Applesoft basic after a RESET
|
||||||
|
|
||||||
// send command byte
|
// send command byte
|
||||||
send_byte_to_MCU(CMD_LOAD);
|
send_byte_to_MCU(CMD_LOAD);
|
||||||
|
|
Loading…
Reference in New Issue