Code: Select all
fsutil file createnew cartridge.mdr 137923
Code: Select all
FORMAT "m";1;"TEST"
Code: Select all
CAT 1
So, conclusion: Something is appending stuff to that file, which should never ever happen.
Code: Select all
fsutil file createnew cartridge.mdr 137923
Code: Select all
FORMAT "m";1;"TEST"
Code: Select all
CAT 1
Version 1.24 partially addresses this issue.MunichSpec wrote: ↑Tue Jun 08, 2021 10:47 am I just encountered a very weird behaviour with EightyOne 1.23 in conjunction with the Interface 1/Microdrives
The thing to keep in mind is that when you load a program into a real ZX81 then this is the behaviour you get there also. If the behaviour of EightyOne were changed as you suggest then it would no longer being emulating the behaviour of a real system.
Got it, thanks for the feedback!Fruitcake wrote: ↑Tue Feb 08, 2022 1:01 pmThe thing to keep in mind is that when you load a program into a real ZX81 then this is the behaviour you get there also. If the behaviour of EightyOne were changed as you suggest then it would no longer being emulating the behaviour of a real system.
To tackle this, what your program should do is allow the Frames counter to clock up for a varying length of time before you use it to seed your random number generation. An easy way to do this is to wait for the user to press a key to move onto the next title screen or to begin a game, etc. It's very unlikely they would always press a key after exactly the same number of TV frames have elapsed, and hence the user in effect provides the seed for the random number generator! If using RND from BASIC then you would simply execute RAND once the user has pressed a key.