Re: BASIC for the CBM-II/8088

From: Mia Magnusson <mia_at_plea.se>
Date: Mon, 23 Jul 2018 23:00:42 +0200
Message-ID: <20180723230042.00002574@plea.se>
Den Sat, 21 Jul 2018 18:51:42 +0200 skrev Rhialto <rhialto@falu.nl>:
> On Fri 20 Jul 2018 at 01:05:09 +0200, Mia Magnusson wrote:
> > Imho it's a bummer that Commodore didn't add seek to their drives
> > back in the days. On a PET or B it might not had taken that much
> > time to actually read every data of a file until the right position
> > is reached, but on the serial drives it was a pain in the ass. Also
> > they should have abandoned the USR file stuff and just added a mode
> > similar to USR files but just using a map of the blocks of the file
> > speeding up seeking but otherwise transparent to the
> > user/programmer.
> 
> I think you could have that with REL files and records of 254 bytes
> each. But I'm not sure if you could easily read such files
> sequentially.

I don't remember how the "map" of a REL file is stored, but maybe you
could actually add another file entry to the directory (which validate
would hade) that points to the first data block of the REL file, but
has the type set to SEQ.

-- 
(\_/) Copy the bunny to your mails to help
(O.o) him achieve world domination.
(> <) Come join the dark side.
/_|_\ We have cookies.
Received on 2018-07-23 23:02:46

Archive generated by hypermail 2.2.0.