Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels with bank notion #69

Open
FlightControl-User opened this issue Dec 4, 2022 · 1 comment
Open

Labels with bank notion #69

FlightControl-User opened this issue Dec 4, 2022 · 1 comment

Comments

@FlightControl-User
Copy link
Contributor

Would it be possible to have the symbols file recognize also the "bank" as an indicator of the label?

In my case, i'm having several routines that start at address A000, but in different banks.
It would be great if the symbols table could have an indication of the bank attached to the label.

Kickc and Kick assembler generate a symbols file that contains C:ADDR al statements.

image

It would be great if box16 would recognize the C: syntax, but also an extension, which could be optionally given:

image

The 03 would indicate that the stage_logic routine is located in bank 3, and the label would only chosen if bank 3 is the current bank.

makes sense?

Sven

@indigodarkwolf
Copy link
Owner

Since those are VICE label format entries, I'd say that if you wanted to place the bank before the colon, we'd need to use a character like 'B' to denote that it's a bank instead of a device ID (VICE emulates attached disk drives, which can be assigned IDs 8, 9, 10, or 11).

I'd suggest, instead, just expanding the address side of the colon to 24 bits when you want to specify a specific bank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants