#mos6502

2025-06-12

This book has just arrived. Let's see what all the fuss is about and whether the #mos6502 or the #z80 is the better CPU... 😉

German edition of the book "Programming the Z80" by Rodnay Zaks
Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-06-10

@dendrobatus_azureus @sotolf It's #MOS6502 assembly, and assuming a #C64, it jumps right in the middle of some hw init routine, writing a CIA register with whatever the accumulator currently holds .... and THEN causes a software interrupt, which was typically only used for patching (non electrically-erasable) ROM?* 🤔

Ok, just in case I miss something obvious: Is this code supposed to make any sense? 😆

* could be used for poor-man's syscalls / context switching, but I guess that's not contemporary style 😏

2025-06-08

Five minutes until we code some #mos6502 assembly! Wait... I can't code 6502? Oh, never mind! We'll try anyway!

2025-06-06

Old school DRAMs have a lot of timing requirements. I’ve been validating output from the #CPCZERO sequencer prototype against them - and everything checks out 🙂

Comments in my notes are where the timings depend on other components, such as the multiplexers.

#mos6502 #Homebrewcomputer #amstrad

4164-12 timing diagram with my annotations.A page of timing details from the data sheet. This is most of the relevant numbers.My notes listing relevant timing requirements versus measured data. This is for a read cycle. Most of also apply to a write cycle.
Felix Palmen :freebsd: :c64:zirias@bsd.cafe
2025-06-06

I recently took a dive into #C11 #atomics to come up with alternative queue implementations not requiring locking some #mutex.

TBH, I have a hard time understanding the #memory #ordering constraints defined by C11. I mean, I code #assembler on a #mos6502 (for the #c64), so caches, pipelines and all that modern crap is kind of alien rocket science anyways 😆.

But seriously, they try to abstract from what the hardware provides (different kinds of memory barrier instructions, IMHO somewhat easier to understand), so the compiler can pick the appropriate one depending on the target CPU. But wrapping your head around their definition really hurts the brain 🙈.

Yesterday, I found a source telling me that #amd64 (or #x86 in general?) always has strong ordering for reads, so no matter which oderding constraint you put in your atomic_load and friends, the compiler will generate the same code and it will work. Oh boy, how should I ever verify my code works on e.g. aarch64 without owning such hardware?

memory ordering constraints in my lockfree variant of the queue used to schedule commands for a different service thread. Are they correct? 🤔
2025-06-01

¡El MOS Technology KIM-1 (1976) fue la pequeña gran máquina que democratizó la computación! 💻 Basado en el 6502, este kit accesible fue la puerta de entrada para miles de programadores y sentó las bases de la era de las PCs.
retrocomputingmx.com/tdxk

oric_issoric_iss
2025-05-31

I've just published the sources for generator adapted and optimized ,. Original code by: @the8bittheory.
LINK: 😎github.com/iss000/oricOpenLibr

2025-05-31

What started out as a repair video for a broken PET 3032 became a video on repairing two PET keyboards first: youtu.be/bPpjxiyjXZ8 (the rest of the repair is to follow)
#8bit #mos6502 #commodore #commodorepet

pagetablepagetable
2025-05-08

6502 Illegal Opcodes in the Siemens PC 100 Assembly Manual (1980)
pagetable.com/?p=1798

oric_issoric_iss
2025-05-06

generation on in just 50 milliseconds (screen drawing included)!😎

2025-05-02

Vorbereitung für das #VCFe. Ein paar Give-aways für die Führung in der #datArena. #MOS6502 #vintagecomputing #vclab

A black and white keytag with the inscription "MOS 6502." The surface appears textured, and there is a hole for attachment. The tag is placed on a wooden surface.
𝚜𝚞𝚣𝚊curlysz
2025-04-29

München? Wenn dir dieses Schild begegnet, fahr nicht einfach vorbei. Da lang geht´s ins Vintage Computer Paradies! VCFe this weekend!

Also: abbiegen, Vorfahrt gewähren, und dann straight zurück in die Zukunft, äh, Vergangenheit!

Straßenschild an einer Autobahnauffahrt mit blauem Hinweisschild „München“, mehreren Verkehrsschildern und klarem Himmel – Wegweiser zum Vintage Computer Festival Europe (VCFe), das an diesem Wochenende in München stattfindet.

Quick reminder that the #retrogamedev IRC channel in Libera is still on: usebox.net/retrogamedev/

Come and lurk with us! There's also the occasional chat that you may love too; likely will share some of the development of my new MSX2 project.

#amstrad #msx #c64 #zxspectum #gamedev #dos #nes #sms #gb #z80 #MOS6502 #whatever

2025-04-22

Piers made a 6502 to 6504 adapter for the old CBM disk drives. Very neat!

youtube.com/watch?v=fkwoDQRJFn

#retrocomputing #commodore #mos6502

2025-04-19

Now #mos6502 seminar with svolli
#Revision2025

2025-04-18

Thanks to svolli I now own two fake 65C02 -- which are actually real 6502! Oh how the tables have turned...
#mos6502

Two DIP40 ICs labeled 65c02
2025-04-16

Learning Assembly for Fun, Performance and Profit

Author: Babbage
Original: thechipletter.substack.com/p/l

#assembler #z80 #68kmla #mos6502 #x86 #arm #riscv

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst