Posts: 1,439
Threads: 15
Joined: Apr 2003
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... :???:
Posts: 3,288
Threads: 167
Joined: Nov 2001
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. ;*)
Posts: 704
Threads: 0
Joined: Dec 2002
(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.
Posts: 3,288
Threads: 167
Joined: Nov 2001
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!!!
Posts: 3,616
Threads: 287
Joined: Jan 2003
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.
Posts: 134
Threads: 13
Joined: Jun 2003
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?
)
Posts: 780
Threads: 49
Joined: Dec 2001
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.
Posts: 788
Threads: 53
Joined: Nov 2002
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
Infact BOOSTQB by the mighty v1ctor has routines to do this sort of stuff.
oship me and i will give you lots of guurrls and beeea
Posts: 788
Threads: 53
Joined: Nov 2002
Did i say mighty? I meant lazy amazonian women
oship me and i will give you lots of guurrls and beeea
Posts: 780
Threads: 49
Joined: Dec 2001
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