TIP: Click on subject to list as thread! ANSI
echo: win95
to: Ed Vance
from: mark lewis
date: 2015-07-05 11:06:10
subject: Evil OS/2 Device Driver

04 Jul 15 21:36, you wrote to Mike Luther:

 MikeL>> use at least one 'blank line' at the end of the CONFIG.SYS file to
 MikeL>> solve some strange error problems in some systems.

 EV> When a software program is set up to expect something and it isn't
 EV> there, it causes software to BURP!

 MikeL>> As well DOS operations under OS/2 cannot 'normally' handle more
 MikeL>> than a 2GB file partition as far as I know under a lot of DOS
 MikeL>> stuff I still use.

 EV> That would take more partitions than there are file letters on a 250GB
 EV> HDD.

yup! it takes C thru L to do 2Gig partitions on a 40Gig drive... if one
goes that way...

 EV> But I have read in this echo of a work-around but I can't recall what
 EV> it was called right now.

yep... on OS/2 there's a special "driver" that is loaded in the
DOS tasks... it is called 2gbfix.com... it is little more than a TSR...
what it does is to intercept the calls to the drive space checking
routines... if they report negative numbers (because of the signed number
rollover), then it alters the response so that it returns 2gb or less than
2gb so that the DOS program will see a valid positive number instead of an
invalid negative one...

the largest value available for older DOS programs is stored in a longint
(aka long integer)... a longint is a signed integer 32bits in length making
it 4 bytes in size... it has the range of -2,147,483,648 to 2,147,483,647,
or -2^31 to 2^31-1... when the value reaches the maximum positive value, it
rolls over to the bottom most value and keeps on incrementing as before...
once the value passes 2gb, it is negative and will remain negative for
another 2gb of counting until it reaches zero and goes positive again...
there is no unsigned 32bit storage capability for large values in old DOS
programs...

)\/(ark

... Split your coffee? Call a Chemist!
---
* Origin: (1:3634/12.73)
SEEN-BY: 109/500 116/116 123/5 52 57 140 400 500 789 124/5013 5014 140/1 154/0
SEEN-BY: 154/10 701 702 203/0 226/600 227/51 101 201 229/426 230/0 249/303
SEEN-BY: 261/38 1466 280/464 5003 320/119 322/759 342/11 423/120 633/267 280
SEEN-BY: 640/384 712/620 848 770/1 3634/12 22 24 27 50
@PATH: 3634/12 123/500 154/10 280/464 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.