Re: Need help with large file reading and writing.



And yes, DCB's (Data Control Block) counts ARE an issue (also known as
FCB File Control Blocks) in all MSDOS from 1.x up to the most recent
issue of DOS (v7, I think) and those DOS emulators still present in NT,
XP and MAC, and important if you compile and TARGET for a DOS O/S
instead of Windows, as you can with MS Professional Fortran.

This is bogus. FCBs are only an issue if you target DOS 1.x. The last version
of MS FOrtran which COULD target DOS 1.x was version 3.2, which was subset F77,
and 16 bit only. All later versions of MS Fortran use file handles not FCBs,
so FCB issues are irrelevant. Even v3.2 could target DOS 2.0, and thus use file
handles, it only offered DOS 1.x for backward compatibility.

Yes, even later versions of DOS and DOS emulators will have issues if FCBs
are used, but unless OP has a DOS 1.x targeting F90 compiler from some alternate
universe, which I highly doubt, and probably wouldn't be running under Linux
anyway, and couldn't address 1G files even if he had such a chimeric fantasy ...
well, it is just bogus.
.



Relevant Pages

  • FCBs and file handles -- Re: Need help with large file reading and writing.
    ... I said plenty about FCBs. ... code, is, I believe bogus. ... It does NOT target DOS 1.x. ... Very few compilers generated DOS programs using RTLs which use FCBs. ...
    (comp.lang.fortran)
  • Re: DOS unter Win98 - maximaler Speicher
    ... Wenn das Spiel keine FCBS und Stacks braucht, dann kann man die auch auf ... Und u.U. kann man auch den Umgebungsspeicher auf 256 Byte herabsetzen, ... man keine weiteren Laufwerke hat oder auf die nicht unter DOS zugreifen ... Und den Tastaturtreiber würde ich durch einen anderen ersetzen, ...
    (de.comp.os.msdos)
  • Re: cp/m in the news
    ... MS-DOS", the author, and by extension, MS, made no bones ... about Dos's descendence from CP/M, ... similar enough to CP/M to enable the porting of large ... V7 supports FCBs for devices that do not use FAT32 or long file names. ...
    (comp.os.cpm)
  • Re: IBM Clown "Easter Egg"
    ... A bit more stolen from UNIX filesystems than from ... The FCB in DOS were optional, only needed for CP/M converted applications. ... I thought FCBs were DOS 1.x, and file handles came with DOS 2.x, ...
    (comp.os.cpm)
  • Re: Need help with large file reading and writing.
    ... Even v3.2 could target DOS 2.0, ... it only offered DOS 1.x for backward compatibility. ... but unless OP has a DOS 1.x targeting F90 compiler from some ... because it ran out of DCB blocks at 20, ...
    (comp.lang.fortran)