lgblgblgb / xemu

Emulations (running on Linux/Unix/Windows/macOS, utilizing SDL2) of some - mainly - 8 bit machines, including the Commodore LCD, Commodore 65, and the MEGA65 as well.
https://github.com/lgblgblgb/xemu/wiki
GNU General Public License v2.0
207 stars 32 forks source link

MEGA65: vic4 is only reading ChrCount from $d05e and is ignoring remaining 2 bits in $d063 #416

Closed RetroCogs closed 1 month ago

RetroCogs commented 1 month ago

Describe the bug Title pretty much says it all, ChrCount is a 10 bit number using $d05e as LSB and $d063.4&5 as MSB.

e.g. In Xemu, if ChrCount is set to 266 it will only render 10 chars ...

lgblgblgb commented 1 month ago

@RetroCogs Thank you very much for the fix and PR! I have some comments on it though if you don't mind, please see: https://github.com/lgblgblgb/xemu/pull/417