TaliForth2 icon indicating copy to clipboard operation
TaliForth2 copied to clipboard

Zero page start can't be adjusted

Open SvOlli opened this issue 4 months ago • 5 comments

Hello!

On my Sorbus Computer, these changes break TaliForth2 in a way that it compiles, but cannot be executed. It runs in some kind of BRKs throwing execution off rails.

Build binary crashes (2024-06-05)

  • 283f50783a03307399c240a131d889e8896f31d8 slim down other platform config, default kbhit implementation
  • a79de57321d40fedafc1a3ab4dd554cf5f72a5d9 revert binary
  • f0ee88385371d059e79b51bb7733307d5166c6c4 simplify configuration, update README
  • 4d3197ccdff86416ecd54b770236c5b6de0ad21a adds c65 platform and key? support
  • 447531f3ee29d2f4dbb916167af51559dc199953 wip

Build binary works (2024-05-31)

I couldn't dissect this further, because in between the code does not compile.

While writing this up, I could figure out the problem: the Sorbus Computer has some reserved zero page addresses at $0000-$000f. This can't be changed in the config file.

What is the best way to fix this? Have ram_start be defined as ?= instead of =, so it can be overwritten in the config?

SvOlli avatar Oct 08 '24 17:10 SvOlli