What is Nostr?
@haitchfive /
npub1mgt…uy07
2025-01-05 17:31:46

@haitchfive on Nostr: In order to develop this kind of thing in the past, I would have probably used C, or ...

In order to develop this kind of thing in the past, I would have probably used C, or a macroassembler, or I would have prototyped it in BASIC or Pascal, replacing part by part with machine code routines to gain efficiency.

But now I'm trying a new development method I hadn't used before. Because I have internal access to my emulator, and it's written in Go, I have a set of Go routines that can "print" and "plot" to ZX Spectrum display memory (a 6192-byte framebuffer) quite fast, without the cycles of trial and error, compilation, and upload to an emulator that you usually have when you use a "normal" toolchain.

So I can just implement the algorithms I want in Go, in the same binary as the emulator, and I can manage cycles, and memory better and translate those algorithms to #Z80 code only after they work perfectly, and without any toolchain-inflicted delays, zero.

If I'm successful in the long run, I will blog about it more in detail, and hopefully help others once this completely non-standard methodology is refined and mature.

#ZXSpectrum #Spectrum #Speccy #retrocomputing #retrogaming

Author Public Key
npub1mgt7337887sgfatcj2pf9g2w3t5d5pac85m4kudkm7ypenmfd3rq5tuy07