-
Randomised data samplingHere is something that could be written in BASIC, if anyone is interested. Lets say we want to sample a subset of a larger population, we can do t…
... /> 20 POKE poptab+n, INT (RND * 4)
30 NEXT n ... -
How to write a simple BASIC* horizontal scrolling game (Tutorial) [b]How to write a simple BASIC* horizontal scrolling game[/b] In this tutorial, we will be talking about how to write a simple BASIC* horizont…
... 60000
300 PRINT AT RND*20,30;"*"
900 GO ... : ";s;
300 PRINT AT RND*20,30;"*"
400 LET ... -
Elon Musks's Blastar (Conversion)Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer) [url="https://www.t…
Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer)
[url="https://www.theverge.com/2015/6/9/8752333/elon-musk-blastar-pc-game"]https://www.theverge.com/2015/6/9/ ... -
Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…
... br /> 110 LET x=40+RND*176
120 LET ... y=40+RND*95
130 LET ... r=10+RND*30
140 CIRCLE ... pattern
310 IF RND>0.8 THEN GO ... LET o=15624+8*INT(RND*30)
330 REM ... br /> 410 LET c=56+RND*7
420 POKE ... -
Loading Bars - Rnd USR cmd ?Morning, Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE …
Morning,
Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE USR command with a certain value.
Does anyone remember this or perhaps I am "miss-remembering" ... -
Loading Bars - Rnd USR cmd ?Morning, Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE …
Morning,
Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE USR command with a certain value.
Does anyone remember this or perhaps I am "miss-remembering" ... -
Loading Bars - Rnd USR cmd ?Morning, Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE …
Morning,
Just a quick question - messing about with basic and all those years back I seem to remember a way to create loading bars with a RANDOMISE USR command with a certain value.
Does anyone remember this or perhaps I am "miss-remembering" ... -
Describe Yourself in three fictional character.A bit of stupid ass nonsense from years ago. Somebody might want to do it. Who knows. Easy for me, already done it. [url=https://www.flickr.com/gp…
... ][img]https://live.staticflickr.com/65535/52038624891_93a07413f5_z.jpg[/img][/url][url ... -
Built a ZX Spectrum that works, but can't get the upper RAM to work?Like the title says I finished my Spectrum 3B board, and it boots, but it doesn't see the upper 32k of RAM. When it boots, the lower 16k works f…
... be 32767 for 16K, or 65535 for 48K. But I tried ... /> 2 FOR a=25000 TO 65535 STEP 250
3 PRINT ... -
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 ... -
How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…
... a number from 0 to 65535 that identifies it.
Registers ... -
How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…
... , HL) to store numbers 0-65535.
How do you work ... out what a number 0-65535 is in it's high ... -
How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…
... noted, the Speccy has 0-65535 memory locations. 0 to 16383 ... u want from 23237 to 65535. Most Speccy programs are stored ... out what a number 0-65535 is in it's high ... -
How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…
... noted, the Speccy has 0-65535 memory locations. 0 to 16383 ... u want from 23237 to 65535. Most Speccy programs are stored ... out what a number 0-65535 is in it's high ... -
Thanks for the memories... is it 16k or 48k? Hi. At three different flea markets in Gothenburg, Sweden I found just as many Spectrums... (and a ZX81! [img]/__forums/images/smiles/icon_smile.gif…
POKE 65535,128, peek 65535
If it's not the same number, it's 16k. -
Thanks for the memories... is it 16k or 48k? Hi. At three different flea markets in Gothenburg, Sweden I found just as many Spectrums... (and a ZX81! [img]/__forums/images/smiles/icon_smile.gif…
... working 48k speccy will print 65535
Any other number ... -
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. …
... better than one out of 65535. [img]/__forums/images/smiles/icon_smile ... -
Anyone Recognizes This Loader?Hi there! I live in Argentina. I have a -dead by now- CZ Spectrum (a ZX clone made by an argentinian company, Czerweny, which used to make... Excell…
... memory dump from 24576 to 65535 to tape - the user had ... -
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 "> -
What's you happiest speccy related memory?Mine would have to be coming home from school at lunchtime with a couple of friends, loading up manic miner or commando for a quick 30 minute game-pl…
... go "around the clock" at 65535-ish. It'll be amusing ... -
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 & ...