Skip to content

fragmented or limited zero page space #243

Description

@cstrotm

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions