L Break Into Program

@breakintoprogram.co.uk

Blog: http://www.breakintoprogram.co.uk YouTube: https://www.youtube.com/BreakIntoProgram Ko-fi: https://ko-fi.com/breakintoprogram Software developer & electronics dabbler. Restoring & programming vintage computers from Acorn Atom to ZX81.

Okay so it's a bit ugly at the moment, mainly concentrating on getting the interface working between the JavaScript and C++ code. Can now select a tape image off the preloaded file system. Not live yet., still testing. Gap under speccy screen will eventually be filled with a virtual keyboard.

Screenshot of the emulator with added file select controls under the disassembly output.

Just had the weirdest thing happen. Was finishing some admin on my Macbook and my hearing aids suddenly started playing a Spectrum loading noise. For a brief moment I considered that the madness had finally overtaken me. Turns out I must have tripped Apple Music accidentally with this classic...

Apple Music showing Robin of the Wood recording I'd made a couple of months ago off cassette for reasons.

Bit of sneaky coding last night. Figured out how to call C++ functions from JavaScript in Emscripten. Again, very straightforward. So should be able to add some basic controls to the emulator. Like selecting tape image, reset, and so on.

Okay, you win some and you lose some. I was hoping to get the emulator online this evening but for some reason my hosting service is failing to serve up .data file types (the filesystem package) despite me adding it as a mime type. Too tired now to start debugging remote web servers.

The morning is still young yet coffee cup is empty, crossword has been solved, chores are done, cat is snuggling and code has been merged. Some refactoring ahead of the next merge that will include Emscripten support.

GitHub - breakintoprogram/emulator-z80: Speculation is my Sinclair Spectrum Z80 emulator written mostly as an exercise in C/C++

Speculation is my Sinclair Spectrum Z80 emulator written mostly as an exercise in C/C++ - breakintoprogram/emulator-z80

github.com

Further to my experiments using Emscripten, my proof-of-concept worked just fine, using the same SDL2 rendering methods that Speculation uses. Had a couple of false starts; was accidentally including the headers for SDL not SDL2 and was getting a weird error about YUV textures.

Speaking as an ex games dev and current commercial programmer, I’ve never understood this. The positives outweigh the negatives considerably. Most of the commercial devs I’ve worked alongside have had a sideline hobby. I’ve always encouraged it, good for wellbeing and self-improvement…

Chris Kerr@kerrblimey.bsky.social · last wk.

NEW: I spoke with multiple video game developers and a U.S. employment lawyer to learn more about restrictive side clauses that often prevent employees at major companies from pursuing hobbyist work or personal projects. In an industry renowned for creativity, why are we stifling it?