Jump to content
IGNORED

Could the 7800's 6502C CPU run at 7.16mhz or 14.32mhz ?


Math You

Recommended Posts

I'm not sure if anybody has tested the upper speed of SALLY. You could probably replace SALLY with a 65C816 at a higher clock rate but you'd need a legacy mode for the original games. I think it would be much more interesting to replace the CPU with something completely different like a 68008. You could also go completely mad and hook MARIA up to an embedded ARM chip. For added madness you could run a 6502 emulator on the ARM too :lol:. However, if you change the CPU getting new games developed is always the most difficult part. Without new games it would be hard to sell such a modification.

Link to comment
Share on other sites

if you change the CPU getting new games developed is always the most difficult part. Without new games it would be hard to sell such a modification.

 

True. I guess the speed would have to be switchable to maintain compatibility with existing software.

 

To be honest, all this talk of the new XM adapter has got me thinking about what the future has in store for the 7800. It would be interesting to see if the XM project could evolve into a complete 7800 console with a few new features. A faster processor would allow more programs to use the 7800's 320 x 200 mode or display more sprites.

 

Another possibility would be to allow TIA and Maria to work simultaneously to either create more on-screen colours or possibly 2 separate graphics screens, one over the other.

Link to comment
Share on other sites

mpatibility with existing software.

To be honest, all this talk of the new XM adapter has got me thinking about what the future has in store for the 7800. It would be interesting to see if the XM project could evolve into a complete 7800 console with a few new features. A faster processor would allow more programs to use the 7800's 320 x 200 mode or display more sprites.

 

The bottleneck in the 320 modes is MARIA and not the CPU. It only has so many video cycles to process the Display List (DL) data and only a limited number of colours can be on screen in each mode as standard too. However, you could use programmer tricks to change colours on a per scan line basis. So you could have a very colourful display with some limitations.

 

Another possibility would be to allow TIA and Maria to work simultaneously to either create more on-screen colours or possibly 2 separate graphics screens, one over the other.

 

Nice idea but unfortunately that won't work because TIA requires the CPU to be running 100% of the time to generate its display while MARIA needs the CPU to be halted to generate its display. So its either one or the other but not both at the same time.

Link to comment
Share on other sites

I was just reading about how the Atari 7800's graphics chip runs at 7.16mhz and was wondering if (in theory) the 6502C cpu could also run at the same speed or maybe twice the speed?

A big problem is the memory speed. The 6502 executes a LOT more memory accesses than most other CPUs. A 7.16MHz 6502 runs memory 4 times faster than a 7.16MHz 68000. This means the cartridge ROM and on-board RAM would need to be many times faster, which is not possible with the type of parts and bus used in the 7800.

 

If you wanted a much faster processor, you would need to build it into the expansion module along with its own local memory. This type of design would be more like Harmony's DPC+/ARM mode, where the 7800's 6502 would cooperate with a completely separate computer running with its own memory and peripherals.

 

- KS

Link to comment
Share on other sites

A big problem is the memory speed. The 6502 executes a LOT more memory accesses than most other CPUs. A 7.16MHz 6502 runs memory 4 times faster than a 7.16MHz 68000. This means the cartridge ROM and on-board RAM would need to be many times faster, which is not possible with the type of parts and bus used in the 7800.

 

When MARIA makes an access to the Display List List (DLL) or Display List (DL) data it requires two of the 7.16MHz video clocks (that is why they are held in its RAM). If it pulls a byte of graphics data from ROM it requires 3 MARIA clock cycles per access. If you had access to SALLY's RDY pin you could extend the read bus cycles as required (depending on what type of memory was being accessed). However RDY cannot be asserted during writes so any RAM would need write cycle timing to match the CPU.

Link to comment
Share on other sites

A big problem is the memory speed. The 6502 executes a LOT more memory accesses than most other CPUs. A 7.16MHz 6502 runs memory 4 times faster than a 7.16MHz 68000. This means the cartridge ROM and on-board RAM would need to be many times faster, which is not possible with the type of parts and bus used in the 7800.

 

When MARIA makes an access to the Display List List (DLL) or Display List (DL) data it requires two of the 7.16MHz video clocks (that is why they are held in its RAM). If it pulls a byte of graphics data from ROM it requires 3 MARIA clock cycles per access. If you had access to SALLY's RDY pin you could extend the read bus cycles as required (depending on what type of memory was being accessed). However RDY cannot be asserted during writes so any RAM would need write cycle timing to match the CPU.

 

Sounds complicated :?

 

What if a new 7800 had a Sally and Maria chip that could both run at 2 or 3 times their current speed? Would it work or would the extra speed affect the video output.

Link to comment
Share on other sites

Sounds complicated :?

 

Its not complicated if you have electronics and software skills. It just takes time and money to develop.

 

What if a new 7800 had a Sally and Maria chip that could both run at 2 or 3 times their current speed? Would it work or would the extra speed affect the video output.

 

If everything is developed new (not using legacy parts) it makes the designers life much easier because you can specify everything upfront. When you design things for products that came out 25+ years ago your hands are pretty much tied.

Link to comment
Share on other sites

What if a new 7800 had a Sally and Maria chip that could both run at 2 or 3 times their current speed? Would it work or...

The answer also depends on what you mean by "would it work". For the library of 7800 games, a hypothetical overclock would mostly break them, at best showing no benefit at all. Only more more modern games are designed to scale up or down with CPU power, which is why overclocking can make a difference. Not so on older systems.

 

So, your overclocked 7800 wouldn't help existing games. But, like GroovyBee points out, you would probably need to use all new components and modern technology. This is not a mod, it's a new console from scratch. Somebody could write a special game to show off your new faster console, but it's not really a 7800 anymore...

 

Because of the design of the 7800, your best hope to add more power is probably by adding a faster processor that plugs into the cartridge port. A lot of systems have done this, starting with the 2600's 'Graduate', all the way to the Sega CD or 32X.

 

- KS

Link to comment
Share on other sites

I'm not sure if anybody has tested the upper speed of SALLY. You could probably replace SALLY with a 65C816 at a higher clock rate but you'd need a legacy mode for the original games. I think it would be much more interesting to replace the CPU with something completely different like a 68008. You could also go completely mad and hook MARIA up to an embedded ARM chip. For added madness you could run a 6502 emulator on the ARM too :lol:. However, if you change the CPU getting new games developed is always the most difficult part. Without new games it would be hard to sell such a modification.

 

Oooh what if you replaced the whole shebang with an x86 setup & ran it all in software emulation? Exotic!

Link to comment
Share on other sites

Oooh what if you replaced the whole shebang with an x86 setup & ran it all in software emulation? Exotic!

 

You'd be better off with a Raspberry Pi in there and a custom USB dongle that would get you access to the console switches and joysticks. It'd work out much cheaper :P.

Link to comment
Share on other sites

Perhaps it would be best to leave everything just the way it is. Too many changes would only ruin the retro experience :)

 

The reason I asked was to see if an enhanced 7800 could be made, rather than a mod for existing 7800 consoles.

 

I get the impression that programmers can achieve all kinds of things that the original designers didn't think possible, the only problem being that enhancements such as displaying higher resolutions or more colours aren't really practical in games as there isn't enough power to perform hardware tricks and play games at the same time. Even the 7800's 320 x 200 resolution seems to be too much for it's humble processor.

Edited by Math You
Link to comment
Share on other sites

I get the impression that programmers can achieve all kinds of things that the original designers didn't think possible, the only problem being that enhancements such as displaying higher resolutions or more colours aren't really practical in games as there isn't enough power to perform hardware tricks and play games at the same time. Even the 7800's 320 x 200 resolution seems to be too much for it's humble processor.

 

Its possible to make an enhanced MARIA that is both backwards compatible with the legacy games and offers enhanced graphics modes. For NTSC machines you'd need to desolder the original MARIA from the motherboard, which not something that everybody can do. On PAL consoles its much easier to install a modification because MARIA is in a socket.

 

You can make quite colourful 320x200 games but it all depends on the type of game and what programmer tricks you use.

Link to comment
Share on other sites

  • 1 month later...

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...