r/zxspectrum • u/nipicsing • 4h ago
r/zxspectrum • u/hillman_avenger • 8h ago
"Turbo Taxi" - Turbo Esprit in 3D, but like Crazy Taxi
* No AI whatsoever was used! :)
r/zxspectrum • u/kirby2000 • 22h ago
Super Mario Bros ZX 128k - Source release
This is something I've been playing around with for a while. I can't really release this in Itch as it's a bit too spicy so I'm including the source and the game files here for anyone who fancies making it better or having some fun with it.
I've not actually contributed very much to this, the source is already fully disassembled on the internet, the levels didn't need any tweaking, the only effort I put in was several weeks of talking Codex round to squeezing every last drop of performance out of the poor Speccy. This one was purely down to seeing if the Speccy could indeed do it, but to be honest anyone with time and a bit of knowledge of how the Spectrum works could have produced this.
Still it's got a playable frame rate (and runs like a dream at 7mhz and above) and contains the whole game. Apologies for the placeholder line are, hopefully someone can improve it.
Hope you guys get some enjoyment out of this and it doesn't inflame the AI debate around here. Although this was easy to create, I consider fun enough not to be slop.
r/zxspectrum • u/othermore_ • 14h ago
Teaching programming with a ZX Spectrum
I just wanted to share my story teaching coding to my kids :)
My first few basic programs were written in a ZX Spectrum (at some point I got my hands into an Amstrad and a Commodore, still using BASIC to play around).
I've been trying to teach my kids to code. I've tried several things: robots that get instructions through cards in a sequence, Scratch JR and Scratch, and python.
Surprisingly, what worked best was buying a ZX Spectrum+ and letting them play with it. I gave them a 40+ years old book called "Basic for children" and let them follow it.
The Spectrum worked because (a) they had a physical thing that looked interesting and they wanted to discover and (b) they did not have to type full instructions, only one click for each instruction (they still need to type the numbers and strings).
Even with how counterintutive the ZX Spectrum console is, for them it was kind of natural to write lines and overwrite existing lines or, as they say, "bring down" a line to edit it. BASIC's simplicity worked best than Python and the charm of an old machine worked best than the Scratch UI to keep them interested.
r/zxspectrum • u/Professional_Fee8344 • 18m ago
Faster and more reliable tape format?
I was recently working on my game for the Speccy 128K (AI-assisted). And when it became obvious that the file would be around 100 KB, I wondered whether it would be a nightmare to load from tape on real hardware.
Back in the day, with my Spectrum 48K, I had multiple games (pirated) that were written to tape from TR-DOS snapshots, so each was 48 KB, and each took around 4 to 5 minutes to load. Yet, every time the freezer in our kitchen started its pump, my deck emitted a short noise, ruining the loading process. My father noticed it and taught me to unplug the freezer during loading. So, one weekend, my parents returned home to find the freezer unplugged and a big puddle on the floor. Sure enough, I'd forgotten to plug it back in.
These days, remembering all of that, I asked AI to create a robust tape format that was faster than "native ZX" and packed with features.
Long story short, the result can be found here: https://github.com/JSmith01/zx-p4-tape
There are two demo tapes, in TZX and PZX formats. I encourage people with real hardware to try them on a real tape deck. As for emulators, I found that ZEsarUX doesn't handle TZX properly, although PZX loads fine. Fuse and Xpeccy-plus work just fine.
The format itself is twice as fast (it uses four signals for two bits per signal, compared to one bit per signal in the "native" format). It also supports chunked loading, which allows for faster in-loading corruption detection and can tell the user how far to rewind. It can also use parity chunks, allowing the restoration of one damaged chunk out of eight. Different simulations suggest that the format would very likely have the same resilience to "bad decks" as the "native" format (except for lower jitter tolerance).
I also tasked AI with finding prior art, so it gathered some historical evidence. Yet, nothing exactly matching this format has been found, despite my thinking I had seen a suggestion of transmitting two bits per signal in the Russian ZX Review magazine in 1994.
The format itself is nothing particularly complicated and, from today's point of view, could have been invented back in 1981, when the Spectrum was designed. We could have had a WAY better tape experience decades ago.
To sum up, this was a really interesting exercise, and I learned a lot while doing it. I plan to use the format in my upcoming game and hope someone else will find this code useful for their projects.