|
Learn
| Upgrade Your Skills |
|
|
#4 – New 65xx Macro Assembler
|
|
|
Imagesource: https://github.com/0xC0DE6502/
|
|
|
With the Elite source code being available, a bigger bang was still missing when it came to tooling. And this also came in February with the debut of a fresh, new, still steaming assembler. Programming in Assembly is either huge fun, or a real pain-on-the-dark-side-of-the-moon™ – depending on who you ask. Assembly especially for the 65XX family of processors can be real fun though, at least if you have the right assembler at hand, and especially if it supports macros and comes with a whole bunch of build-in features on top of that. And if we take exactly this as the basic definition of fun, then the fun should have no end from now on. Why? An unknown Acorn Electron fanboy going by the twitter handle @0xC0DE6502 has recently released a new macro assembler for the 65XX processor family. And this thing has it all. If you know BeebAsm, you'll feel right at home almost immediately. max65 not only borrowed inspiration, but many of the directives and build-in functions are virtually the same. The documentation is excellent, and for those who like to make life difficult for themselves, this is not a good place to be. For everyone else - take a look, try it out, be happy.
|
|
|
Imagesource: Evan-Amos, Public domain, via Wikimedia Commons
|
|
|
A few weeks ago we talked about Gameboy Doctor. The project of Robert Heaton - tweeting as @RobJHeaton - is more than helpful for anyone, who gets the glorious idea to implement the 500 or so OpCodes of a Gameboy in the form of an emulator of some kind on some platform of some other kind. But at least as exciting is Robert's story, how he actually came to this project. His path - riddled with a number of stumbling blocks - actually led him to his own Gameboy emulator in Go - Gamebert. To this day not a fully functional project, but in the story behind it maybe one or the other will find her- or him-self. And even if not, Robert's story might be enough motivation, to learn more about Assembly and the inner workings of a CPU. Nice reading for a few free minutes.
|
|
DIY discrete UART Receiver
|
|
|
Imagesource: https://hackaday.io/JoelBasel
|
|
|
Building your own UART Receiver is one thing. Building an UART receiver without any ICs, but only using self-made logic gates based on transistors, is quite an achievement. Considering that the creator behind this project - Joël de Kanter with a profile at hackaday.io - did exactly that as a school project, one can only show respect. 👏 Unfortunately the documentation is only available in German, but it can of course easily be translated into other languages. It's not like we lack the tools for that today. Joël writes, that he actually wanted to build a CPU, but it was too complicated ... quite a pity, because I am sure that he would not only have made it. The project would have been a wonderful experiment and a great lecture for sure.
|
|
|
Imagesource: https://app.siliwiz.com/
|
|
|
Granted. We all know how to program. At least in one language. Most also can manage one level lower. Assembly. Even further down it gets tighter - machine code. Below that it gets really tight - we are talking about the hardware design of a CPU and potentially microcode. But the likelihood that you are equipped with detailed knowledge at this level is still high, because you are reading our newsletter. But what about even further down? So not just really close to the metal, but right there - on the metal? Thin, isn't it? And to be honest, hardly anyone will ever design lithography masks for more or less complex digital circuits themselves. But wouldn't it be great if you knew, how it all worked anyway, so that after a zombie apocalypse you'd be able to start the whole thing all over again with 8-bit computers, internet, crypto, NFT, ML and all the other good things of life? 🤔 The team behind Wokwi to be found as @WokwiMakes is making it happen. A friendly hello to: SiliWiz. After a nearly 3 hour study of the excellent introduction to the subject, you screw together your own semiconductors. Literally. A little bit of substrate here, a little bit of polysilicon there, and you can admire the switching behavior of your own construction in the simulation. Equipping a whole ASIC with it ... probably not. Nevertheless, it is exciting to have this knowledge under the belt.
|
|
|