home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / EGA_VGA / 43LINE2.ZIP / ANSIEGA.DOC < prev    next >
Encoding:
Text File  |  1985-11-21  |  1.6 KB  |  48 lines

  1. 11/13/85
  2.  
  3.   The IBM EGA is capable of a 43 lines per screen mode when used in
  4. conjunction with the Enhanced Color Display or the Monochrome Display.
  5. However, ANSI.SYS will not handle scrolling properly in this mode.
  6. Here are some patches to ANSI.SYS (DOS Version 3.1) that I have
  7. discovered to fix the problem:
  8.  
  9. 1. Replace bytes at 29D, 29E, 2A1, and 2A2 with 90H (NOPs).
  10.    This is per Charles Petzolds article re: WAITASEC in PC Magazine
  11.    November 26, 1985, p. 215-222
  12. 2. Replace bytes at 27C, 50C, and 58F with 2BH (sets 43 lines)
  13. 3. Replace byte at 283 with 2AH (sets 42nd line check?)
  14. 4. You'll also need to patch COMMAND.COM so that CLS clears all 43 lines
  15.    Unfortunately, I only have the patch for DOS 3.1 (from the same PC
  16.    Mag, p. 235)
  17.    Replace byte at 263B with 2AH (so that 43 lines are cleared)
  18.  
  19. NOTE:  To use this revised ANSI.SYS you MUST set the EGA to 43 line
  20.        mode (using 43.COM or SET43.COM).  If you don't, the lower
  21.        18 lines will not appear on the screen and you will be "flying
  22.        blind", as that's where the action usually happens.
  23.  
  24. Here are the DEBUG instructions for making the changes:
  25.  
  26. DEBUG ANSI43.SYS (a copy of ANSI.SYS)
  27.  
  28. E 29D 90 90
  29. E 2A1 90 90
  30. E 27C 2B
  31. E 283 2A
  32. E 50C 2B
  33. E 58F 2B
  34. W
  35. Q
  36.  
  37. DEBUG COMMAND.COM (make a copy!)
  38.  
  39. E 263B 2A
  40. W
  41. Q
  42.  
  43.   Reboot with the new ANSI43.SYS, and you should be in business.
  44. It seems to work properly so far.  I've even been able to specify
  45. cursor position commands in the lower 18 lines.  Send any comments to:
  46.  
  47.                        Karl Konnerth 76044,354
  48.