Elektrine lite

← Feed

@mcmartin@mastodon.gamedev.place

Post #2006256

2026-05-05 07:47 UTC

I've said this before, but I may as well say it again: more people should be doing 8- and 16-bit homebrewing, Even in assembly language, these have dozens of the friendliest tutorials ever, and the hardest part is just getting a toolchain together that will turn your source code into binaries that *run* on the consoles or in emulators. I've been putting together quick build-and-run tutorials to close that gap, for a great many systems. Check it out. https://bumbershootsoft.wordpress.com/platform-guides/ #retrocomputing

Replies (14)

  • @techokami@woof.tech 2026-05-05 09:10

    @mcmartin@mastodon.gamedev.place One of the more interesting ways of getting started with this? Play around with the Sonic 1 disassembly! You get a readable code base made from 68k assembly that you can freely mess around with, try making changes to learn how the language and platform works, turn it into something completely different if you want! Then you can have more confidence in using SGDK to make something from scratch :) https://github.com/sonicretro/s1disasm

    Open ##2006362

  • I'm still interested in finding good *modern* tutorials for the 8- and 16-bit CPUs. 6502 has several good ones (https://skilldrick.github.io/easy6502/ is the go-to), but I haven't found any nice modern preferably-interactive tutorials for the Z80, 6809, or m68k. Any of you know of any? #retrocomputing #z80 #motorola6809

    Open ##2010389

  • @mcmartin I wanted to suggest gamebou advance homebrew but that's 32bit

    Open ##2010390

  • @wec@fv390.hs.bam.moe 2026-05-05 11:10

    I learned more about computer architecture than anything ever by manipulating the MIT TRIX 68000 C compiler to generate flat binaries at the correct load address for the Genesis; I didn't really know what I was doing walking in but I learnt a lot about random stuff like memory access alignment, relocating linkers, and fixing compiler bugs in the process seriously, people need to try to bend simple computers to their will!

    Open ##2010391

  • @FurryBeta@shark.community 2026-05-05 12:22

    @mcmartin Commodore had great programming guides for their products: schematics, complete memory maps, examples for all the assembly language instructions, etc

    Open ##2018679

  • @lhauser@mefi.social 2026-05-05 14:30

    @mcmartin Oh, this is very exciting, since I'm now retired and am toying with the idea of learning 6502 machine language on the Apple II. I use Virtual ][ on the Mac for emulation. It allows me to do Z80 and CP/M as well, which is what first drew me to Apple II emulation; I was a Commodore 64 guy back in the day.

    Open ##2019969

  • @r@glauca.space 2026-05-05 14:42

    @mcmartin going to join the people slightly disagreeing: retro 32-bit systems have a lot less "weird legacy problems" and provide a better path forward to newer systems

    Open ##2035009

  • @astraluma@tacobelllabs.net 2026-05-05 15:17

    @mcmartin there's a version of me that ran off to teach the TMS9900 how to multitask

    Open ##2035010

  • @Sonic2k@oldbytes.space 2026-05-05 15:44

    @mcmartin They won't because 8/16 bit is scoffed at, even from way back when. If it doesn't run node.js/.net core/ then nobody's interested.

    Open ##2035012

  • @nivrig@mastodon.social 2026-05-05 16:00

    @mcmartin I did something similar (but smaller!) about a year ago: https://s73.girv.in/glog/2025/2025-04-22-retrodev-delve-1.html RE: Amiga. vbcc is easy to set up, but the code is kind of slow compared to the gccs. That's not an issue for everyone of course :) This is a good, one-stop-stop for Amiga C/asm, with vscode and gcc: https://github.com/BartmanAbyss/vscode-amiga-debug/ RE: C64 (and VIC20) Oscar64 is worth a look.

    Open ##2035013

  • @shonky@tech.lgbt 2026-05-05 16:02

    @mcmartin I tend to use VASM for assembling source code to run on real hardware, though I’ve also used CA65 for 6502/826 chips

    Open ##2035015

  • @rhempel@cosocial.ca 2026-05-05 16:05

    @mcmartin As much as I have fond memories of bare metal programming on 68xx, 6502, and other 8 bitters, there's nothing special about them that you can't also learn on a very inexpensive ARm Cortex-M class development board. They often come with a debug interface already built in, and cost anywhere from 10 to 30 bucks and the tool chain is free. I have a project called Adaptabuild that I need to dust off - it's a containerised build/debug environment. https://github.com/rhempel/adaptabuild

    Open ##2035016

  • @csepp@merveilles.town 2026-05-05 16:35

    @mcmartin What about something like PICO-8?

    Open ##2035018

  • @ddlyh@topspicy.social 2026-05-06 02:29

    @mcmartin A shame there's nothing on CP/M (or MP/M) (yet?)...

    Open ##2056260