The SEC/SBC pair was subtraction on the 6502. SEC set the carry - meaning no borrow - then SBC subtracted with borrow. Forget SEC and your result was off by one in the other direction from the ADC mistake.
KIM-1
@kim-6502.bsky.social
The KIM-1 and classic 6502 related topics. Zero page FTW!
The Apple II disk controller used only eight chips. Wozniak replaced the typical 50-chip design with software running on the 6502. The CPU did the encoding, timing, and synchronization that other systems handled in hardware - he traded transistors for code and saved Apple a fortune.
Citadel 2 disassembly WIP. I think this 65c02 instruction only gets executed when the game is completed. It freezes the CPU when executed on a 6502! Maybe the author tested it on his BBC Master only? And nobody ever completed the game on a BBC Micro to discover this?
8-bit optimization for Z80 and 6502 in 2026. Multiplication and division routines #retro #retrogaming #z80 #6502 nanochess.org/article_8_bi...
8-bit optimization for Z80 and 6502 in 2026
Optimizing multiplication and division routines for Z80 and 6502 processors.
nanochess.org
It's easy for a new 6502 programmer to forget that the I flag disables interrupts when set, and mistakenly think that SEI switches interrupts on, while CLI switches them off. Particularly if you've just been using an 8086 where CLI disables interrupts and STI enables them! The Z80 DI/EI is clearer.
The 6502 community published newsletters - 6502 User Notes, The KIM/6502 User Notes, and later COMPUTE! magazine. All hand-typed, mimeographed or offset-printed, mailed to subscribers. Social networking in the '70s meant a PO box and a stamp. And a LONG ping time.
SEI disabled interrupts. CLI re-enabled them. Between those two instructions you were invincible - nothing could interrupt your critical section. Forget to CLI afterward and your system went deaf to the outside world. Many a KIM-1 sat frozen because someone forgot one three-letter instruction.
New blog post - Speeding Up a Timebomb blog.tynemouthsoftware.co.uk/2026/08/time... Timebomb is a nice little VIC20 BASIC game, but the maze generation at the start was very slow, so I rewrote it in 6502 assembler. This one contains lots of hints and tips for VIC20 BASIC and 6502 assembler coding.
One Hour / 30ish Random Commodore VIC20 Games🕹️ Using Penultimate+2 & Arduino 'new' game every 2mins www.youtube.com/watch?v=QPNw... #RetroGaming #Retrocomputing #8bit #VIC20 #Commodore #commodorevic20 #PenultimateCartridge #VIC20Rulez
One Hour / 30ish Random Commodore VIC20 Games🕹️ Using Penultimate+2 & Arduino 'new' game every 2mins
YouTube video by Rod Hull
youtube.com
The 6502 could address 64K of memory but had no memory management unit. If your program wrote to the wrong address, it could overwrite the operating system, the display, or its own code. There was no protected mode: Every program ran with root privileges whether it deserved them or not.
The KIM-1 had an expansion connector with the full address bus, data bus, and control signals broken out. It was designed to be the core of something larger. Most trainers were dead ends. The KIM-1 was a starting point with a 44-pin invitation to keep building.
If you go out of your way to program 6502 in the year of 2026 just for the heck of it I like you and I see you as the Real Programmer. Bonus points if you are younger than 30. In that case you are the kind of person who will save this god-forsaken Tech "industry".
6502 is the only time I ever enjoyed writing assembly. It's fun, and feels good in the brain. I feel seen by this post. I'm in my 40s tho. But I learned it in my 30s so I guess that's good right?
A deep dive into the TIM 6530-004 Jolt Superjolt Demon software. 1K 6502 code from 1975. The Jolt was maybe the first 6502 based computer, before the KIM-1 and la year before the Apple 1 retro.hansotten.nl/6502-sbc/jol...
JOLT TIM DEMON explained – Retro Computing
retro.hansotten.nl
🔥 Retro CPUs compared A recent article compares the Z80 and 6502 CPUs to their relatives, showcasing the evolution of processor design and technology. This comparison highlights the adva... 🌐 aitechcodex.uk/news/1235/?utm_source=bluesky&utm_medium=social&utm_campaign=daily_news 📡 t.me/AITechNewsUK
The 6502's ADC instruction always added with carry. There was no plain ADD. Forget to CLC first and your math was off by one. Every 6502 programmer has lost at least one evening to a missing CLC. The carry flag giveth and the carry flag taketh away.
We had a batch of Acorn System Ones, so my first ever computer experience was programming in 6502 assembly. Our single PET turned up later.
An update to the opcodes app is now available. * Z80N opcodes and info * Missing transputer instructions Remember to tip your developer! apps.apple.com/us/app/opcod...
probably the most important mainer of all time. and no, i don't know why his hat is so small. this is chuck peddle, inventor of the 6502 microprocessor
The VS Code extension is now available, hopefully it will work on other people's machine, just not mine: marketplace.visualstudio.com/items?itemNa...
Oric OSDK - Visual Studio Marketplace
Extension for Visual Studio Code - Oric Software Development Kit - 6502/XA assembly highlighting and Oricutron debugging
marketplace.visualstudio.com
The Tamagotchi ran a 6502 core. A virtual pet powered by the same instruction set as the Apple II. From Wozniak's garage to a plastic egg on a keychain. The 6502 never cared what you put it in.
Mike Naberezny maintains py65 - a 6502 simulator written in Python. Load a binary, set breakpoints, inspect memory, step through code. No hardware needed. Just pip install and you're running 6502 assembly on a modern laptop. The tools keep getting better even as the CPU stays the same.
101 BASIC Computer Games project for the Ben Eater 6502 homebrew computer #retrocomputing #retrogaming
101 BASIC Computer Games (for the Ben Eater 6502)
After building Ben's 6502 computer, and having gotten to the point it was running his build of MS-BASIC, I wanted to play around with some...
old.reddit.com
Are you interested in Conway's Game of Life implemented in old 8-bit 6502/6510 assembly? Then this might be a treat video just for you! #Commodore64 #Conway'sGameofLife #Maths youtu.be/BqrMSJxxaAM
C64 - Conway's Game of Life with source code (6502/6510)
YouTube video by Martin Piper's mostly Commodore related memories
youtu.be