News for hackers. Stuff that matters.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by SanjayMehta on Sunday August 10, 2025 @09:54PM (#44860129)
I still have my zx-81, it powers up but the keyboard membrane is long gone. Learnt z80 assembly on it. Good times.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by stephbu on Monday August 11, 2025 @12:46AM (#44860807)
Yeah me too in 1982, using the Melbourne House Z80 reference, aged a young 10 years old. Working with POKE and no macro-assembler, I wrote mnemonics then translated them to machine-code by hand. A baptism of fire that to this day that I've not forgotten.

This book was the ignition that changed my life... https://archive.org/details/z-80-reference-guide-alan-tullya...

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by rwmj on Monday August 11, 2025 @07:58AM (#44863216)
Cover art to die for too!
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by YZF on Monday August 11, 2025 @01:54AM (#44861093)
I have my ZX-81 (with the 16KB expansion pack) and my ZX-Spectrum (with a microdrive). I think they're in working condition though they haven't been powered up like in 30+ years.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by JdeBP on Monday August 11, 2025 @05:14AM (#44862225)
Watching the retrocomputing enthusiasts, apart from obvious things like water damage, it seems that the first thing that one always has to check before attempting to power up is capacitors. A generalism true for all old electronics, rather than Sinclair-specific.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by actionfromafar on Monday August 11, 2025 @05:59AM (#44862529)
And always assume the C64 power supply will fry the computer. It fails over time by raising the output voltage.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by rwmj on Monday August 11, 2025 @07:54AM (#44863191)
Don't just plug it in! The power supply and/or VRM can fail in ways that deliver bad voltages to components. You might want to watch some of Lee's[1] videos first on how to bring up a ZX81 safely, or ask in his discord community for more help.

[1] https://www.youtube.com/@MoreFunMakingIt/videos

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by pjmlp on Monday August 11, 2025 @01:13PM (#44866743)
That is why my Timex 2068 has never left the box since around 1990.

Better admire for what it was and use an emulator instead.

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by YZF on Wednesday August 13, 2025 @01:29AM (#44884923)
Thanks for the tip! If/when I do I'll try to use a bench power supply so I can put a current limit on it.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by boomlinde on Monday August 11, 2025 @05:15AM (#44862228)
ZX Renew sells replacement membranes for £12 if you want to get it in working order.
[dead]
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by JdeBP on Tuesday August 12, 2025 @04:39AM (#44873855)
An interesting observation. It prompts the thought of how far away this simulator is from an actual ZX81, and how much it has been pulled away from a ZX81 by dint of training data where simulated retrocomputers of other types all boot into copyright messages. I wonder how often the spicy autocomplete engine tried to make it put up a "READY" or "OK" prompt.

One ZX81 clone actually did have a "READY" prompt, I read. Actual intelligence was doing the same in the 1980s. (-:

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Wednesday August 13, 2025 @03:16AM (#44885507)
Almost none of the domain knowledge came from Claude. This is something I did by hand 40+ years ago (an assembler and a disassemble/debugger, which is in parts similar to the emulator)

This time it was almost as fun : 1/8 of the mental effort per line, x 8 the speed.

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Wednesday August 13, 2025 @03:10AM (#44885465)
true - it's an homage to the zx81, ts1000, spectrum and ts2068
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by empressplay on Monday August 11, 2025 @01:51AM (#44861083)
Cool stuff! My first computer was the Timex Sinclair 1000 (when I was 6). Good times!

We did something similar for the Apple II, to compile Merlin assembly into a running emulator instance:

https://paleotronic.com/merlinplus/

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by pjmlp on Monday August 11, 2025 @06:30AM (#44862712)
Looks nice, however on laptop screens not all buttons are visible, it took a while to discover I could scroll to find "Assemble and Run".
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Tuesday August 12, 2025 @02:02AM (#44872915)
thank you. will or have fixed :)
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by pjmlp on Tuesday August 12, 2025 @05:17AM (#44874090)
Cool, looks alright now. :)
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by GPerson on Monday August 11, 2025 @08:50AM (#44863563)
Can you say what parts Claude was used for to speed this up?
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by xnorswap on Monday August 11, 2025 @11:19AM (#44865136)
My guess is most of it? This commit message for example sounds very much like a Claude result:

    Add Space Invaders game implementation in assembly language
    - Implemented the core game logic including player movement, missile firing, and invader behavior.
    - Added collision detection for missiles and bombs.
    - Included game state management for win/lose conditions and restarting the game.
    - Created functions for drawing game elements on the screen and handling keyboard input.
    - Defined constants and variables for game configuration and state tracking.

That last one in particular is exactly the kind of update you get from claude, it doesn't sound very human. "Constants and variables" eh? Not just constants or variables, but constants and variables.

Helpful, but not. Detailed, but not.

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Tuesday August 12, 2025 @02:06AM (#44872940)
rule #1 of ai programming: read and approve everything before accept. rule #2 do not let it write commit messages - i did not know notice that until many commits later. they are horrible. change 10 things - writes about the last one, too peppy too.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Tuesday August 12, 2025 @02:21AM (#44873029)
95% of it. It's a power tool.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by GPerson on Monday August 11, 2025 @02:06PM (#44867405)
Fast / slow mode breaks “Space Invader” by the way.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by andromaton on Tuesday August 12, 2025 @02:03AM (#44872922)
if by break you mean you can't see the action, that's by design :) otherwise, pls let me know.
Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by jlundberg on Monday August 11, 2025 @02:42PM (#44867850)
For people interested in the ZX community, be sure to check out the ZX Spectrum Next (ks3 ending within a week):

https://www.kickstarter.com/projects/spectrumnext/zx-spectru...

Re:Show HN: A Sinclair ZX81 retro web assembler+simulator by techempire on Wednesday August 13, 2025 @01:41AM (#44884984)
Good stuff. I still have my ZX-Spectrum and working fine. Impressive the value that those machines provided for the time