Date : Sun, 17 Jul 2005 17:16:40 +0100
From : "BeebMaster" <beebmaster@...>
Subject: Re: floppy discs
It does mean the floppy disc controller has encountered an error 18
(ie. sector not found) after attempting to format a track. If there are
no numbers on the screen by this point, it means it hasn't formatted
track 0 successfully.
I've been puzzling over this and I can't actually get it to give me this
error - I've even managed to "successfully" format a drive head cleaner
disc!
I would check lines 200-340 very carefully to make sure they have been
entered correctly, in particular make sure you have "&63" and not "63" in
line 280 otherwise this will give you a STOP error.
If you let me know your address I will gladly post you a disc with this on
as well as the official Acorn ones.
Best wishes,
Ian
----- Original Message -----
From: Colin
To: <bbc-micro@...>
Sent: Sun, 17 Jul 2005 15:25:30 +0100
Subject: Re: [BBC-Micro] floppy discs
Colin wrote
> >That means that osblock?12 is not 0 as it should be (in fact it is 18).
Mike Tomlinson wrote <snipped)>
> error 18 is "Sector not found". The disc is probably defective; try
> another one. (What track number does this occur at?)
>
No it's not the disk - it doesn't get that far - (although the disks and
even the drive may be defective as I haven't been able to try them ) It's
the program I'm having a problem with (my fault).
After copying it from Beebmaster's site, it won't run as I have obviously
copied something down wrongly and I just can't see it despite hours of
checking..
Line 360 is the error trap for the program so it only runs part of the way.
It's the value (in the program) that should be 0 but when I type "PRINT
osblock?12" it gives me a value (not an error code) of 18 which means I have
entered something wrongly.
I'll start from scratch and retype it all again and see what happens. I
haven't got a printer for the Beeb (can't get the ribbons for my old one) so
it's screen to screen checking (cross-eye time).
I suppose this is half the fun of the Beeb anyway.
Colin Hill