-
How do I get a random numberHi, I need a simple routine to get a random number from 1 to 4. I don't need nothing very complex or that much random, it just have to produce diffe…
... />
I looked into S-RND (in ROM at addr #25F8 ... -
Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…
... call random ; fetch RND number
add a ... ld hl,(seed) ; fetch RND pointer
inc hl ... seed),hl ; store next RND-pointer
ld a ... ret ; A holds RND value
seed ... -
200+ Spectrum GamesIm selling my collection of speccy games if you fancy a peek goto [url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=8263050136&rd=1&sspagena…
... games if you fancy a peek goto
[url="http://cgi ... -
Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…
Hey all !
Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia called "Mirko Tipka na Radirko" which is roughly translated as "Mirko types on rubber" ( ... -
Pseudo random numbersHi everybody, I 'd like to convert a little program i wrote in VisualBasic6.0 to C or C++ to make it run faster and for training as i'm a very very n…
Which would be fasterSay you want to use a variable value of 0 to 255 in a BASIC program, which way would be fastest? Say for arguments sake you wanted to use two variabl…
... />
2) Using POKE and PEEK to store the value in ... .e.
POKE 60001, PEEK 60002
Also ...Spectrum Basic InterpreterHello. I started this days a strange project: an interpreter of the Spectrum Basic that can run in a Spectrum. Here is a very preliminar version: […
... only, operators, functions and instructions: +, -, *, peek, usr, rem, list, print, goto ...my new old sheffield music site :)[url]http://sheffieldmusic.multiply.com[/url] the era between 1986 and 1996 in sheffield music mostly gets overlooked, my new site is to redress the…
[url]http://sheffieldmusic.multiply.com[/url]
the era between 1986 and 1996 in sheffield music mostly gets overlooked, my new site is to redress the balance :)
if you like punk, indie, metal...have a peekList of POKEs and PEEKs/cool memory addressesI was wondering if there was a list of cool memory addresses to POKE and/or PEEK. For example, I know that PEEK 23674 tells you how long a Speccy has…
... addresses to POKE and/or PEEK. For example, I know that ... PEEK 23674 tells you how long ...ONELINER : Finger TwisterFINGER TWISTER Do you all know TWISTER, that crazy game where you had to place your left foot on yellow, your right hand on green etc. etc. Well, n…
... =1 TO l: LET y=RND*(6-z)+.5:
LET ... $(6
-z): LET y=RND*3+.5: LET b$(y ...Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …
... maze using POINT, PLOT and PEEK to store the data in ...The Non Randomness of Sam BasicHows about this for weird. Hardly ever bothered with such simple stuff before but this is what I just did on the Sam ( as in a real one now I've got …
... ):
10 LET x=RND* 255
20 LET y ...
30 LET p=RND* 16
40 PEN p< ...Free booklets with magazines... in archive?A recent trawl through my storage boxes has turned up some booklets that SU used to tuck into their mags back in the day. Specifically: Top 50 Spect…
... of thing? Had a quick peek in some likely-looking folders ...Problem with replacing all upper memory with 4164 chipsGuys, i have a problem with the high memory of a 4B issue. At first the board had OKI chips for high memory and one of them was faulty. Since its ea…
... /> When using the PRINT PEEK 23732+ PEEK 23733*256 the result is ...Internal functions on ZX80 keyboardHi guys, I'm trying to do some bits and pieces for the ZX80. I was wondering how you access the functions that aren't on the keyboard (RND etc.). Th…
Hi guys,
I'm trying to do some bits and pieces for the ZX80. I was wondering how you access the functions that aren't on the keyboard (RND etc.). They're described as 'integral functions'. Does anyone know I can get to them?Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…
... version of my routine used RND and ATTR to paint randomly ...Porting 8k Adventure to SpectrumSomeone has tried to help me port 8k Adventure over to the spectrum. Here is the code thus far. It doesn't seem to work with the verbs, however. I tr…
Someone has tried to help me port 8k Adventure over to the spectrum. Here is the code thus far. It doesn't seem to work with the verbs, however. I tried getting an object, but it said "Verb not recognized. Type help for clues".
Here is the ...Happy birthday RND!!Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)
Merry birthday... Get absolutely sloshed!! (And play lots of [I]Chaos[/I]) :)Hi Fi stuffok after reading the technical details on the surround soundy thread, i thought it'd be interesting to read about other peoples Hi Fi set ups :) min…
... .....i need to have a peek inside see if i can ...Problem upgrading 16K SpectrumHello Spec-chums, I've been a long time Commodore user, but also a long-time Speccy admirer (and emulator user). I've recently got hold of a Issue 2…
... message, but carrying out PRINT PEEK 23732 + PEEK 23733 * 256 reveals that ...Just wrote my first useful working Speccy BASIC program in years...A nice UK National Lottery number generator. And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replace…
A nice UK National Lottery number generator.
And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replacement (i.e. using 48 of the 49 numbers from 1 to 49) without repeating any number twice.
< ...Error Message on memory testI have just tried PRINT PEEK 23732 + PEEK 23733 * 256 on what I think is a 48K rubber key machine and instead of getting either (a) for a 48k unit…
Spectrum trends in GoogleSome curious notes about Speccy in [URL="http://www.google.es/trends"]Google Trends[/URL]: The number of times [URL="http://www.google.es/trends?q=z…
... ]
Only a high peek in 2007, coinciding with the ...