6560 Maximum Memory

Modding and Technical Issues

Moderator: Moderators

Post Reply
DrVeryEvil
Vic 20 Amateur
Posts: 69
Joined: Thu Jul 23, 2015 5:11 pm
Location: Lansing, MI, USA
Occupation: Data Analyst

6560 Maximum Memory

Post by DrVeryEvil »

I've been pondering the VIC I chip and the memory configuration on the VIC 20. The 6560 can access 16K of memory according to the datasheet and is indicated by the address bus of the VIC I, having 14 address lines. The 6560 can access the first 8K of memory, if the VIC20 has internal 3K. Then there is 4K for the character ROM. The color memory has 4-bit data, connected to D8 - D11 and is mapped to $9400 - $97FF and its location is dependent on the video matrix location. The control registers are from $9000 - $900F and can only be accessed during Phase2 = 1. I guess my question is, can the 6560 make use of 8-bit memory from $9800 - $9FFF. It looks like the color memory is totally controlled by the 6560 and is fixed, so I don't think it can be used for color memory. I additional memory all has to be connected to the 6560 to be accessible for video. In theory, can the 6560 access another 4K of 8-bit RAM above the character ROM? How much of this memory is usable by the 6560?
User avatar
pixel
Vic 20 Scientist
Posts: 1358
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/
Location: Berlin, Germany
Occupation: Pan–galactic shaman

Re: 6560 Maximum Memory

Post by pixel »

DrVeryEvil wrote: Wed Oct 25, 2023 7:38 am I've been pondering the VIC I chip and the memory configuration on the VIC 20. The 6560 can access 16K of memory according to the datasheet and is indicated by the address bus of the VIC I, having 14 address lines. The 6560 can access the first 8K of memory, if the VIC20 has internal 3K. Then there is 4K for the character ROM. The color memory has 4-bit data, connected to D8 - D11 and is mapped to $9400 - $97FF and its location is dependent on the video matrix location. The control registers are from $9000 - $900F and can only be accessed during Phase2 = 1. I guess my question is, can the 6560 make use of 8-bit memory from $9800 - $9FFF. It looks like the color memory is totally controlled by the 6560 and is fixed, so I don't think it can be used for color memory. I additional memory all has to be connected to the 6560 to be accessible for video. In theory, can the 6560 access another 4K of 8-bit RAM above the character ROM? How much of this memory is usable by the 6560?
Unfortunately the VIC cannot access RAM which is not internal unless you grab a soldering iron AFAIK. :(
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
DrVeryEvil
Vic 20 Amateur
Posts: 69
Joined: Thu Jul 23, 2015 5:11 pm
Location: Lansing, MI, USA
Occupation: Data Analyst

Re: 6560 Maximum Memory

Post by DrVeryEvil »

You are correct Pixel.

The VIC 20 Programmer's Manual lists this.
VIC-9005.jpg
According to this, if I were to wire memory directly to the 6560, I could address memory above $9000. I don't think I'd be able to use any of it before the end of color memory, but it might be good for a small bitmap. I don't know how color memory would react to having 8 bit memory connected alongside the 4 bit color memory. They do have different data busses, but the same addresses, so that probably won't work. I'm thinking about building a board with a 6560 as a video card that plugs into the 6560 socket that would have more capabilities than the standard VIC 20 circuit.

The 3 bits labelled for the Character ROM only uses half of all the memory location options. $9000 holds the VIC registers and $9110-$9120 holds the VIA's. $9400 is color memory. $9800 and $9c00 wouldn't be enough for the 6560 to do anything with. The datasheet doesn't really say anything about a maximum memory configuration, just the minimum. Could this 2K of memory be used as another bank of color memory?
DrVeryEvil
Vic 20 Amateur
Posts: 69
Joined: Thu Jul 23, 2015 5:11 pm
Location: Lansing, MI, USA
Occupation: Data Analyst

Re: 6560 Maximum Memory

Post by DrVeryEvil »

A quick tip, all the data and address line are accessible from the character ROM chip. :D
User avatar
srowe
Vic 20 Scientist
Posts: 1340
Joined: Mon Jun 16, 2014 3:19 pm

Re: 6560 Maximum Memory

Post by srowe »

DrVeryEvil wrote: Wed Oct 25, 2023 2:38 pm A quick tip, all the data and address line are accessible from the character ROM chip. :D
Back in the 80's I made an internal 3K expansion module that fitted into the socket

https://www.sleepingelephant.com/ipw-we ... php?t=7016
User avatar
mythic66
Vic 20 Drifter
Posts: 32
Joined: Sat Dec 31, 2022 1:21 pm
Location: Canada
Occupation: Technician

Re: 6560 Maximum Memory

Post by mythic66 »

I'm thinking about building a board with a 6560 as a video card that plugs into the 6560 socket that would have more capabilities than the standard VIC 20 circuit.
I think this is the best way. I'm finishing a little project on the CPU side, and I made a daughterboard which give me access to everything the CPU see, so same thing for the 6560.
Attachments
small_RAM.jpg
DrVeryEvil
Vic 20 Amateur
Posts: 69
Joined: Thu Jul 23, 2015 5:11 pm
Location: Lansing, MI, USA
Occupation: Data Analyst

Re: 6560 Maximum Memory

Post by DrVeryEvil »

I'm curious what you have there?
User avatar
mythic66
Vic 20 Drifter
Posts: 32
Joined: Sat Dec 31, 2022 1:21 pm
Location: Canada
Occupation: Technician

Re: 6560 Maximum Memory

Post by mythic66 »

DrVeryEvil wrote: Mon Oct 30, 2023 10:47 am I'm curious what you have there?
still cooking atm, i'll start a thread when it will be ready , to not to highjack the thread. :wink:
Post Reply