MilliForth-6502, A Forth For The 6502 CPU

I have a new post on Hackaday: MilliForth-6502, A Forth For The 6502 CPU.

Some material was deleted by the editors so I have included it below for the archive.

The main code is the assembly code in sector-6502.s.

These are the commands I ran to take it all for a spin:

mkdir /tmp/milliForth-6502
cd /tmp/milliForth-6502
 
git clone https://github.com/cc65/cc65
cd cc65
make
sudo make install
cd ..

git clone https://github.com/ShonFrazier/lib6502
cd lib6502
make
sudo make install
cd ..

git clone https://github.com/agsb/milliForth-6502
cd milliForth-6502
touch out
source do1 sector-6502
wc -c sector-6502.out
hd sector-6502.out

Building A Custom Zynq-7000 SoC Development Board From The Ground Up

I have a new post on Hackaday: Building A Custom Zynq-7000 SoC Development Board From The Ground Up.

The presenter starts by designing the power system, then makes progress on power, improves the schematic, integrates DDR RAM, adds USB PHY, Ethernet PHY, and SD card, starts on HDMI, makes progress on layout, makes progress on routing, continues with routing, configures with Vivado and estimates costs, receives PCBs and components, starts the PCB assembly, adds power rail components, adds core components, connects power and does initial programming, makes an LED blink, gets the ARM APU working, troubleshoots FT2232H to JTAG, resolves FT2232H to JTAG issue, adds UART and DDR, gets HDMI working, installs PetaLinux, and at long last configures USB and Ethernet in PetaLinux.

See AMD Zynq 7000 SoCs for specs from AMD. The executive summary is that this SoC includes an ARM Cortex-A9 Based APU and an Artix-7 FPGA (or a Kintex-7 FPGA on higher models). We suppose this is an opportune time to mention that in case you missed it Xilinx was recently acquired by AMD which is why you see the AMD branding now.

Summarizing references from these videos, other videos include What your Differential Pairs Wish You Knew and How to Achieve Proper Grounding by [Rick Hartley]; books referenced include Printed Circuits Handbook 7ed and Signal and Power Integrity Simplified 3ed; courses referenced include Mixed-Signal Hardware Design with KiCad and Advanced Digital Hardware Design from [Philip Salmony]; and software used includes EasyEDA, Vivado, Vitis IDE, and Tera Term.

Channel News #6: I Have a New Gig! Also I’m Planning Some Things | In The Lab With Jay Jay

This post is part of my video blog and you can find more information about this video over here.

You can support this channel on Patreon: patreon.com/JohnElliotV

In this video I report in about what’s going on around here.

My big news is that recently I got a gig working for Hackaday. You can find my articles over here: https://hackaday.com/author/JohnElliot

I mention that I am reading AVR Programming: Get Under the Hood of the AVR Microcontroller Family which is written by Elliot Williams who is Editor in Chief over at Hackaday. The big thing I am hoping to learn from this book is how to generate tones, but I haven’t read that part of it yet!

The new book teardown which I am going to need to re-record is for Electricity and Magnetism 3ed.

The old book teardown which I have been working on is for Electric Circuits.

I have done the introduction for the Maxitronix 30in1: Introducing Maxitronix 30in1 | Maxitronix 30in1 | Learning Electronics In The Lab With Jay Jay but I haven’t done the first project yet. The thing that is tripping me up is making a decision about whether I am going to start doing the LTSpice simulations in the 30in1 videos or if I’m going to put that off until we start our next Maxitronix kit… I will have to make a decision about that soon.

I am working on Jaycar and Silicon Chip Mini Project number JMP003. But I’m stuck debugging it. I hope to catch up with that soon. I have heaps of Mini Projects to do, I am embarrassingly far behind.

I have recorded the introduction for the Learning the Art of Electronics project that we’re just about to kick off: Introducing Learning the Art of Electronics | Learning Electronics In The Lab With Jay Jay but I’m still waiting for the 2nd edition of the book to turn up. Fingers crossed it gets here in the next couple of days otherwise I will need to start on this project using the 1st edition of the book.

There’s a bunch of stuff here that has arrived in the mail so you can expect to see a mail call video covering that stuff soon as well.

Thanks very much for watching! And please remember to hit like and subscribe! :)


Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!

Yum Cha Knife BladesThis is an image of the product.

Let’s go shopping!