u1 command 2040 disk drive

From: smf <smf_at_null.net>
Date: Thu, 22 Apr 2021 10:36:26 +0100
Message-ID: <41a613ad-2237-1c73-c1d8-175dfbda7b93_at_null.net>
I tried to use a 2040 in vice (c64+ieee), does anyone know if the U1
command is supposed to work or is it a known bug in the 1.2 rom?

The first byte of every sector is always returned as 137 ($89), but the
rest of the sector is fine.

10 OPEN 1,8,2, "#": OPEN 15,8,15
20 INPUT "DRIVE, TRACK, SECTOR";
30 PRINT#15,"U1";2;D;T;S
40 GET#1,X$:IF ST=54 THEN PRINT:GOTO 20
50 IF X$="" THEN X$=CHR$(0)
60 PRINT X$;: GOTO 40

Work rounds or fixes welcome....
Received on 2021-04-22 12:00:03

Archive generated by hypermail 2.3.0.