Jump to content
IGNORED

How can you write and read the 1088 kb Ram in the Altirra (800xl)?


Recommended Posts

I'm fairly sure this came up recently in another thread.

 

With high-level languages you have less control over where the executing code is. The important thing is that the code performing bank switches doesn't reside within the region of $4000-$7FFF since that's the window for banked memory with the 130XE and virtually all of the memory expansions for XL and later.

 

That said, you need to then selectively save and change bits of the PIA PORTB register to change the active memory bank. Then restore back to default if any data or code that lives in the main memory for that area is needed.

 

In a high level language it's probably easiest to do record oriented access to expanded Ram, ie deal with chunks of 128, 256 or more bytes at a time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...