Category : Assembly Language Source Code
Archive   : ABRD40.ZIP
Filename : README.TXT

 
Output of file : README.TXT contained in archive : ABRD40.ZIP

Written by: Christopher Blum CompuServe 76625,1041
1022 East Wayne Avenue
Wooster, Ohio 44691

This set of object modules replaces the absread and abswrite functions
of Turbo C 2.0 with updated functions supporting all versions of DOS
including Compaq 3.31 and DOS 4.x using partitions greater than 32MB.

Batch file ABSINST.BAT will update the libraries for all memory models.

Source is included in file ABSREAD.C ( contains inline assembler )
which may be compiled with batch file ABSMAKE.BAT

Include file DOS.H must be changed to make the prototypes agree with
the new functions as follows:

int _Cdecl absread (int drive, int nsects, long lsect, void *buffer);
****

int _Cdecl abswrite(int drive, int nsects, long lsect, void *buffer);
****

Note that the sector number parameter is now a long - this may affect
current programs that you recompile. Although Turbo C extends int
arguments to long for you because of the prototype, some values ( i.e.
over 32767 ) are not extended properly if the variable in the call is
a signed int. Using an unsigned int should remedy that. Obviously, to
properly access large ( > 32 MB ) partitions, you must use a long in
the call. These considerations only apply to programs which execute
under Compaq DOS 3.31 and DOS 4.x control. Programs executing under
DOS 3.30 and previous versions are unaffected.


  3 Responses to “Category : Assembly Language Source Code
Archive   : ABRD40.ZIP
Filename : README.TXT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/