Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write directly to the memory?
#11
Quote:sorry, just making sure

it was like that in Visual Basic, and i wasnt sure since this is also a basic
Do you mean that it would define a 199-element array in VB? Are you using Option Base 1 or something? The default in VB is base 0... :???:
Reply
#12
Quote:There are no "BIOS calls" in peek/poke...Peek is 3 MOVs and an XOR. Poke is 4 MOVs.

The beauty of having the QB source code. I remember asking it from you my friend. ;*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#13
(And I think it's the source code for *Qbasic* that's been circulating around, not QB.) BC.EXE's /A option will show you (via a list file that gets created) the ASM equivalent of .BAS code.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#14
Quote:(And I think it's the source code for *Qbasic* that's been circulating around, not QB.) BC.EXE's /A option will show you (via a list file that gets created) the ASM equivalent of .BAS code.

Hey. Cool!!! I never knew that!!! Thanks!!!
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#15
Yeah, cool! Hours of fun are coming... :rotfl:
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#16
I will try these. I would like to make a car racing game where pixel by pixel scrolling is really needed. (Can You imagine a car racing game with tileish movement? Smile )
ingCheetah, the Running Cheetah Software programmer

http://rcs.fateback.com/
Reply
#17
reason u find pset slow is cuz it was written for all screen modes. get a lib or something, and use it's pset or even more appropriate its get/put routines. they will be most likely screen 13 specific, so they can get very very fast.

also your not gonna find nething in qb that writes to mem faster than pek/poke

or at least nething that i know of

Hail.
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply
#18
This might come as a shock to you people, but arrays in qb have descriptors which points the array to a memory adress. This pointer can of course be changed Tongue
Infact BOOSTQB by the mighty v1ctor has routines to do this sort of stuff. Big Grin
oship me and i will give you lots of guurrls and beeea
Reply
#19
Did i say mighty? I meant lazy amazonian women Tongue
oship me and i will give you lots of guurrls and beeea
Reply
#20
Shock, no.

Stick the sarcasm somewhere else next time.

BoostQB? Link? Is it a lib or a routine or what?

Oh, and Blitz. You really shouldn't...go around messing up anybody else's polls
·~¹'°¨°'¹i|¡~æthérFòx~¡|i¹'°¨°'¹~·-
avinash.vora - http://www.avinashv.net
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)