How Mutch ram dose the x16 have
- firedoge19
- Posts: 1
- Joined: Sun Apr 16, 2023 9:22 pm
How Mutch ram dose the x16 have
Working on a program and I don't know how much ram the x16 has. Can you help me with that?
Welp thats what i have to say . Contact me|msn [email protected] ![Cool 8-)](./images/smilies/icon_cool.gif)
![Cool 8-)](./images/smilies/icon_cool.gif)
Re: How Mutch ram dose the x16 have
The emulator download includes a programmer's reference manual, which includes memory maps.
https://github.com/X16Community/x16-doc ... y%20Map.md
Starting at $400 up to $7FF, you have 1KB of memory for machine language routines.
From $801 to $9EFF, you have roughly 38K for BASIC or machine language programs.
Starting at $A000, you have an 8KB window into either 512KB or 2MB of banked RAM.
Finally, there is a bank for ROMs at $C000-FFFF. There are a total of 256 banks, allowing for 4MB of ROM. 512KB is used by the system ROM, so you can add up to 3.5MB of ROM code for your programs. (This is similar to Super Nintendo ROMs, which range from 512KB up to 4MB for games like Super Mario RPG or Donkey Kong Country.)
In addition, there is a total of 128KB of video RAM, which is accessed via a vector at $9f20-$9F21, plus the low bit at $9F22. This memory houses both the video frame buffer and the character bitmaps (2KB for the standard character set).
That's documented at https://github.com/X16Community/x16-doc ... ference.md
https://github.com/X16Community/x16-doc ... y%20Map.md
Starting at $400 up to $7FF, you have 1KB of memory for machine language routines.
From $801 to $9EFF, you have roughly 38K for BASIC or machine language programs.
Starting at $A000, you have an 8KB window into either 512KB or 2MB of banked RAM.
Finally, there is a bank for ROMs at $C000-FFFF. There are a total of 256 banks, allowing for 4MB of ROM. 512KB is used by the system ROM, so you can add up to 3.5MB of ROM code for your programs. (This is similar to Super Nintendo ROMs, which range from 512KB up to 4MB for games like Super Mario RPG or Donkey Kong Country.)
In addition, there is a total of 128KB of video RAM, which is accessed via a vector at $9f20-$9F21, plus the low bit at $9F22. This memory houses both the video frame buffer and the character bitmaps (2KB for the standard character set).
That's documented at https://github.com/X16Community/x16-doc ... ference.md