Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to put zxbasic code in memory banks
#5
The present version of BorIDE can link binary files in memory banks and create fully working 128K program. I tested it already with some megaLZ packed graphics to unpack it in a bufer in low memory (for use with Britlions PutChars) or even directly to screen. It should be also possible to compile a part of your program to a bank and run it there, but unfortunaly this means that some runtimes are included twice.
Oh! Just forgot: The modified MegaLZ unpacker mentioned by britlion, works also fine with larger programs (40 Kb), if the procedure is somewhere in memory which is not paged out. And the interrupt manager allows to play music that is stored in a different memory bank, but that would bite with MegaLZ because I disabled the interrupts as they may be harmful when switching banks.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)