Derek Bolli

Results 8 comments of Derek Bolli

ZX81 uses IX register for display (including WRX hires) so unless your code runs in the equivalent of FAST mode, you will need to preserve IX via --reserve-regs-ix

@suborb > I've got a memory of af' being reserved as well Correct, the NMI display ROM routine at $0066 uses AF' as a display line counter.

@[feilipu](https://github.com/feilipu) > Is there a web emulator around for ZX81 that you can drop .P files into and run them? http://www.vavasour.ca/jeff/ts1000/ if your browser supports java

@suborb Thanks for your response, making that change now works for constants LD BC,$1234 ;[61E5] 01 34 12 CALL STACKBC ;[61E8] CD 2B 2D LD BC,$3456 ;[61EB] 01 56 34...

FYI, I'm running lua 5.4.6 on macOS 14.1.1 and I needed to install [bit32 via luarocks](https://luarocks.org/modules/siffiejoe/bit32) ``` $ luarocks install bit32 ``` then I added ``` bit32 = require( "bit32"...

Build script still appears to be looking in /usr/local and fails with error message ``` ti8xk.c:20:10: fatal error: 'gmp.h' file not found #include // Not much you can do about...

I have re-tested further and workaround above works but I had to add [-E](https://stackoverflow.com/a/50603486) as in ``` sudo -E ./build.sh ``` to preserve the environment variables Thanks for the workaround...

Thanks for the update. Works for me 👍 Nightly build for 20240312 compiled successfully on macOS 14.4 after commenting out the "export CFLAGS" and "export LDFLAGS" commands listed above and...