Jean-Marc Gillet

@duende24.bsky.social

- On the ZX81, both plain and alternate Z80 register sets are freely available to user machine code (with the exception of af,af'). - On the ZX Spectrum, both register sets are available (except af,af' once again) but only in a critical section between di and ei. #z80

ex (sp),hl is a wonderful Z80 instruction. It lets you end a routine with: ex (sp),hl inc hl ex (sp),hl ret so you can stuff a parameter right after the call without having to clobber a register. I had a eureka moment reinventing the wheel. 🙂 #z80

Please accept my apologies for a post yesterday about the weakening Gulf Stream. I didn't verify the consequences enough. The *extreme* temperatures will get significantly lower. I was too alarming. A lesson for me. I won't post something on that topic for a long time.