I was nosing around in the latest source for Smsqmulator and I might have found
a bug in the floppy driver code. Mind you, it's Java, so all bets are off!
In formatDrive() it has a comment that d0 is the format type, 0=sd, 1=dd, 2=hd
or 3=ed etc. However the code looks to be getting the format type from register
d2 and not d0. As in:
Int type = (this.cpu.data_regs&0xffff)-1;
I might be wrong of course, it does happen, but it looks odd given the comments.
Sent from my Android device with K-9 Mail. Please excuse my brevity.
QL-Users Mailing List