equant / apple2idiot

A general purpose ESP32 IOT board for the Apple IIe
GNU General Public License v3.0
77 stars 4 forks source link

Second time displaying weather (cc65 implementation) prints garbage #3

Closed equant closed 2 years ago

equant commented 2 years ago

The cc65 version of the Apple 2 weather software works the first time you choose [4]DISPLAY. But, the second time you select it, garbage prints out to the screen.

This problem doesn't exist in the BASIC version, and isn't happening because of the .ino code running on the card.

It is likely because I don't know how to program in C, and there's some pointer thing happening I don't understand.

equant commented 2 years ago

https://github.com/equant/apple2idiot/tree/main/examples/15_fixed_essid_weather-cc65

equant commented 2 years ago

That was easy. just needed to add address=0 to beginning of display case.