Article View: comp.os.os2.programmer
Article #761Re: I want to learn how to do simple graphics, keyboard, and joystick I/O
From: Chris D Fanning
Date: Sat, 05 Sep 1992 19:30
Date: Sat, 05 Sep 1992 19:30
30 lines
1756 bytes
1756 bytes
In article <1992Sep2.212551.19196@umr.edu> johns@mcs213c.cs.umr.edu (John Stone) writes: > > >Hi there, >If you want SIMPLE graphics, I've done the work for you :-) >I've written the begginings of a 320x200x256 graphics library >for OS/2 2.0 that writes directly to the video hardware. >I've got points, lines, circles, boxes, and screen clears finished. >I've also been working on a 3d library that works in the same mode... >(for games etc...) > >I've still got a lot of stuff to write though (bitblts, filled polys etc..) >but if it is simple that you are looking for, I've got it :-) > >I did this with IBM C Set/2 > >Later, > John Stone > johns@cs.umr.edu I don't know about the person you replied to, but I know I'd love to see this. I've been considering doing this with text mode(s) since Vio thunks take longer than I like and I was never very pleased with Vio performance anyways. Of special interest to me, is how you handle screen mode switching... (ie. when someone is in your program and hits Ctrl-ESC.) Are you using the VioSwitch (VioModeSwitch.. err whatever) functions? Chris
Technical Details
Message-ID:
<1992Sep5.193043.4750@sbcs.sunysb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!stanford.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws19.ic.sunysb.edu!cdfanninReferences:
<1992Sep2.104307.14331@cco.caltech.edu> <1992Sep2.212551.19196@umr.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!stanford.edu!rutgers!cmcl2!sbcs.sunysb.edu!csws19.ic.sunysb.edu!cdfannin From: cdfannin@csws19.ic.sunysb.edu (Chris D Fanning) Newsgroups: comp.os.os2.programmer Subject: Re: I want to learn how to do simple graphics, keyboard, and joystick I/O Message-ID: <1992Sep5.193043.4750@sbcs.sunysb.edu> Date: 5 Sep 92 19:30:43 GMT References: <1992Sep2.104307.14331@cco.caltech.edu> <1992Sep2.212551.19196@umr.edu> Sender: usenet@sbcs.sunysb.edu (Usenet poster) Organization: State University of New York at Stony Brook Lines: 30 Nntp-Posting-Host: csws19.ic.sunysb.edu