[comp.os.os2.misc] icons with 8514/a adapter

ballard@ucs.ubc.ca (Alan Ballard) (10/07/90)

OS/2 had been installed with VGA support.  I've made the necessary DLL
and config.sys changes to use 8514/a and presentation manager is working
OK in this resolution.  However, all my application icons are still the VGA
size and resolution. 
   Does anybody know how to get these reset to use the 8514/A versions,
without doing a full re-install? 
  Thanks in advance. 





Alan Ballard                   | Internet: ballard@ucs.ubc.ca
University Computing Services  |   Bitnet: USERAB1@UBCMTSG
University of British Columbia |    Phone: 604-228-3074
Vancouver B.C. Canada V6R 1W5  |      Fax: 604-228-5116

goldman@mbcl.rutgers.edu (10/11/90)

In article <9915@ubc-cs.UUCP>, ballard@ucs.ubc.ca (Alan Ballard) writes:
> OS/2 had been installed with VGA support.  I've made the necessary DLL
> and config.sys changes to use 8514/a and presentation manager is working
> OK in this resolution.  However, all my application icons are still the VGA
> size and resolution. 
>    Does anybody know how to get these reset to use the 8514/A versions,
> without doing a full re-install? 
>   Thanks in advance. 
> 
	Alan in fact has installed his 8514/A correctly, despite the fact
that the icons appear too large. What's incorrect
is IBM's and MS's 8514/A drivers (imho).  They support 2 icon sizes; 32x32
pels for VGA and lower resolution, and 64x64 pels for 8514/A resolution.

	A simple calculation to prove my point: horizontal pels in 8514/A: 1024.  In
VGA: 640.  1024/640 = 1.6.  Ratio of icon sizes (in pels) = 2.  Therefore,
despite increased screen resolution, icons occupy more space on the screen
in 8514/A than in VGA.

	But all is not lost! -- I found this on Pete Norloff's Virginia
bulletin board (see my posting of OS/2 BBS's for phone number...).  This patch (and
I've tried it and it works on my clone with a Paradise clone 8514/A card!) will
change the size of the icons in OS/2 1.2 to 32x32 from 64x64.  

	It's a great improvement (again, imho).

Adrian Goldman                         |  Internet:  Goldman@MBCL.Rutgers.Edu
Molecular Biology Computing Laboratory |  Bitnet:    Goldman@BioVAX
Waksman Insitute,                      |  Phone:     (908) 932-4864
Rutgers University,                    |  Fax:       (908) 932-5735
Piscataway, NJ 08855 USA               |

------------------------------CUT HERE----------------------------------------
Note: This patch applies to OS/2 SE or EE 1.2


Do you wish your 8514 used small (32x32) icons like the VGA instead of those
giant size (64x64) icons?

If your answer is yes, then here is what you need to do.


This solution patches the system value table 
in the 8514 version of DISPLAY.DLL!


1.  Copy c:\os2\dll\display.dll c:\

2.  Type PATCH c:\display.dll

3.  The system will prompt for an address to type in:
         If your syslevel is XR04069 of XR04073 or WR04064 type in 2f202 (cr)
         If your syslevel is XR04053 or before or  WR04053 type in 2de02 (cr)

    You should see

            40 00 40 00 20 00 20 00 etc....

    If you don't see this then your syslevel is different and you will
    need to search though your version of DISPLAY.DLL for the LAST 
    occurance of these values.

4.  Type in 20 00 20 00 (cr)

5.  Type in n (cr)

6.  type in y (cr)

7.  Boot DOS and copy c:\display.dll c:\os2\dll\display.dll

8.  Reboot OS/2 and you now have small icons.