Page 1 of 1

Faster than LINE/PSET, Larger than GET()-() / PUT ()-()

Posted: Sun Oct 24, 2004 12:12 pm
by N1FTY V1RU$
Two questions for advanced QB1.1 programmers...

1) Does anybody knows how to draw graphics faster than internal QB functions ?

2) Does anybody kows how to get larger datas into GET and PUT functions (graphic) ?


I have to make a faster display engine for GLASSES (see anouncements). This display engine has to get the background of any object in order to redraw this background later. At this point, for getting larger images, I use a file, with an array of bytes, wich i put direcly to the file by using memory access VARPTR/VARSEG wich is a bit fast, but slower than GET/PUT, but it has the advantage of getting an putting larger images than GET/PUT can do...

Does anyone konws how to work around this limitation of GET/PUT ???

Posted: Sun Oct 24, 2004 3:10 pm
by Anonymous
If you want it faster than GET/PUT...

1) Use ASM or library

2) Use ASM or library

It's that simple... ;)

CASE "assembly"

Posted: Tue Oct 26, 2004 6:24 am
by N1FTY V1RU$
For the case i would use assemby, what should i need to have or to know ( for example, where to download an example...)

thanks for reply

Posted: Tue Oct 26, 2004 6:48 am
by Anonymous
First of all, you need some knowledge about ASM. You can get a large art of assembly book at my (still down) site: http://qbnz.com/harsoft/ARTOFASSEMBLER.zip.

Then you need information about the video mode you are using. If you're using Mode 13h (320x200x256), programming becomes rather easy because the full video buffer is stored at A000:0000 to A000:FFFF. If you want to use higher res modes, you have to use interrupts. Look at http://www.ctyme.com/rbrown.htm for the interrupt list.

But I don't know if this all can be used in QB1.1, anyone? If it doesn't work, I advice you to use QB 4.5 or QB 7.1 (PDS) instead.

Hope this helped a bit ;)

Thanks

Posted: Tue Oct 26, 2004 8:21 am
by N1FTY V1RU$
Thanks for these links

Bye

Posted: Tue Oct 26, 2004 10:01 am
by Z!re
Storing more then 64kb as get/put would be inefficient.

And doesent really serve any purpouse.

Posted: Sun Oct 31, 2004 9:02 am
by Guest
Or you could use a library. You have many choices, ?GL, flib, dqb, rellib and a few more.

Posted: Sun Oct 31, 2004 4:20 pm
by Anonymous
Don't forget NeoLib... ;)

Posted: Sun Oct 31, 2004 5:54 pm
by Z!re
Plug plug plug