home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4277 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.1 KB  |  49 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!usc!elroy.jpl.nasa.gov!mahendo!thyme!kaleb
  3. From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
  4. Subject: Re: Where am I going wrong????
  5. Message-ID: <1992Aug17.221825.3355@thyme.jpl.nasa.gov>
  6. Organization: Jet Propulsion Laboratory, Pasadena, CA
  7. References: <1992Aug17.082023.13914@stortek.com> <1992Aug17.093809.24122@Informatik.TU-Muenchen.DE> <1992Aug17.190209.8650@njitgw.njit.edu>
  8. Date: Mon, 17 Aug 92 22:18:25 GMT
  9. Lines: 38
  10.  
  11. In article <1992Aug17.190209.8650@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
  12. >In article <1992Aug17.093809.24122@Informatik.TU-Muenchen.DE> rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
  13. >>Yes it looks like this. Remember, if OS/2 is ported to a RISC, it would
  14. >>not have a concept like the PC screen buffer, so the VIO/MOU/KBD calls
  15. >>are useless.
  16. >>
  17. >>Part of the work can be done with 32-bit IOCtl calls, for the rest you
  18. >>have to call 16-bit API's on PC's.
  19. >
  20. >This is the way it's done under Unix and other systems, as well.
  21. >That's why some enterprising programmers wrote the curses package.  I
  22. >wonder when this'll be ported to OS/2.
  23. >
  24.  
  25. Not entirely true, and RISC vs. CISC has nothing to do with it.  E.g.
  26. on Sun hardware, you can open the device file i.e. "/dev/cgsix0", and memory
  27. map the frame buffer memory into the process address space and twiddle bits
  28. to your hearts desire.  That's how the MIT Sample X Server works on Suns
  29. anyway, irregardless of whether they're RISC or CISC.
  30.  
  31. Never the less, the point should be emphasized, under any GUI, you don't
  32. want to be twiddling bits in frame buffer memory.  If you've got an app
  33. that wants to do it's own "drawing", convert it to the GUI.  If you've got
  34. a text based app that bypassed the BIOS and/or OS for some reason and
  35. writes directly to screen memory, my condolences.  Convert it.  
  36.  
  37. -- 
  38.  
  39. Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov
  40.  
  41. Not authorized, in any way, shape, or form, to speak for anyone.
  42.  
  43.  
  44. -- 
  45.  
  46. Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov
  47.  
  48. Not authorized, in any way, shape, or form, to speak for anyone.
  49.