Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

This topic is 5629 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
use asm

i''ve heared that u can use asm in basic (am i wrong??) but its quite complicated

qbasic rules
maybe u could try to do double buffering ?? (also u''ll have to asm)


Share this post


Link to post
Share on other sites
Here it goes, this is the easiest way without using assembly. This code is fore mode 13 only though.


    

SCREEN 13

PlotPixel 10,10,45

sub PlotPixel(x as integer, y as integer,colorval as integer)
DEF SEG=&HA000
POKE Y*320+X,ColorVal
end sub


Other than that, if you want to use libraries that already have all these things implemented then try these sites:

www.qb45.com
www.qb45.net (different than above)
vplanet.cjb.net
www.neozones.com
www.qbasicnews.com

[edited by - MOVSW on April 20, 2003 11:19:14 PM]

Share this post


Link to post
Share on other sites
qbasic is actually pretty fun, and easy, but the thing is, Win XP has horrible DOS emulation, so, I said ''fuck it, C++''

And ..... now I''m learning C++


DigiCode - My solo company in progress.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
you can compile asm and use CallAbsolute on a string of hex bytes.

Share this post


Link to post
Share on other sites
you can use DrawPrimitive in qbasic. it works with variables html so I figure it would work with qb.

for the above post you only have to set the segment offset at the begining of your code when you set the screen not everytime you what to draw a pixel.


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!