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

Change screen address #80

Closed
Majikeyric opened this issue Nov 16, 2019 · 2 comments
Closed

Change screen address #80

Majikeyric opened this issue Nov 16, 2019 · 2 comments
Milestone

Comments

@Majikeyric
Copy link
Collaborator

Would it be possible to change the screen address to be used with the commands which act on the screen ? (if they use kernal routines maybe it's not possible as $0400 should be hardcoded).

@neilsf
Copy link
Owner

neilsf commented Nov 16, 2019

I've been thinking about this for a long time.

  1. The easiest way to implement this is through a compiler directive that would instruct the compiler to translate memory locations to the specified VIC bank and a specified screen address within the bank. This would be constant through the program. KERNAL must be notified about the change of course.

  2. To allow dynamic switching of the bank and screen address in runtime - that's a harder job and would slow down all related commands. If one wishes to do this, POKE is the only way I'm afraid.

All in all I think we should go for solution no 1

@neilsf neilsf added this to the Version 2.3 milestone Nov 24, 2019
@neilsf
Copy link
Owner

neilsf commented Nov 25, 2019

I'm closing this for now as this is going to be solved in #82 .

@neilsf neilsf closed this as completed Nov 25, 2019
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