Jump to content
IGNORED

Simple 8k supercart process


GDMike

Recommended Posts

Can someone plz explain the process of how the CPU sets up to write or read >6000 to a ram chip that thinks it's first address is 0000? In other words, how did the ram chip end up writing to address 0 when it received an address of 6000 to write to instead of writing to address 24576 of the memory chip which cannot happen cuz it's only biggest address is he 8000? I understand the first available address at hex 6000 would be written to but I don't understand how the ram chip ends up writing to address is 0 when it hasn't gotten an address to send it hex 0. Confused. Thanks for clarifying in advance

Link to comment
Share on other sites

How it works

 

The top 3 bits of the address are decoded into 8 enable lines by a 74LS138 decoder. Not all of these are needed, but the one that corresponds to A0,A1,A2 equal to 0,1,1 or addresses >6000 to >7fff is labeled ROMS* or cartridge select. This goes to the module port, where it is connected to a CE1* or chip enable pin on the cartridge ROM. The effect is that the cartridge ROM only 'wakes up' when one of those addresses is present on the address bus.

 

The rest of the address lines A3-A15 go into the ROM or RAM chip to select a byte.

 

 

In a similar way, the line responding to 0,0,0 goes to the CS* on and activates the console ROMs (16 bits wide). The line for 1,0,0 goes to yet another 74LS138 chip enable which decodes A3,A4,A5 to subdivide the >8000 - >9fff space into 8 blocks.

Link to comment
Share on other sites

Great!! The 138 is at it again, like in my ramdisk lol.. now that makes better sense than what I was struggling with, which would have been, first writable device found flipped the switch somehow..but regardless, I appreciate that info..I just couldn't put my finger in the explanation!!

Edited by GDMike
  • Like 1
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...