home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / i386unix / 117 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.windows.x.i386unix
  2. Path: sparky!uunet!think.com!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!dmatic
  3. From: dmatic@athena.mit.edu (Davor Matic)
  4. Subject: Re: X386 on Hercules and X386 bugs and suggestions
  5. Message-ID: <1992Dec22.145458.5285@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: alfredo.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References: <1992Dec21.132332.11450@cbnewsj.cb.att.com> <1992Dec21.175647.9279@athena.mit.edu> <JTSILLA.92Dec21143009@damon.ccs.northeastern.edu>
  10. Date: Tue, 22 Dec 1992 14:54:58 GMT
  11. Lines: 24
  12.  
  13.  
  14. I have started "MACROIZING" the mfb code, and am almost done.  It isn't
  15. all that much work.  One needs to change about 15 files all together.
  16. The way I did it, I introduced three macros:
  17.  
  18.     *MAPW(pdsp) = *MAPR(psrc);
  19.  
  20.     *MAPRW(pdst) &= ~0L;
  21.  
  22. This is an example of what they do.  MAPR maps a pointer from a
  23. virtual frame to the physical frame, and can set the WRITE direction
  24. to the bank where pdst points to.  MAPR maps a pointer from a virtual
  25. frame to the physical frame, and can set the READ direction to the
  26. bank where src points to.  MAPRW does the same thing, except for
  27. setting the direction of the bank to READ-WRITE.  I think this should
  28. be general enough to handle VGA boards in mono mode with banking.
  29. For my Hercules card, I need only one sort of MAP's though.
  30.  
  31. If anyone has done anything similar to mfb, I'd apprechiate some
  32. comments and suggestions on what might go wrong.  I'm not sure 
  33. if this will work, and haven't started debugging yet.  If anyone 
  34. wants to help, you are more than welcome.
  35.  
  36. Davor
  37.