Is it possible to overclock a 6502 to 100GHz
-
jmthompson
- Posts: 127
- Joined: 30 Dec 2017
- Location: Detroit, Michigan, USA
- Contact:
Re: Is it possible to overclock a 6502 to 100GHz
Hmm, would nanobots be susceptible to an EMP, or are they too small? I am envisioning a sealed (Faraday cage) chamber that patients could be put into and hit with an EMP to fry any existing nanobots.
Re: Is it possible to overclock a 6502 to 100GHz
Maybe yes, but the nanobots (and their batteries) still would stay inside the body.
But maybe we are thinking just too much in technical terms.

Tyrophagus casei, a highly compact/functional design. Males are 450..550µm in size, females 500..700µm.
The cheese mite sure is a beauty (it even got a monument).
Back in the dark ages, before chemical conservation of food had been invented, it wasn't technically possible to separate the cheese from the mites.
The solution then was to put a piece of cheese plus something more tasty than the cheese into a box of cheese mites.
The mites then gratefully gave the cheese a fancy antiseptic coating.
There is a story, that the cheese sometimes still was eatable after more than 30 years.
Those who don't believe me could buy their mite cheese here.
Isolating/defusing a tumor by encapsulating it in the digestive end product of microscopic arachnids,
just don't forget to give them something more tasty than the patient.
Since no two tumors of the same type are identical, maybe the mite sensors would have to be tuned to the biochemistry of the individual patient,
but maybe this could be automated.
Choosing and genetically modifying a specific type of mites to make them able to do the job is left as a homework assignment for the advanced biologist.
Hey, it's just a theory, don't know if this would work at all.
But maybe we are thinking just too much in technical terms.

Tyrophagus casei, a highly compact/functional design. Males are 450..550µm in size, females 500..700µm.
The cheese mite sure is a beauty (it even got a monument).
Back in the dark ages, before chemical conservation of food had been invented, it wasn't technically possible to separate the cheese from the mites.
The solution then was to put a piece of cheese plus something more tasty than the cheese into a box of cheese mites.
The mites then gratefully gave the cheese a fancy antiseptic coating.
There is a story, that the cheese sometimes still was eatable after more than 30 years.
Those who don't believe me could buy their mite cheese here.
Isolating/defusing a tumor by encapsulating it in the digestive end product of microscopic arachnids,
just don't forget to give them something more tasty than the patient.
Since no two tumors of the same type are identical, maybe the mite sensors would have to be tuned to the biochemistry of the individual patient,
but maybe this could be automated.
Choosing and genetically modifying a specific type of mites to make them able to do the job is left as a homework assignment for the advanced biologist.
Hey, it's just a theory, don't know if this would work at all.
-
EvilSandwich
- Posts: 36
- Joined: 13 Oct 2019
- Location: Pennsylvania, USA
Re: Is it possible to overclock a 6502 to 100GHz
Okay okay okay. Can I just say that topics like this are why I adore hobby forums like this?
I'm of the same mindset as most people here. I first ask myself, "B-but why tho?" And then my baser nerd instincts kick in and I'm like, "But I kinda wanna see it done anyway. Just because I wanna see if you can." lol
I'm of the same mindset as most people here. I first ask myself, "B-but why tho?" And then my baser nerd instincts kick in and I'm like, "But I kinda wanna see it done anyway. Just because I wanna see if you can." lol
Re: Is it possible to overclock a 6502 to 100GHz
Ja, sometimes when trying to solve a technical problem, you have to think "outside the box" and to go with what's available.
Without forums like this, our brains eventually would dry out.
Without forums like this, our brains eventually would dry out.
- barrym95838
- Posts: 2056
- Joined: 30 Jun 2013
- Location: Sacramento, CA, USA
Re: Is it possible to overclock a 6502 to 100GHz
EvilSandwich wrote:
... I first ask myself, "B-but why tho?" And then my baser nerd instincts kick in and I'm like, "But I kinda wanna see it done anyway. Just because I wanna see if you can." lol
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!
Mike B. (about me) (learning how to github)
Mike B. (about me) (learning how to github)
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Is it possible to overclock a 6502 to 100GHz
dwight wrote:
They seem to be a number of misconceptions on what reducing dimensions of size buys you. With each reduction, there is always some trade off where one of the physical laws of physics becomes the dominant limiter. Before 120 nm it was the capacitance of the transistors to the die. From there to about 40 nm it was the low gain of the P-channel transistors. From the P-channel were fixed by the fin-fets. At around 10 to 7 nm the problem is becoming the internal resistance of the interconnecting wires and even fin-fet has lost its shine. 14-10 nm is about the limit of practical I/O drive. Real world interconnect wires are about 100 ohms impedance. Even with voltage reduction, noise limits it are becoming more difficult to deal with I/O.
It seems that around 5GHz is about the lower limit of practical silicon use. Going below 10 nm doesn't help that. The thought of even a 10 gHz 6502 at 14 nm doesn't make sense. Remember, the Intel processors are not doing everything in a single cycle like the 6502 is. These processors that are doing this level are there because they use pipelining and speculative execution ( causing side band security leaks ). Having the processor fetch, decode, execute and store data like the 6502 does within one or two clock cycles at even 5 gHz doesn't even sound practical. There are too many limiting cases.
Dwight
It seems that around 5GHz is about the lower limit of practical silicon use. Going below 10 nm doesn't help that. The thought of even a 10 gHz 6502 at 14 nm doesn't make sense. Remember, the Intel processors are not doing everything in a single cycle like the 6502 is. These processors that are doing this level are there because they use pipelining and speculative execution ( causing side band security leaks ). Having the processor fetch, decode, execute and store data like the 6502 does within one or two clock cycles at even 5 gHz doesn't even sound practical. There are too many limiting cases.
Dwight
A friend who has worked in IC design sent me this link to a .pdf about how die feature size affects speed. It's rather math-intensive, but there's a lot to be gleaned there even without going into that level of math, with the prose and graphs. They're going into the range of 25-100GHz. https://psec.uchicago.edu/workshops/fas ... ndence.pdf
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Is it possible to overclock a 6502 to 100GHz
drogon wrote:
However if you want fast, then there is a software emulation of the 6502 that runs at a shade under 300Mhz, complete with 64K RAM that runs inside a 1Ghz Raspberry Pi Zero - this would obviously be much faster in a Piv4, or even a modern x86 system. could you get to 1GHz with a 3-4Ghz x86 type system?
What software benchmark was being run to make that measurement? A simple loop or something more representative of real programs?
Re: Is it possible to overclock a 6502 to 100GHz
I think it was running something in a BASIC interpreter, so a long way from trivial.
Re: Is it possible to overclock a 6502 to 100GHz
Indeed, PiTubeDirect is widely used in the Acorn community, where there's a BBC Basic benchmark called CLOCKSP, which uses the usual tactic of looping over various types of computation: integer, real, string, subroutine call and return, log and trig functions. It's purely computational: doesn't measure I/O or graphics. The final thing it does is report the speed as compared to a BBC Micro at 2MHz.
It might be worth noting that PiTubeDirect, when running at full speed, is making no attempt to run at a calibrated speed. Various opcodes will surely run at different speeds, and so loops without much of an instruction mix will have their own average, which might be faster or slower than the benchmark result.
PiTubeDirect can also run in a paced mode, for a moderately accurate 3MHz and 4MHz, for historical compatibility. The paced mode works up to some maximum, which might be about 20MHz, but I don't have the actual figure. (There's a lot more machinery in pacing single instructions, but even so I don't think it accounts for page crossing.)
Edit: RPi4 seems to run the 6502 emulation at 370MHz or so. But most people use a Pi 0.
It might be worth noting that PiTubeDirect, when running at full speed, is making no attempt to run at a calibrated speed. Various opcodes will surely run at different speeds, and so loops without much of an instruction mix will have their own average, which might be faster or slower than the benchmark result.
PiTubeDirect can also run in a paced mode, for a moderately accurate 3MHz and 4MHz, for historical compatibility. The paced mode works up to some maximum, which might be about 20MHz, but I don't have the actual figure. (There's a lot more machinery in pacing single instructions, but even so I don't think it accounts for page crossing.)
Edit: RPi4 seems to run the 6502 emulation at 370MHz or so. But most people use a Pi 0.
Re: Is it possible to overclock a 6502 to 100GHz
BigEd wrote:
Indeed, PiTubeDirect is widely used in the Acorn community, where there's a BBC Basic benchmark called CLOCKSP, which uses the usual tactic of looping over various types of computation: integer, real, string, subroutine call and return, log and trig functions. It's purely computational: doesn't measure I/O or graphics. The final thing it does is report the speed as compared to a BBC Micro at 2MHz.
Now I see. It is written in highly optimized ARM assembly language. The ARM instruction set has conditional execution for potentially less need for branching.
The reason I asked about the benchmark is that a simple loop would not exercise many of the emulated instructions, meaning few cache misses.
Any idea what the fastest 6502 emulation on an x86 host currently is?
Re: Is it possible to overclock a 6502 to 100GHz
I'd reach for Ian Piumarta's lib6502 in that case.
https://www.piumarta.com/software/lib6502/
https://www.piumarta.com/software/lib6502/