5 ms·
It can't be worth making, or counterfeiting, 6502's for the hobbyist market. Anyone have a clue as to what the mass market for these chips is?
by ajb 3y ago
It can't be worth making, or counterfeiting, 6502's for the hobbyist market. Anyone have a clue as to what the mass market for these chips is?
- bogantech 3y agoMaybe old industrial systems or something? WDC still manufactures them so there must be someone designing new things that use these for some reason
- mrWiz 3y agoI suspect that existing designs are built using them to avoid designing something new.
- JohnFen 3y agoI'm familiar with this one, but there may be others: embedded systems. There is a huge market of industrial controllers that were designed around the 6502 and for which there is a large, solid, existing code base. New designs often use 6502-based controllers in order to maintain compatibility with that code base, and existing machines need to be able to be repaired. Fun fact: the ARM is largely based on the 6502. You could argue that the 6502 was a RISC chip before RISC was a thing!
- LinuxJedi 3y agoI've been wanting to squeeze that ARM fact in one of my Archimedes blog posts, but somehow never got around to it. It is pretty cool how it was developed.
- Turing_Machine 3y agoI don't know if I'd go quite that far, but the 6502 definitely had some RISC-ish features. The Page 0 addressing mode basically let you use the first page of RAM more or less as 256 extra 8-bit registers (or 128 16-bit registers, etc.), as those locations could be accessed faster and with fewer instruction bytes than locations elsewhere in RAM. A fair number of languages were implemented on 6502-based machines by using multiple Page 0 locations to simulate wider registers.
- ojintoad 3y agoWhat a fun discussion http://forum.6502.org/viewtopic.php?t=720 http://forum.6502.org/viewtopic.php?t=720
- Joker_vD 3y agoDepends on what you call RISC, I guess: many people would argue that a load-store architecture is a required part of it, and the zero-page is actually an anti-thesis to that. In fact, it hints at the possibility of a memory-memory architecture (no general-purpose registers, minimal amounts of indexing/address registers). Implementations of such architecture could, of course, use whatever amount of hardware registers (unexposed in the instruction set itself) as a memory cache. Throw in some relaxed memory model, e.g. other cores don't see the memory stores via [STACK_REGISTER+offset] unless an explicit flush command is issued, and I imagine the end result will be quite nice to both use from the programmer's point of view (no register allocation!) and from the implementers point of view as well (register allocation is back, but now it's register- and memory-renaming, the latter being simplified by the lax memory model). One of the downsides is that the instruction encoding definitely won't be compact, with all those memory offsets instead of register numbers.
- JohnFen 3y ago> I don't know if I'd go quite that far Well, it is a touch hyperbolic, yes, but the 6502 could at least be considered a proto-RISC.
- Retr0id 3y agoWhoever is counterfeiting these won't just be counterfeiting 6502s, they'll be harvesting whatever parts they can find from the e-waste they have.
- sixothree 3y agoCorrect. There are counterfeit ROM, RAM, and CPU of all varieties out there.
- mschuster91 3y agoI wonder if it's possible to replace a ton of these really old CPUs by a combination of an FPGA, level shifters and a flash chip that contains a re-implementation of said CPU in FPGA bitstream.
- LinuxJedi 3y agoOh, absolutely, but it is usually way more expensive than buying a load of chips in the chance you'll get a genuine one. I work on a project called PiStorm that replaces the 68000 series of CPUs using a small FPGA for bus translation and a Raspberry Pi.
- JohnFen 3y agoYes, it's not only more expensive, but there are other considerations, such as power draw, heat generation, etc. that may be an issue.
- LinuxJedi 3y agoI do know the supplier I bought them from bought them in the hundreds. I also know I'm the first customer who has noticed they are counterfeit. So, there is still enough money there I guess.
- II2II 3y agoThese chips are not made. They are relabelled. In this case an older, somewhat compatible, and likely lower value chip was relabelled as something newer and likely more valuable. I have also heard of chips being relabelled as something incompatible, so in a sense the author got lucky. But I suspect you're right if it came to actual manufacturing of counterfeits.