0xC0DE's Avatar

0xC0DE

@0xc0de.bsky.social

Acorn Electron fanboy | 6502 coder https://0xc0de6502.github.io

1,079 Followers  |  419 Following  |  863 Posts  |  Joined: 17.08.2023  |  2.2457

Latest posts by 0xc0de.bsky.social on Bluesky

Yeah, same, though my Electron project folders are reasonably structured (and mirrored to github)

25.10.2025 17:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

While coding Electroniq (Acorn Electron emulator) I got into the habit of writing down ideas, research, tech info, etc etc in a simple notes.txt file. This is now a 4300+ lines document and I'm very happy with it, considering my degrading memory and sparse comments in my source code ๐Ÿคฃ

25.10.2025 16:24 โ€” ๐Ÿ‘ 18    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Hidden sectors. The encrypted bootstrap code is in !BOOT and is laced with the usual stuff: overwriting the vector table, *FX200,3, kicking out all ROMs, etc.

25.10.2025 15:36 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

After getting rid of decryption and other shenanigans, we discover the secret:
.read_sectors ;read 7 sectors to &1d00
lda #$72
ldx #$8a
ldy #$2f ;YX = OSWORD control block
jsr $fff1 ;OSWORD &72 ADFS read blocks
lda osword_block ;get error code
bne read_sectors ;retry on error
rts ;i.e. jmp &1d00
2/2

25.10.2025 15:06 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

From tape protection rabbithole to disk protection rabbithole. This Acornsoft "Plus 3 Games" disc (stairwaytohell.com/electron/adf...) appears to contain only 2 small files, but upon boot you can still play 3 different games! The code in the !BOOT file is no match for modern emulators though 1/2

25.10.2025 15:04 โ€” ๐Ÿ‘ 7    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Testing is fine, just don't move over to the dark side permanently ๐Ÿ˜†

24.10.2025 06:08 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Rocket science is child's play in comparison!

24.10.2025 06:06 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ˜‚

23.10.2025 17:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Always nice to see it on the actual machine you're making it for ๐Ÿ˜Ž MMB is not the most user friendly format. You can always load from tape again ๐Ÿ˜„

23.10.2025 15:37 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I'm hopeless when it comes to hardware ๐Ÿคฃ Luckily the dirt cheap usb audio device does the trick for me, so I can focus on writing software again ๐Ÿ˜Ž

23.10.2025 13:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yes, that is possible, or even switch the whole colour palette off for a certain part of the screen

22.10.2025 19:46 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I was starting to wonder whether it doesn't work because Windows 11 simply can't see anything plugged into the jacks. It's not a modern speaker or microphone that I'm plugging in after all

22.10.2025 18:47 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

That is definitely not the layout of the Electron screen ๐Ÿ˜…

22.10.2025 18:44 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

My laptop has those jacks too but I can't get them to work with the Electron no matter what I try

22.10.2025 18:33 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Nice compression ratio! ๐Ÿ—œ๏ธ

22.10.2025 18:10 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

My custom tape loaders now confirmed working on a real Acorn Electron, including some lost bytes due to crippled MODE 1 ๐Ÿคฃ I had trouble connecting my laptop (playuef, audacity) to my Electron, until I bought a cheap usb audio device aka "external soundcard". Loading/saving data works perfectly ๐Ÿ˜Ž

22.10.2025 18:00 โ€” ๐Ÿ‘ 26    ๐Ÿ” 2    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0

I can't remember exactly, but I think I managed to save most of my childhood programs/experiments that I made in BASIC/asm

22.10.2025 09:51 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I checked some of my old tapes a few years ago, until to my horror the tape player was 'eating' my tapes!

22.10.2025 07:44 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

That's great, thank you!

21.10.2025 15:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thanks Dave!

21.10.2025 14:31 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

That would be great, thank you, but please don't worry if it is too much hassle! FYI, I may be getting XOR from someone else as well (but you never know with old tapes and old tape decks)

21.10.2025 14:30 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I am basically looking for exact digital copies of original Acorn Electron tapes, in a suitable format like HQ UEF (not UEF), WAV or something like that. Standard UEF/SSD/ROM files usually don't contain tape protection code and custom tape loaders anymore

21.10.2025 13:39 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

3D Pool, Bed Bugs, Birdstrike, Boulderdash, Bug Eyes 2, Fantasia Diamond, Galaforce 1 + 2, Impossible Mission, Indoor Sports, Jet Set Willy 1 + 2, Mikie, Summer Olympiad, Superman, Ultron, Wizzy's Mansion, XOR, Yie Ar Kung Fu

21.10.2025 13:19 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Anyone who has (or can make!) *original format* tape images (HQ UEF, WAV, etc) of Acorn Electron games that have tape protection and/or custom tape loaders, please get in touch ๐Ÿ˜Ž
Examples of games I am looking for in next post...

21.10.2025 13:19 โ€” ๐Ÿ‘ 14    ๐Ÿ” 9    ๐Ÿ’ฌ 4    ๐Ÿ“Œ 0

Quick tip: you can remove "cpx #255" altogether ๐Ÿ˜Ž

20.10.2025 15:14 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Very handy! I frequently use C/JS/Python/etc to create mockups and PoCs

19.10.2025 20:47 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

It's pretty straightforward but interesting at the same time!

19.10.2025 17:53 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

I was curious how game devs made custom tape loaders back in the day. Here is my disassembly (+comments) of the tape loader of Way of the Exploding Fist (Acorn Electron). It loads "encrypted" continuous streams, which are still made up of blocks so you can rewind & retry github.com/0xC0DE6502/c...

19.10.2025 17:31 โ€” ๐Ÿ‘ 28    ๐Ÿ” 4    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Have fun at ABUG! Not much programming will get done over there ๐Ÿ˜„

18.10.2025 07:56 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Haha, you're totally right, on to the next bit!

17.10.2025 16:25 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@0xc0de is following 19 prominent accounts