Re: *** GMX Spamverdacht *** Re: Another DOS oddity...

From: A. Fachat <afachat_at_gmx.de>
Date: Sun, 09 Jun 2013 21:27:33 +0200
Message-ID: <52725932.PN7kXcmOsS@euler>
Another victim of the wrong identity on reply...:

On Monday 27 May 2013 02:48:06 you wrote:
> On Monday 27 May 2013, you wrote:
> > (saving a Program file is an atomic act, whereas a sequential file may
> > be open and processed for an extended period before being closed.)
> 
> so there really is a difference between opening a file ,w,s or ,w,p ? i
> always used them as if they are exactly the same... and i never use seq
> files, but prg files instead. since basically you can do the exact same
> things with them, it doesnt make a lot of sense to me that they are
> supposed to behave differently.... oh well =P what about ,w,u ? :)

There is no difference between PRG, USR and SEQ files for the floppy, only that 
on SAVE (secaddr=1) PRG files are created by default (probably for other 
secaddrs as well, didn't test this).

The drive only goes back to track 18 when during its processing it needs to 
reload the BAM or update the number of blocks on a SEQ file. This does 
not happen if you create a PRG with SAVE, as this is done in a single
OPEN/LISTEN/SECLISTEN/Data transfer/UNLISTEN/CLOSE sequence.

If you create PRG files using ",P,W" open, and write it piece by piece, it
will also go back to track 18 to update BAM and/or directory entry.

André

       Message was sent through the cbm-hackers mailing list
Received on 2013-06-09 20:01:35

Archive generated by hypermail 2.2.0.