home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / 8514s2.zip / 8514smal.txt < prev    next >
Text File  |  1994-02-26  |  16KB  |  478 lines

  1. Title:                 OS/2 2.1GA small font 8514/a display driver RELEASE 2.
  2. Release date:             26 Feb 1994
  3. Package source:         Stuart G. Robertson
  4. Document revision date: 26 Feb 1994
  5.  
  6. CONTENTS:
  7.  
  8.     Introduction
  9.     History of this driver
  10.     File list
  11.     Acknowledgements
  12.     Contacting the author
  13.     Limitations
  14.     Disclaimer
  15.     Installation
  16.     Uninstalling
  17.     Configuring Win-OS2 to use small fonts
  18.     Personal defence
  19.     Icons
  20.     Conclusion
  21.  
  22. INTRODUCTION
  23.  
  24. This display driver makes use of the fact that the 8514/a drivers that
  25. ship with OS/2 2.1GA contains small fonts (the same size as those used
  26. by the 1024x768 small font drivers for Windows - well almost).
  27.  
  28. The differences between this driver and the standard driver are:
  29.  
  30.     - The fonts are small (that should be more than a little obvious...)
  31.  
  32.         System fonts are now really small.  Fantastic for viewing
  33.         help, text files and other stuff.  8.Helv is *really* tiny.
  34.  
  35.     - Settings notebooks are now quite nice to look at (not so big and
  36.       ugly anymore).
  37.  
  38. **NEW TO RELEASE 2**:
  39.     - Icons have shrunk to 32x32 and are *real* small (they don't waste
  40.       half as much screen space as previously!
  41.     - Title bars have shrunk as well.  They are now the same size as
  42.       standard VGA title-bars (in terms of pixel height, not actual
  43.       screen height), so they're nice an' small as well.
  44.  
  45. Yep, that's the entire feature list... :)  Don't laugh.
  46.  
  47. HISTORY OF THIS DRIVER
  48.  
  49. Release 1 (Uploaded on 17 Nov 1993):
  50.     - Fonts were small.
  51.     - Some problems with message box icons (they were a little messed up),
  52.       and the seamless Win-OS/2 mouse pointer had a spot.
  53.     - Icons were still 40x40, and title-bars refused to shrink.
  54.  
  55. Release 2 (Uploaded on 26 Feb 1994) (Sorry it took so long...):
  56.     - Fixed the problems with the messed up message box icons, and the
  57.       damaged Win-OS/2 mouse pointer.
  58.     - Icons are now 32x32, and title bars have shrunk as well.
  59.  
  60. FILE LIST
  61.  
  62. After unzipping the zipfile, you should have the following 12 files:
  63.  
  64.         README.1ST,        {start here}
  65.         8514SMAL.TXT,        {this document}
  66.         VGANOTES.TXT,        {see note below}
  67.         8514_32.DLL,        {*the* DLL}
  68.  
  69.         COURE.FON,        {                
  70.         SERIFE.FON,        {
  71.         SMALLE.FON,        {
  72.         SSERIFE.FON,        { Various small fonts
  73.         SYMBOLE.FON,        { for use with Win-OS/2
  74.         VGAFIX.FON,        {
  75.         VGAOEM.FON, and        {
  76.         VGASYS.FON.        {
  77.         
  78. Someone told me I didn't have to distribute the fonts with the driver, since they
  79. are available on the OS/2 distribution disks.  I know that, silly!  I find it a pain
  80. to have to dig out my OS/2 disks and then sit expanding files.  So I thought
  81. I'd spare somebody else the trouble as well, and include them with the driver.
  82.  
  83. ***********
  84. *  NOTE:  *
  85. ***********
  86. 8514SMAL.TXT (this file), should be read entirely before attempting to install the driver.
  87.  
  88. ACKNOWLEDGEMENTS
  89.  
  90. It must be mentioned that this driver is not the result of my own intelligence!  Assistance
  91. has been received from numerous sources, and credit must be given for their input.
  92.  
  93. Firstly, the attached VGANOTES.TXT is a document detailing the procedure used to 'create' 
  94. the DLL, and was written by Daniel J Neades (he has 'created' a VGA 1024x768 small fonts 
  95. driver which is available on Hobbes (possibly some other FTP sites as well).  Much thanks is 
  96. due to Daniel, since it was his advice (darned good advice as well) that allowed this driver to be
  97. 'made'.  Here it is then, "Thanks, Daniel.  That was real grand work!"
  98.  
  99. Daniel's work allowed me to get going on the 1st release of this driver.  There were, however,
  100. some problems (see History of this Driver above).  The second major input came from
  101. Kai Uwe Rommel, who e-mailed me shortly after I made the first driver available.  His assistance
  102. has proved invaluable and the changes he recommended not only fixed the bugs (features?) of
  103. the 1st release driver, but also resulted in the icons shrinking to 32x32 (title bars shrunk as well).
  104. I am very grateful for your assistance, Kai.  Thanks.
  105.  
  106. To all the others who mailed me, thanks for your interest.  Hope this driver is of use.
  107.  
  108. CONTACTING THE AUTHOR
  109.  
  110. Firstly, I am not the author of the display driver, just a bored fiddler who
  111. modified IBM's DLL a bit.  Actually, I wasn't really bored; I was cheesed off
  112. by IBM's waste of my new ATI video card.
  113.  
  114. If you have any problems (or if you have something nice to say?), I can be
  115. contacted at my e-mail address:
  116.  
  117.     007RSG3@WITSVMA.WITS.AC.ZA
  118.  
  119. If I don't answer your mail, I'm probably just in a bad mood.  If you wait a
  120. while, you *should* get some sort of a reply. :)
  121.  
  122. Also, my snail-mail address is:
  123.  
  124.     Stuart Robertson
  125.     7 Inyanga
  126.     Roxy Drive
  127.     Waterval Park    
  128.     2195
  129.     Johannesburg
  130.     South Africa.
  131.  
  132. Yup.  It's true.  I come from *there*.
  133.  
  134. LIMITATIONS
  135.  
  136. This driver is only suitable for use with video-cards which are fully 8514/a
  137. compatible.  It has been tested on an ATI Graphics Ultra (1MB) video adapter.
  138. Release 1 of the driver was tested on other ATI cards as well, and was found
  139. to be stable.  I used the first release driver for more than 2 months without
  140. noticing any problems.  Some changes have been made to the DLL (again), but
  141. these mostly fixed bugs in the last release of the driver, so there should not
  142. be any problems with stability.  I have now been using the "new" (i.e. version 2)
  143. for about 3 months and have not encountered *any* problems.  Seems IBM wrote a
  144. good, stable driver.
  145.  
  146. This driver is basically 100% (well perhaps 99.9%) IBM stuff.
  147.  
  148. DISCLAIMER
  149.  
  150. This driver is the result of frustration (and an abhorrence for large fonts), and
  151. does not come with a guarantee (sad, hey?).  
  152.  
  153. *A drum roll starts, and a deep, monotonic voice drones*:
  154.  
  155. I accept no responsibility or liability for any loss or damage arising from or as
  156. a result of the use of this driver, or from following the installation instructions
  157. contained herein.
  158.  
  159. If anyone at IBM is upset that I've uploaded modified OS/2 code, they should
  160. contact me and let me know.  I'll get the driver removed real pronto.
  161.  
  162. *Drum roll stops, and Jim Morrison comes on singing LA Women*
  163. *Someone interrupts and asks*:
  164.  
  165. Why doesn't IBM supply small resource 8514/a drivers with the standard 
  166. distribution?
  167.  
  168. Someone shrugs and mumbles something about "Hopefully it'll be in 2.2?"
  169.  
  170. Someone else asks what a 2.2 is?  
  171.  
  172. Shame.
  173.  
  174. INSTALLATION
  175.  
  176. This is where the fun begins.  Those of you who don't like fiddling with OS/2's
  177. DLL's directly should put this document down and enjoy their large fonts.  Those
  178. of you with weak hearts should perhaps take a pill or something before proceeding.
  179.  
  180. For those of you who 'installed' release 1 of this driver, the procedure is unchanged.
  181.  
  182. NOTE:  This driver is *only* for OS/2 2.1GA.  No, not the March Beta.  Did I say the
  183.        March beta.  I'm sure I didn't say the March beta.  Hmm.
  184.  
  185.        Should work with the March beta, but it hasn't been tested with the beta, so
  186.        I can't/don't/couldn't be bothered to guarantee it working.  Try it if you
  187.        really must....
  188.  
  189. OK, let's get on with it.
  190.  
  191. 1)     Open an OS/2 Window and change into the root directory of your OS/2 drive
  192.         (where your CONFIG.SYS file lives).
  193.  
  194. 2)     Type:
  195.  
  196.         COPY CONFIG.SYS CONFIG.BAK     <Enter>
  197.  
  198. 3)    Type:
  199.  
  200.         CD X:\OS2\DLL             <Enter>      
  201.  
  202.     (X: is the drive where you installed OS2)
  203.  
  204.  
  205. 4)    Type: 
  206.  
  207.         COPY 8514_32.DLL 8514_32.HUGEDLL     <Enter>
  208.  
  209. 5)    Type: 
  210.  
  211.         START E CONFIG.SYS             <Enter>
  212.  
  213. 6)    The OS/2 System Editor will load with your CONFIG.SYS file ready to
  214.     be edited.
  215.  
  216. 7)    Insert the following line immediately after the line "IFS=D:\OS2\.....":
  217.     
  218.         CALL=X:\OS2\CMD.EXE
  219.  
  220.     where X: is the drive where you installed OS/2.
  221.  
  222.     The first two lines of your CONFIG.SYS file should now read as follows:
  223.  
  224.         IFS=D:\OS2\HPFS.IFS  /CACHE...
  225.         CALL=D:\OS2\CMD.EXE
  226.         .
  227.         .
  228.         .
  229.     assuming you installed OS/2 on your D: drive.
  230.  
  231. 8)    Save the CONFIG.SYS file, and close the editor.
  232.  
  233. That's the end of the first part.  Now, before you shut-down, print out this part
  234. of the installation procedure (or at least write it down).  The line
  235. "CALL=D:\OS2\CMD.EXE" causes the system to boot up without Presentation
  236. Manager (initially, anyway).  So, when you restart your system, you will find
  237. that the system boots up and then gives you an OS/2 Full-Screen session.
  238. This is *good*.  If you get PM immediately, you've done something wrong.
  239.  
  240. NOTE: This is a fully functional OS/2 session, i.e. everything works (like path, etc.)
  241.  
  242. Now, let's carry on.
  243.  
  244. 9)    Once you have printed this part of the procedure, shut-down and then
  245.     restart your system.  You should get the famed OS/2 full-screen.
  246.  
  247. 10)    Copy the newly unzipped DLL into your OS2/DLL directory. For example,
  248.     if you had unzipped the files into C:\ZIPFILES, and your OS2 directory is
  249.     D:\OS2\DLL, you would type:
  250.  
  251.         COPY C:\ZIPFILES\8514_32.DLL D:\OS2\DLL     <Enter>
  252.  
  253.     This has just replaced the existing large font DLL with the small font
  254.     version.  Be sure you didn't skip step 4.
  255.  
  256. 11)    Type: 
  257.  
  258.         EXIT     <Enter>
  259.  
  260.     This exits the lone little OS/2 session, and loads Presentation Manager.
  261.     If all has gone well, you should now have PM with small fonts.
  262.  
  263. 12)     If you are happy with the way things are, then fine.  You can then remove
  264.     the line "CALL=D:\OS2\CMD.EXE" from your CONFIG.SYS file.  This will
  265.     stop you getting an initial full-screen session every time you boot up.
  266.  
  267. 13)    When you are totally sure that everything is functioning correctly (like after
  268.     a month or two, delete 8514_32.HUGEDLL.
  269.  
  270. UNINSTALLING
  271.  
  272. If something miserable has happened, and your screen is corrupted, or something
  273. equally nasty, shut-down (press Ctrl+Alt+Del and wait until disk activity has ceased).
  274.  
  275. Then,
  276.  
  277. 1)     Restart your system.
  278.  
  279. 2)    When the full-screen session appears, type: 
  280.  
  281.         CD X:\OS2\DLL     <Enter>
  282.  
  283.     (where X: is the drive where you installed OS/2).
  284.  
  285. 3)    Type:
  286.  
  287.         COPY 8514_32.HUGEDLL 8514_32.DLL    <Enter>
  288.  
  289. 4)    Now type:
  290.  
  291.         EXIT     <Enter>
  292.  
  293.     and everything should be big to normal (Oh, I meant 'back' to normal.)
  294.  
  295. 5)    Cry a bit, and then tell yourself it's not *so* bad.  Just think, it could be
  296.     worse:  You could be using Windows!
  297.  
  298.  
  299. CONFIGURING WIN-OS2 TO USE SMALL FONTS
  300.  
  301. To get Win-OS2 to use small fonts is pretty darn easy.  No *real* fiddling required,
  302. either.
  303.  
  304. 1)     Copy all the supplied *.FON files into your WINOS2\SYSTEM directory.  For
  305.     example, if X: is the drive where you    installed OS/2, and the unzipped files are
  306.     in C:\ZIPFILES, type:
  307.  
  308.         COPY C:\ZIPFILES\*FON D:\OS2\MDOS\WINOS2\SYSTEM <Enter>
  309.  
  310. 2)    Now, edit the file X:\OS2\MDOS\WINOS2\SYSTEM.INI.  Again, X: is 
  311.     the drive where you installed OS/2
  312.  
  313. 3)     Change the following lines in the [boot] section
  314.  
  315.         fonts.fon=8514sys.fon
  316.         fixedfon.fon=8514fix.fon
  317.         oemfonts.8514oen.fon
  318.     
  319.     to
  320.  
  321.         fonts.fon=vgasys.fon
  322.         fixedfon.fon=vgafix.fon
  323.         oemfonts.fon=vgaoem.fon
  324.  
  325.     Then, under the [boot.description] section, change the line
  326.  
  327.         display.drv=???
  328.  
  329.     to 
  330.  
  331.         display.drv=8514/a (Small Fonts)
  332.  
  333.     Also, ensure that the entry
  334.  
  335.         aspect=xxx,xx,xx
  336.  
  337.     says
  338.         
  339.         aspect=100,96,96
  340.  
  341.     If not, change it.
  342.  
  343. 4)    Look for a section in your SYSTEM.INI file called [8514.DRV].  If it is 
  344.     there, it probably has a single entry saying:
  345.  
  346.         dpi=120      (or something similar)
  347.  
  348.     Change it to:
  349.  
  350.         dpi=96
  351.  
  352.     If there isn't an [8514.DRV] section, type the following at the end of the
  353.     your SYSTEM.INI file:
  354.  
  355.     [8514.DRV]
  356.     dpi=96
  357.  
  358. 5)    Save the changed SYSTEM.INI file.
  359.  
  360. That should about do it!  Start up a Win-OS2 FullScreen session and see
  361. whether it worked or not.  It should, really.
  362.  
  363. One last refinement is possible:  you'll notice that the icon text in Win-OS2 uses
  364. some or other crummy font (a beast somewhat akin to a rounded Arial font).  I don't
  365. like it (didn't, but now I don't have to look at it anymore, so hey...), so I fiddled
  366. a bit, and lo, there was the cute little font that Windows uses for icon text.
  367.  
  368. Here's what to do:
  369.  
  370. 1)    Open the file X:\OS2\MDOS\WINOS2\WIN.INI file for editing, where X: is the
  371.     drive where you installed OS/2.
  372.  
  373. 2)    Find the [fonts] section, and change the lines:
  374.  
  375.     MS Sans Serif 8,10,12,14,18,24 (8514 res)=SSERIFF.FON
  376.     Courier 10,12,15 (8514 res)=COURF.FON
  377.     MS Serif 8,10,12,14,18,24 (8514 res)=SERIFF.FON
  378.     Symbol 8,10,12,14,18,24 (8514 res)=SYMBOLF.FON
  379.     Small Fonts (8514 res)=SMALLF.FON
  380.  
  381. to
  382.  
  383.     MS Sans Serif 8,10,12,14,18,24 (VGA res)=SSERIFE.FON
  384.     Courier 10,12,15 (VGA res)=COURE.FON
  385.     MS Serif 8,10,12,14,18,24 (VGA res)=SERIFE.FON
  386.     Symbol 8,10,12,14,18,24 (VGA res)=SYMBOLE.FON
  387.     Small Fonts (VGA res)=SMALLE.FON
  388.  
  389. Don't forget to change the E's on the font names.
  390.  
  391. 3)    Save the modified WIN.INI file.
  392.  
  393. 4)    Open a Win-OS/2 full-screen session and make sure it worked.  If something is wrong,
  394.     fiddle (if you have the time), or change things back to the way they were.
  395.  
  396. The above modifications should result in Win-OS/2 running correctly seamlessly (i.e. on the
  397. desktop).  It's quite magic to see a small-fonts Win-OS/2 running on top of a small-fonts
  398. OS/2.  Really wonderful.  Sort of makes you want to sing and dance.  Jump up and shout.  Fire
  399. off a couple of flares!  Tell the world.  tYPE A BIT WITH CAPS LOCK ON.  Oh, I'm sorry.  I tend to get a little carried away every
  400. now and then.  You know how it is, though.  If you don't, you obviously still have huge fonts. :)
  401.  
  402. PERSONAL DEFENCE
  403.  
  404. This section is included so that I can vent my irritation about all those people who kindly
  405. enlightened me that I didn't have to include the Windows fonts with the driver.  That I could
  406. get them off the OS/2 installation disks.
  407.  
  408. The truth is, I am a total idiot.  I didn't know that!
  409.  
  410. How do you think I got the fonts in the first place.
  411.  
  412. Secondly, how many people do you know who enjoy searching through hundreds of strangly
  413. named files ending in _, or $$$, or something else understandable?
  414.  
  415. Those of you who think I am wasting network bandwidth by making you download the fonts 
  416. as well, feel free to ignore the driver and enjoy your huge fonts. :)  If you really ask me
  417. nicely, I'll upload a file called 8514S_NF.zip (8514 Small _ No Fonts included). ;-)
  418.  
  419. ICONS
  420.  
  421. Those of you with wonderful 256-colour 8514-resolution icons will probably be crying about now.
  422. You'll have noticed that your lovely icons don't display using the 'new' driver.  Don't worry, papa
  423. has a fix.  Well, not really a fix, but an idea.
  424.  
  425. Let me run this by you:
  426.  
  427.     Pull out your icon editor (yeah, the ugly one that came with OS/2) and start converting your fonts
  428.     to VGA resolution.
  429.  
  430.     If you're like me, a bit of "How to" is probably in order...
  431.  
  432.     Step 1:
  433.     Double click on an icon (or somehow or other get it into the editor).
  434.  
  435.     Step 2:
  436.     Choose "Device, List" from the menu.
  437.  
  438.     Step 3:
  439.     Choose "Add"
  440.  
  441.     Step 4:
  442.     Select "Independent Color Form" and the press "Customize"
  443.  
  444.     Step 5:
  445.     Change colors supported to 256 and make sure that Image size is 32x32.
  446.  
  447.     Step 6:
  448.     Select "OK"  and then select "Cancel".  Yes, the second selection *must* be
  449.     "Cancel".  If you don't believe me, try selecting the "OK" button next...
  450.  
  451.     Step 7:
  452.     Marvel a bit at your new 32x32 256 colour icon.
  453.  
  454.     Step 8:
  455.     Repeat process until satisfied.
  456.  
  457.     Note:  If your system seems to "hang" for about 10 seconds or so after you close the icon
  458.                editor each time, don't worry.  So does mine.  NO, it is not a driver problem, but seems
  459.                to be something to do with the icon editor (I tried it with the original IBM driver,
  460.                and got the same mini-hang.).
  461.  
  462. For those of you who couldn't be bothered (I assume that's most of you :) ), I have also uploaded a
  463. collection of my favourite icons.  They're in a file called MY_ICONS.ZIP.  Don't laugh!  What would
  464. you have called the silly things?
  465.  
  466. CONCLUSION
  467.  
  468. That's it!  I hope the driver is to your liking.  
  469.  
  470. If this driver is useful, or if you have any comments/suggestions/complaints, you should note
  471. that I don't like complaints, I do like praise, and I will consider suggestions.  Feel free to
  472. drop much praise into my e-mail account, as well as the odd suggestion.  Praise will be 
  473. answered, and I'll probably answer suggestions (and send you a free lollypop).
  474.  
  475. Have fun, and let me know how you get along.
  476.  
  477. Regards,
  478. Stuart Robertson.