Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
put small ASM programs like bin in a bank 128 and call from basic
#2
Hello @funkheld,

I explain it in detail in my book: https://www.amazon.co.uk/dp/B0CQD65FXZ

Here is the source code of an application that implements bank switching with code execution: https://github.com/Duefectu/BorielBasicG...re/Demo128

In summary, for example: you need to divide your code into a main module that does not exceed the memory address $c000 and create modules of less than 16K that run at $c000. To achieve this, you must split your code and define the variables you want to share in a fixed memory area.

Take a look, and if you have any questions, feel free to ask me.
Duefectu
https://zx.duefectucorp.com
duefectucorp@gmail.com
Reply


Messages In This Thread
RE: put small ASM programs like bin in a bank 128 and call from basic - by Duefectu - 02-06-2025, 05:26 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)