Skip to content

Release 8: Make MEGA65 terp fast

Choose a tag to compare

@fredrikr fredrikr released this 02 Oct 22:52
· 495 commits to master since this release

New/change features:

  • Changed history to allow cursor up/down even if there is pending user input
  • Improved error messages when giving bad z-code palette options

Optimizations:

  • Added support for caching story data in HyperRAM on MEGA65
  • Changed so we access the Floppy Disk Controller directly on MEGA65 when reading raw disk blocks, instead of using DOS commands, for speed.
  • Added a 60 KB cache in chipmem for disk tracks, used when reading raw disk blocks on MEGA65.
  • Made all page copying use DMA on MEGA65
  • Removed unnecessary mapping of F1 and F8 for all languages in streams.asm
  • Rearranged character translation tables, making the code faster and shorter
  • Changed the mechansim for downcasing user input
  • Minor optimization in reading and writing global variables in non-SLOW mode on C64 and MEGA65.

Bugfixes:

  • Fixed indexing bug in add_line_to_history (issue 36)
  • Stopped downcasing accented characters for read_char
  • Fixed bug which copied 256 bytes instead of 0 bytes from config info to
    vmap_z_h (highbytes of vmem map) when game had no preloaded vmem blocks.
  • Updated outdated debug code for TRACE_VM (Issue 39)