I'm currently porting TaliForth2 to the Western Design Center w65c134sxb development board.
This board, but also future platforms that I want to target, have a very fragmented zero-page space, and sometimes less than 30 continuous zero page locations available.
The current zero page configuration in TaliForth2 requires a continuous zero page space for variables and data stack.
A possible solution would be to move the "definitions.asm" to be included from the platform file and that "definitions.asm" will define zero page location non-continuous. Are there other (better) solutions?
Ideally the "definitions.asm" would define the "defaults" with the possibility to override the defaults in the platform file, but I'm not sure if that is possible from the Ophis assembler.
Some zero page locations are reserved for temporary space used by optional modules (e.g. Editor). Could these definitions moved into the source file for the module, to make them free in case the module is not used?
I'm currently porting TaliForth2 to the Western Design Center w65c134sxb development board.
This board, but also future platforms that I want to target, have a very fragmented zero-page space, and sometimes less than 30 continuous zero page locations available.
The current zero page configuration in TaliForth2 requires a continuous zero page space for variables and data stack.
A possible solution would be to move the "definitions.asm" to be included from the platform file and that "definitions.asm" will define zero page location non-continuous. Are there other (better) solutions?
Ideally the "definitions.asm" would define the "defaults" with the possibility to override the defaults in the platform file, but I'm not sure if that is possible from the Ophis assembler.
Some zero page locations are reserved for temporary space used by optional modules (e.g. Editor). Could these definitions moved into the source file for the module, to make them free in case the module is not used?