05-28-2003, 07:56 PM
Is there a good way to plot pixels using the POKE commmand in QB's mode 7?
Using Poke to plot pixels in SCREEN 7.
|
05-28-2003, 07:56 PM
Is there a good way to plot pixels using the POKE commmand in QB's mode 7?
05-28-2003, 08:53 PM
screen 7 is 16-color ega, and it isnt chained, like 13h. you have to use OUT ports to change the plane and peek each pixel so that you only change one bit when you poke it. I think you'd be better off either using qb's PSET or GET/PUT.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
05-28-2003, 09:28 PM
Yup, it is DAMN SLOW (try it for yourself)
Code: DEFINT A-Z To change page add (&H200 * page%) to the value located in the DEF SEG.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
05-29-2003, 08:40 AM
Of course its slow. Until you limit yourself to one plane whis is one color. But who would do that? LOL
PSET is the way!!! RockMan: Why are you using screen 7? Most of use has migrated to 13h. ;*)
05-29-2003, 09:31 AM
my guess is paging and libphobia. (and dont mention only using one plane for speed unless you want to magically summon wizardlife!)
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
05-30-2003, 07:55 AM
well, if he wanted paging in 13h, he could just use Plasma's SetVideoSeg. And I'd bet it would be faster too!!!
05-30-2003, 10:01 AM
yeah, but he's making a fighting game and storing all the graphics in near memory. (nut)
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
05-31-2003, 09:30 AM
"640 kb ought to be enough for anybody" :*)
|
« Next Oldest | Next Newest »
|