3 ms·
I still find it to be an interesting intellectual challenge, even though it has no commercial use that I know of. The huge volume of embedded cores based on a
by userbinator 8y ago
I still find it to be an interesting intellectual challenge, even though it has no commercial use that I know of.
The huge volume of embedded cores based on a 6502 would disagree strongly --- I'm sure everyone has at one point used a 6502-based embedded system. They're everywhere in things like keyboards and mouses, LCD monitors (the MCU responsible for generating the OSD and such), and toys like the famous Tamagotchi and Furby, as well as keychain picture frames:
https://hackaday.com/2013/05/24/tamagotchi-rom-dump-and-reverse-engineering/ https://hackaday.com/2013/05/24/tamagotchi-rom-dump-and-reve...
https://news.ycombinator.com/item?id=17751599 https://news.ycombinator.com/item?id=17751599
http://spritesmods.com/?art=picframe http://spritesmods.com/?art=picframe
Also popular "not very good for HLL" architectures that yet have (subset of) C compilers for them include the 8051 and the Microchip PIC series.
- ci5er 8y agoWe (the company I worked for as a Systems Engineer in Japan) sold hundreds of millions (billions?) of HC11s. Pretty much a 6809 SoC. Now, they were embedded in mass-consumer devices, so only a few people had to program them.
- quickthrower2 8y agoWould the Arduino chip be a better choice for the intellectual challenge? You get a lot of modules you can buy from different vendors, and at the end of the day it's a simple to program chip like the 6502 from what I have seen.
- octorian 8y agoThere is no "Arduino chip." Its a hardware module and software ecosystem built around the Atmel AVR microcontroller series.
- quickthrower2 8y agoYeah I was being lazy but I meant the chip that come on e.g. an arduino uno, i.e. ATmega328P
- a1369209993 8y ago> not very good for HLL I think it's worth noting that it's very easy to treat the 6502 as having 128 16-bit general purpose registers. If you're okay with poorly optimised code, that makes for a very nice compiler target, while still allowing you to break out to hand-written assembly for inner loops and other sensitive areas. Edit: On rereading, TFA links to https://dwheeler.com/6502/a-lang.txt https://dwheeler.com/6502/a-lang.txt, where this is approach is discussed under solution 3.