-
De zeven sleutels van TARKUSI've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now. And, it seems the game as it was printed in…
I've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now.
And, it seems the game as it was printed in the book, didn't work.
So there are some modifications in there to make it work ... -
line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…
... following code:
POKE 23672,0 : RANDOMIZE USR 50000 : REM ... START-ADRES
PRINT PEEK 23672
The internal ... -
random numbersCan you write a piece of code that gets you a truly random number from the Spectrum, or is it only capable of generating a pseudo-random number (ie. …
... , you could use the addresses 23672, 23673 and 23674. The first ... so on. If you peek 23672, you get what could be ... -
Average age of a Spectrum fanHi! I'm wondering what's the average age of us, readers of this forum. I'm 29 and started playing and programming on the Spectrum when I was 13 (infl…
24 - INTERNET DEVELOPER.
agreed I use VB and am still getting the benefit out of some basic functions.
like : random = int(rnd(4)*100) -
Randomize USR xxxxxA weird topic: When I was a kid I use to mess around with the RANDOMIZE USR xxxxx, sad I know!!! For instance RANDOMIZE USR 51234 would give me a loa…
... Happen?!?"
50 Let R = Rnd*16384
60 Pause 100 ... -
A silly BASIC programming challenge for you all..This is a very, very sily idea. So only read if you are bored. I use E-bay a lot. (my user id is thx1138ebn) edit: it's now retro-technology :edit…
... /> 1 PRINT INK RND*7;AT RND*21,RND*22;"GOOD BUYER" {or ... }
2 BEEP 0.01,RND*69
3 GOTO 1 ... -
A silly BASIC programming challenge for you all..This is a very, very sily idea. So only read if you are bored. I use E-bay a lot. (my user id is thx1138ebn) edit: it's now retro-technology :edit…
Guess a number (=80 characters)
1 LET X=INT(RND*999):FOR G=1 TO 99:INPUT "NR.=";A:PRINT "> -
Here's a christmas present for you!SE Basic is no longer being developed.
... /> The main sticking point was RND, PI etc - if we disallow ... -
Here's a christmas present for you!SE Basic is no longer being developed.
... /> The main sticking point was RND, PI etc - if we disallow ... interpreters coding, but:
RND, or PI are EXPRESSIONS, and ... reason, another is:
RND, PI or STOP are all ... -
Random Smiley FacesAs promised, here's the Syntax: ;Startup 5 CLS 7 PAPER 0: BORDER 0 ;Graphics 10 FOR n=0 to 7 20 READ row: POKE USR "P"+n,row 30 NEXT n 31 DATA BI…
... as
LET X = INT (RND * 32) and
LET Y ... = INT (RND * 22)
Further more ... .
LET X = INT (RND * 32)
LET Y = INT ... (RND * 24)
IF Y & ... -
New commands workingSE Basic is no longer being developed.
... .41, sebasic doesn't recognize RND as a command in 128basic ... from a tzx, SEbasic shows RND commands as ND. strange. -
New commands workingSE Basic is no longer being developed.
...
10 print rnd
you will see rnd is still lowercase ... -
games written using game writng programsI was reading through some issues of crash not long back and one article was about some 16 year old that wrote Frank n stein for the speccy(never pla…
... you get back to basic, rnd addrs tune+1 to start ... -
Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax. what is the difference between val "1" and 1? is it an effect of some …
... />
[code]
10 POKE 23672,0 : POKE 23673,0 : POKE ... F
50 PRINT PEEK 23672+256*PEEK 23673
[/code ... -
RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …
RND is pseudo random. However random getting 'stuck on a number' sounds dubious to me. -
RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …
Sorry all - Found my mistake - had nothing to do with RND not being random. Gosh that was not good. -
More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…
...
25 Beep .0010, INT ( RND*50 - ( SGN PI*INT ( PI ... ) - RND*5))
30 If n= ... 5000: Randomize: Beep .0010, INT ( RND*50 - ( SGN PI*INT ( PI ... ) - RND*15)): If n=10 Or ... -
More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…
... 0/1 you can use RND, but you can't tell ... -
More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…
... 0/1 you can use RND, but you can't tell ... -
More random questionsWay back in the mists of time I remember reading a couple of articles in an ancient copy of Sinclair User, ZX Computing or the like (can't remember w…
...
25 Beep .0010, INT ( RND*50 - ( SGN PI*INT ( PI ... ) - RND*5))
30 If n= ... 5000: Randomize: Beep .0010, INT ( RND*50 - ( SGN PI*INT ( PI ... ) - RND*15)): If n=10 Or ... -
Loading schemes18 years ago I hated loading schemes like Alcatraz and Speedlock because they were a b*tch to copy and became unreliable when the tape got older. Now…
... machine code equivalent of INT(RND*7) (because I don't ... -
TransAm - technical curiosityHi all, I guess this is for you machine code experts: how come a snapshot of TransAm always places the trophies in different places when I start a n…
... execution and then just using rnd. In assembly code I guess ... the rnd-style of code is better ... -
TimingHey All, Is their away of obtaining timing information on ZX128k other than addresses 23672->23674. Basically I would like to identify every 100th …
... on ZX128k other than addresses 23672->23674. Basically I would ... to the 50 present in 23672.
[/quote]
Tricky ... -
Loading TR-Dos game (not autoload)When I can`t autoload a TR-Dos game, what do I type? I`ve got the Pentagon set up, CAT alogued the disk, and get the following:- Title: AMD4ever 6 …
... and dont bother with the rnd usr in 48 or 128 ... -
RND not random?I recently wrote a simple Alien style game where the bad guys shoot you at random, it works fine, but after a while the Variable that is supposed to …
Is there a reason why when you use RND the first number it picks is always 0???