Hello, I was looking for a way to seed the srand() function on the ZX81 with z88dk and found this thread.
Any advice ?
Thank you !
PEEKing memory locations with z88dk (for ZX80 randomiser)
Re: PEEKing memory locations with z88dk (for ZX80 randomiser)
Camilo Eid - ZX81
Re: PEEKing memory locations with z88dk (for ZX80 randomiser)
You can use the EXTERN statement in ASM to load a variable from ASM that will be accessed from C.