[Coco] Determining OS-9 Floppy Type
Phill Harvey-Smith
afra at aurigae.demon.co.uk
Mon May 28 05:15:11 EDT 2007
Bob Devries wrote:
> Here's a very quick and dirty BASIC programme which should determine and
> display some basic(!) information about your OS9 disk.
>
> 10 CLEAR 1000
> 20 CLS
> 30 PRINT"OS9 DISK IDENTIFICATION UTILITY"
> 40 PRINT"BY BOB DEVRIES"
> 50 PRINT:INPUT"WHICH DRIVE";DN
> 60 IF DN<0 OR DN>3 THEN PRINT"ERROR... TRY AGAIN":GOTO50
> 70 ON ERR GOTO 200
> 80 DSKI$DN,0,1,A$,B$
Replacing line 80 with :
80 SREAD DN,0,1,A$,B$
Should make this also work on Dragon Dos compatible systems.
Cheers.
Phill.
--
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !
"You can twist perceptions, but reality won't budge" -- Rush.
More information about the Coco
mailing list