Am 21. Juli 2018 6:55:17 PM schrieb Rhialto <firstname.lastname@example.org>: > 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. REL files are complicated and the implementation is rather buggy, also depending on the DOS version. You cannot sequentially read the whole file as after the first record read there comes an EOF already. And yes, having seekable files instead of USR would really have been a good idea. André > > -Olaf. > -- > ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X > \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.Received on 2018-07-21 20:00:05
Archive generated by hypermail 2.2.0.