Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pixel speed
#11
It is faster. Copying a raw bunch of bytes from memory to video is faster than plotting each one separately, mainly 'cause you don't have to calculate the address for each pixel using the former.

http://qbasicnews.com/abc

Peek there in the memory section. You should find some memcopy routines and stuff like that.

But, if you want to take my advice, stop the hassle and use a library.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#12
w00t, you guys were right, I made a second video buffer and poked all my pixels there, then used

PUT (0, 0), LogicalScreen, PSET

and now I am getting 56 FPS
it's great, don't know how it made such a change (from 11 FPS)
I think this problem is over.
just gotta get the pixel*pixel moving camera all set up.
now that I got the speed, there's nothin' holdin' me back!
thanks a bunch, to everyone who posted in my thread.
Reply
#13
Congrats for your achievements, jony_basic. Show us something of your work when you can! Smile
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#14
I definately will post the link to my game when I complete it.
it's very interesting how it gains about 35 FPS when you write to
low memory first.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)