-
Using CP and JR Z commandI have been trying to [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40011"]convert a BASIC routine to machine code[/URL], but to no av…
... 30000 should change to a random number when the value of 30001 ... -
Anti-piracy measures on Speccy games - What games have it?I was looking at the JSW card which gives you the grid location system for protecting the game against simple forms of copying, and I know that ATF h…
... variable - thereby giving an effectively random number depending on how long since ... -
Anti-piracy measures on Speccy games - What games have it?I was looking at the JSW card which gives you the grid location system for protecting the game against simple forms of copying, and I know that ATF h…
... variable - thereby giving an effectively random number depending on how long since ... -
Bug fixing woesGaahhhh! I've spent an afternoon off work agonizing over why my routine didn't work. It's something I'd already restarted so didn't want to wipe th…
... meant I was putting a random number wherever hl was pointing in ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... operation.
If your random number R is between 0 and ... the correct offset. So your random number, let's call it C ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... /> [code] ;input: a = your initial random value, e.g. 0-255 ... does provide you with a random number in the specified range, the ... weighting (probability) of each number is not the same. -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... does provide you with a random number in the specified range, the ... weighting (probability) of each number is not the same.[/QUOTE ... range 0-200 and a random number 0-255
We ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... does provide you with a random number in the specified range, the ... weighting (probability) of each number is not the same.[/QUOTE ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... mentioned by RTape where a random number is repeatedly generated until ... This depends on the original random number generator being perfectly uniform and ... to get a valid number especially if the range ... R repeatedly into the large random number range 0-L. If ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... time to get a valid number especially if the range is ... digit higher - and rerolls the random number if it's still too ... . As a result p(successful random in range) ends up > ... -
Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57? There are generators which make it 0-255. By using bit masks I…
... digit higher - and rerolls the random number if it's still too ... . As a result p(successful random in range) ends up > ... -
Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…
... since games usually need to generate random numbers frequently... -
Spectrum30 Show in Cambridge, 08th-09th September 2012Hello Spectrum-fans, after many months of preparation we now proudly present what will be the biggest Spectrum venue of the last 20 years. We manage…
Yes it was you and I am indeed Rich who was behind the stall...
I have passed the comment back to the designer, so it will be interesting to see what he says! Maybe just a fluke of the ZX81's random number generator! -
Multiplayer Elite is finally happeningDavid Braben just announced that he's started a kickstarter funding project to finally make a multiplayer version of Elite. How f*cking awesome is th…
... most of this video explaining random number generation, and that using the ... -
Arcade Game Designer 3The latest version of the arcade game creation tool for the 128K Spectrum. AGD 3 now boasts pop-up menu and inventory facilities for arcade adventur…
... , you could try getting a random number between 0 and 8, then ... and you should have a random list of numbers 1 - 10 ... -
Arcade Game Designer 3The latest version of the arcade game creation tool for the 128K Spectrum. AGD 3 now boasts pop-up menu and inventory facilities for arcade adventur…
... , you could try getting a random number between 0 and 8, then ... and you should have a random list of numbers 1 - 10 ... -
The Chuntey InitiativeIt's the start of a new year and with it brings a new wave of optimism and hope! :) In light of the relative success of twitter/speccynews (in the s…
... recently added Patrik Rak's Random Number Generator routines (very useful!) as ... -
RANDOMIZE USRI always thought that this particular basic command was not intuitive! If I understand correctly is means run the code from the memory address, is t…
... randomize implies the RAND function (random numbers), what should have it ... BC register pair (Used by Random number generator), but you don't ... -
A quick newbish questionI'm reading through 'mastering machine code on your spectrum',as kindly posted by Mr bert on this forum. Correct me if I'm wrong from what i read,bu…
... value for the BASIC RND random number command). You can use any ... -
Flashing coloured blocks - diagnosisHiya, hope this is the right place for this... Was given an Issue 2 48K by a someone yesterday that hasn't been powered on in 20 years, which works …
... , you'll never see it (random number fill tests are probably the ... -
"Chronos": how fast should it really be?I was reading [URL="http://timfollin.pwp.blueyonder.co.uk/Archive.htm"]Tim Follin's webpage[/URL] the other day and came across a curious remark abou…
... ends up with a fairly random number between 0 and 9. This ... number is used to select a ... =0000951"]Tip Shop[/URL] is Number 5), most pretty funny. Once ... joystick. My favourite table is number 10 which says:
[QUOTE ... -
New CLimacus Game - Request in Peace (RIP)[img]http://www.bytemaniacos.com/web/wp-content/uploads/2013/05/rip_1.png[/img] RIP Klimacus His fathers Radastan y Climacus, uncle McNeil, and pol…
... music is annoying. Is it random number generator playing? ;)
Oh ... -
The Official Crap Games Competition 2013 Thread!Just to announce that the 2013 CGC is OPEN! [IMG]http://i1142.photobucket.com/albums/n608/daveyboyhughes/cgctitle2_zps77591934.jpg[/IMG] And for th…
... the POKEs of of a random number (repeated 32 times to get ... -
Machine code assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…
... result will be random because B will be random.
In ... C,100 -you will get random number because B is not set ... -
generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…
... /> We then roll up a random number from one to ten. And ... cards, so we roll a number from 1 to 9, and ... cards. So we roll a number from 1 to 8, and ... on the screen in a random order; hitting each one once ... -
generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…
... equally likely. Mostly because a random seed with around 250 bits ... all. Perhaps excluding the hardware random number generators. -
Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…
... solve it is that the random number generator isn't really good ... />
But anyway, put the random cuts for one piece of ... -
Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…
... solve it is that the random number generator isn't really good ... />
But anyway, put the random cuts for one piece of ... I wrong?!
The random number generator in basic is probably ... -
cluless journo's talk retro[url]http://www.dailymail.co.uk/sciencetech/article-2479087/Over-30-Then-game-Tetris-Pac-Man-Atari-classed-digital-ARCHAEOLOGY.html[/url] magic mine…
... the Spectrum's not-very random number generator would limit the results ...