Posts: 677
Threads: 57
Joined: Jan 2005
Quote:Ummm, I use WAIT &H3DA, 8. I also use WAIT &H3DA, 8, 8 to make the delay var longer (with the first one).
I use my routine to add the calcs TO the delays so the slowness of complex calculations accually is benificial.
And BBQ, if I did it your way it would not work. You have to store the draw variables into another variable to then erase at that stored variable later while you change the first one.
Your way:
Say I have an image at (3,4)
1. Draw image at (3,4)
2. change + check image to (5,6)
3. wait
4. erase image at (5,6)
5. loop
You don't want to do that above ^.
My way:
1. Draw image at (3,4)
2. Store image coordiantes to another variable which are (3,4)
3. Change + check image to (5,6)
4. WAIT
5. Erase image at old coordinates that you stored [(3,4)]
6. Loop
:wink:
You said you use
and
url=http://www.sloganizer.net/en/] [/url]
Posts: 4,307
Threads: 63
Joined: May 2003
Thedarkjay, the difference is that the second command will wait for an extra refresh compared to the first one.
Posts: 503
Threads: 31
Joined: Feb 2005
No....DarkJay was being meticuluos...he was pointing out a typo:
I accidently wrote:
WAIT &3DHA, 8
I ment:
WAIT &H3DA, 8
:x
i]"But...it was so beautifully done"[/i]
Posts: 677
Threads: 57
Joined: Jan 2005
Quote:No....DarkJay was being meticuluos...he was pointing out a typo:
I accidently wrote:
WAIT &3DHA, 8
I ment:
WAIT &H3DA, 8
:x
I honestly though they was a difference, i am no ASM programmer and isn't &H3DA a form of asm?
url=http://www.sloganizer.net/en/] [/url]
&H specifies a hexadecimal number
&HFF = 255
&H1 = 1
&HA = 10
do you know hex?
Posts: 677
Threads: 57
Joined: Jan 2005
Hex means 6 right?
tri = 3
quad = 4
pent = 5
hex = 6
sept = 7 (i think :???: not sure about 7)
oct = 8
non = 9
is that right?
i know the normal decimal system
1.99
and the doie<sp> decimal system
101 = 5
url=http://www.sloganizer.net/en/] [/url]
Posts: 503
Threads: 31
Joined: Feb 2005
No.
Base 2 is Binary (0,1)
Base 8 is Octal (0, 1, 2, 3, 4, 5, 6, 7)
Base 10 is Decimal (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Base 16 is hexidecimal (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F)
That's all I know.
i]"But...it was so beautifully done"[/i]
Posts: 2,765
Threads: 138
Joined: Nov 2002
hex technically means 6 but hexidecimal (hex(6) + dec(10)) is 16
Though I don't know what base 6 is called.. hexal? hexary? I dunno =P
The major bases are 2, 8, 10, and 16. (binary, octal, decimal, and hexidecimal)
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Posts: 503
Threads: 31
Joined: Feb 2005
Thanks Tiger for reilliterating me. :wink:
i]"But...it was so beautifully done"[/i]
|