Quote from: touko on 03/11/2016, 05:47 AMI tried to load your font with pceas and it works fine .I keep forgetting I'm not coding straight 6502 and have access to things like this; thanks
Try this for loading your font:
...
tia gfx4BPP_font , $0002 , $800
Though I did have to change $800 to $800*2 since the VRAM expects word values.
Quote from: elmer on 03/11/2016, 12:13 PMYour vram_clearBAT code isn't correct ... you're using Y without initializing it.aha, so I was getting by on pure luck. ;) I figured that routine was broken somehow, due to being a late night coding exercise.
Quote from: elmer on 03/11/2016, 12:13 PMYour font loading code isn't correct ... you're using Y without initializing it (because font_loadSize is $0800).ah, there we go, that would be it. guess I wasn't running the branch code properly in my head
Thanks for your help, elmer and touko; this weekend is going to be a lot of fun.
here's the fixed example, in case anyone wants it:
http://www.ajworld.net/pcedev/pce-example01_ca65-fixed.zip
other comments/critique are welcome


10/31/2023: Localization News - Dead of the Brain 1!
