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

Memory Map -> RAM Contents -> $0000-$007f "completely unused" #35

Open
bobbyjim opened this issue Jan 6, 2020 · 4 comments
Open

Memory Map -> RAM Contents -> $0000-$007f "completely unused" #35

bobbyjim opened this issue Jan 6, 2020 · 4 comments

Comments

@bobbyjim
Copy link
Contributor

bobbyjim commented Jan 6, 2020

Of course that's no longer true, since $02 through $21 hold the 16-bit pseudo-registers used by the KERNAL ABI.

@PeterCamilleri
Copy link

So if I understand correctly, the free zero page is now

$00, $01, $22 .. $7F

Yikes! Not cricket!

@bobbyjim
Copy link
Contributor Author

bobbyjim commented Jul 29, 2020

I think now that $00 and $01 will-be reserved for banking, and $02-$21 are used by the ABI but could perhaps be re-used.

@PeterCamilleri
Copy link

The C64 used those addresses for banking. AFAIK, the X16 is using a VIA chip in the I/O region to control bank switching.

@indigodarkwolf
Copy link
Collaborator

In the official emulator release r37, ROM and RAM banks are controlled by I/O registers $9F60 and $9F61, respectively.

However, the technical design of the X16 has changed and the ROM and RAM banks will be moved to zero-page registers $00 and $01, respectively. The documentation has already been updated to reflect this, emulator release r38 will contain this update as well.

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

3 participants