Create a new assembly file in QD.
Save it.
Repeat loop
Edit the file, and re-save it ( overwrite when prompted).
Assemble file, it works, no more errors!
Execute file - discover another bug.
End Repeat loop
At some point, I have closed QD and re-opened it from QPAC2 (Do the file then Execute to open it in QD) - because the weirdness happens.
The assembler, GWASS, seems to notice that the file has changed as it assembles with no, or at least, fewer errors, after saving.
Executing the newly assembled file, from the SuperBASIC command line, sometimes works, but sometimes throws up bugs that were previously fixed.
Looking back at the source in QD, it has changed! Previous changes have been undone.
Tonight I had a bug where I was copying a value to D0 for safety, then calling a subroutine that corrupted D0 - so much for safety. So I changed it to D2 and it worked fine for a few iterations, but then, it started failing again. On running it through QMON, I was seeing D0 instead of D2 - WTF? Looking back in QD, the code was incorrect and sure enough, D2 was no longer being used. "How strange!" I thought. (I didn't, it was more like "What the Fork!")
This wasn't just on one line, the register was used on about 5 or 6 lines, and each one had reverted back.
This is not the first time I've had this problem but I'm having difficulties tying it down to anything specific - other than normal use of the QL (QPC v4.05.10 on Linux, under Wine). It only seems to happen with assembly files - but that's maybe because that's about all I do these days on the QL!
Anybody else seen any weirdness like this? It's driving me absolutely bonkers. I feel how Dilwyn usually does when his PC is playing up!

Rant over.
Cheers,
Norm.