World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.024s
<1…13141516171819…34>
  • Was learning machine code a waste of time?I remember computer magazines from the mid-1980s often had features about using machine code, which I duly skipped over as it seemed totally impenetr…

    ... had features about using machine code, which I duly skipped over ... me no one uses machine code any more, so does this ... learning the meaning of apparently random strings of numbers and letters ...
    udgoverload udgoverload September 2006 Chit chat
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... codes are accepted.

    [code]
    ; ---------------
    ; 4x8 font ... br /> ; --------------------------------
    ;
    ; Based on code by Ian Beardsmore from Your ... offset data
    ; the total number of bytes occupied,
    ; held ...
    chev chev January 2007 Development
  • New Discussion Group? Sinclair Machine Code/AssemblyHello, What do people think about whether we should have a new discussion group relating to machine code for Z80? We have a Sinclair Basic discussi…

    ... discussion group relating to machine code for Z80? We have a ... but not one about assembly code/machine code for the spectrum.

    There are a number of postings in the forums ... simply and fast in machine code.

    For me, Z80 ...
    BloodBaz BloodBaz May 2007 Sinclair Miscellaneous
  • First steps in Z80 machine codeI never got into machine code much back when I had a speccy, as I didn't have any development tools at the time. The only machine code I'd previousl…

    I never got into machine code much back when I ... br />
    The only machine code I'd previously done in ... the basics of Z80 machine code.

    I wrote ... don't laugh at the code, I'm a Z80 ... machine code, seems like loads of registers and a vast number of ...
    Digital Prawn Digital Prawn July 2007 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... 'm looking for a machine code routine which will
    clear ... 's display
    (or any number of rows or columns) . I ... bytes).
    However, this machine code routine, when I tested
    routine which clears a specific number of lines
    (which may ...
    bobbyjaykid bobbyjaykid July 2007 Development
  • +3dos BASIC Headers - Char and Number ArraysHi. I'm almost ready to release the first beta of "3eExplorer" my utility for extracting files from a +3e HDD/CF image. It's actually going quite w…

    ... a problem with Character and Number arrays. As far as I ... stored in a .TAP file...[CODE]+3 BASIC header:
    0x0f ... /> 0x15 : Parameter2 Low
    0x16 : ??[/CODE]
    If that's the ...
    icabod icabod July 2007 Development
  • What I hate about computers and/or video gamingYesterday I spent approximately four months (subjecively that is, objectively it was around two to three hours) fixing my mate's PC. I won't bore you…

    ... , or seem to mod at random, or just haven't got ... company capable of burning XBox code onto compatable DVDs, then the ... Carmageddon 1). There's any number of bad ports on all ... .

    * The ever declining number of user definable options (in ...
    ewgf ewgf August 2007 Chit chat
  • Code execution logging (Spin and EightyOne)I'm currently trying to analyse a piece of code by looking at the path taken through it while executing it. The easiest way for me to do this is to u…

    ... analyse a piece of code by looking at the ... an emulator that logs what code is being executed, and ... then run the code to completion (the aim ... remove parts of the code that never get run).< ... instructions (where "n" is a number much lower than I need ...
    icabod icabod November 2007 Emulators
  • It's a trap!So I got a CPLD (not the eventual one I want to use for the ethernet project - rather, one I actually have here and now, an XC9536 in a PLCC44). And…

    ... button is pressed on some random downstream device, it doesn't ... a CPLD as opposed to random logic, or a PAL/GAL ... a system call number on the stack, so code such as:

    would result in the code in the real ROM entry ...
    Winston Winston December 2007 Hardware
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    I have started to code my first machine code program, a simple ... /> and this is the assmebly code (now edited to show comments ... /> pop bc ;recover count for number of times we're repeating ... br /> endroutine
    ret
    [/code]Your help is much appreciated ...
    bigjon bigjon February 2008 Development
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…

    ... from ROM to get their random numbers, presumably because they want ... zigzag until I added some code to print the road edge ... />
    and the relevant code is
    [CODE]
    randommove
    ld ... z, moveleft
    jr moveright[/CODE]
    bigjon bigjon March 2008 Development
  • Elite Commander Editors / CreatorsI've noticed 3 of these in the WOS database. One is MIA and the other two have bugs I've discovered and don't edit everything. So, I was going to ma…

    ... managed to do that with random poking, as educated poking doesn ... out so far...

    [code]0-9 - Commander name (followed ... /> 13,14 - Rating expressed as number of kills (word)

    All this loads into 53332 :)[/code]

    The numbers ...
    mulder mulder March 2008 Games
  • Random access, file sizes and more.A few days ago Aowen mentioned that random access to saved data is not a problem. Here are my thoughts, doubts and suggestions regarding this subject…

    ... days ago Aowen mentioned that random access to saved data is ... ?
    Are partitions and machine code the only way to deal ... all rely on using machine code to read data from a ... need to learn complicated machine code (yes, I know, I know ...
    zxbruno zxbruno November 2008 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... />
    All the code files have a single character ... link

    [CODE];
    ; machine code microdrive file loader
    code
    err_sp equ $5c3d ; ... $5ced ; line number
    copies equ $5cef ; number of copies made ...
    jp jp August 2009 Development
  • Adjusting your code for screen refreshingOk, I'm aware that I should know it already after writing 5 Spectrum games in machine code but interrupts and screen refreshes were always my weaker …

    ... 5 Spectrum games in machine code but interrupts and screen refreshes ... perform HALT command in machine code, the computer will wait ... some calculations which need some random time to execute. So when ... random for me .

    Is there any way in machine code ...
    Ralf Ralf November 2009 Development
  • Req' Help with Random numbersHello all, im new to the forum, i hope im putting this in the right place ... I would like to ask a question in the hope someone will be able to as…

    ... can choose at random,(or at least as random as spectrum basic ... is the choosing of every number in that range and once ... a number is picked it would no ...
    djloonix djloonix November 2009 Sinclair Basic
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... when it encounters a line number >= $40nn there's no ... (23627)-machine_code_length:
    LOAD "filename" CODE mcpos,machine_code_length:
    PRINT "machine ... /> STOP
    9999 REM *** MACHINE CODE STARTS
    AFTER THIS LINE ...
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • printing a fixed number of decimal placesDoes anyone have a bit of code that will print a number with a fixed two decimal places? The example below should demonstrate the function, but the S…

    ... a bit of code that will print a number with a fixed ... the decimal point.

    [code]
    7000>FOR a ... print the trailing zeroes)
    [/code]
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... screen.

    [CODE]1005 REM Attribute Block Routine ... br /> RETURN [/CODE]

    This code works perfectly and is ... C9 RET ;RETURN to BASIC[/CODE]

    When ... have been through the code a number of times and ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... ways to convert a decimal number to 8 bit binary and ... with the following:

    [CODE]100 REM --------------------------
    110 DIM ... CLS
    140 INPUT "Enter number (
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…

    ... ish basic program to compare random sets of numbers
    number in each set.
    ... 6 numbers that the random generating routine (that i ...
    10 REM PUT RANDOM NUMBERS INTO X ARRAY
    130 REM PRINT RANDOM NUMBERS IN SETS OF ...
    loonix loonix July 2011 Sinclair Basic
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... 140.gif[/IMG]

    [CODE]
    /****************************************

    sp1 ... br />
    // C and SP1 code libraries are added here.


    // The maximum number of sprites is 10.
    Timmy Timmy January 2012 Development
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…

    ... a routine for storing machine code between PROG & VARS, ... Toni Baker's "Mastering Machine Code". This enables any attendant m ... when it encounters a line number >= $40nn there's no ... ):

    REM INSTALL MACHINE CODE... with GO TO 9161
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    ... me how much memory a number takes up in a BASIC ... had:

    [CODE]100 LET a=3000[/CODE]
    does the ... to store the floating point number
    4 bytes to store ... mark the end of the number

    so in total ...
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... string rather than a number. The examples below should ... returning with a "6 Number too big" error but ... 2A as well.
    [code]
    DEF FN p$( ... USR address: REM n=number,l=leftpad,r=rightpad< ... ,any) := "1.2345679E+8"
    [/code]

    --

    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... BASIC routine (below) to machine code, but to no avail.
    random heights

    After several ...
    daveysludge daveysludge July 2012 Development
  • The Hobbit, Empire, and an interviewHi all, I've got a little article on the making of The Hobbit in the latest issue of Empire magazine (we've run a huge feature on the film). I inte…

    ... of turning that into Assembler code - quite a mental transition of ... succeeded in making it truly random, and the non-player characters ... I've noticed is the number of people contacting me has ...
    Bad Horsey Bad Horsey November 2012 Games
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... underlying colour alone:

    [CODE]
    ;
    ; Output of Messages ... /> .msgfir defm " PRESS FIRE "
    [/CODE]

    On entering the ... the time. But occasionally, at random, it does one of two ...
    snigfarp snigfarp November 2012 Development
  • Adding TAP file contents to a Spectrum +3e DOS PartitionHello my fellow WoS'ers, This thread is a companion to a great little guide from a fellow AmiBayer [B]mnjnurney[/B] you can view his thread by [URL…

    ... typing its number and pressing return / enter.

    [code]
    10 ... a hard disk we have random access, so we need to ... a hard disk we have random access, so we need to ... /> 50 LOAD "ELITE.CDE" CODE
    [/code]simply, like the SCREEN$ loading ...
    Zetr0 Zetr0 January 2013 Games
  • Unspecified Custom Loaders IdentifiedThis thread specialises in loaders which are considered to be "Unspecified custom loaders" according to the Infoseek engine. These loaders (after som…

    ... colours before loading future blocks (CODE) in nonstandard colours
    ... program are SEPARATE headerless CODE blocks recorded at normal ... m not just picking out random custom loaders (NOT protection ... ]x[/i] being the variant number).

    [b] ...
    Swevicus Swevicus February 2013 Infoseek database
<1…13141516171819…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
random 6.6K 8.2K
number 18.5K 25.1K
code 41.6K 91.2K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23.<br /> <br /> Any ideas on …
  • How do I get a random numberHi,<br /> <br /> 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 p…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • issue number of ZX Spectrum 48K by means of serial numberIt is possible to identify the board issue of ZX Spectrum 48K/+ by means of the serial number?<br /> If yes, how?<br /> <br /> <br /> [ This Message…
  • 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…
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…
  • Random number from a rangeHow can I generate in assembly a random number from a range, let's say 0-21 or 0-57?<br /> <br /> There are generators which make it 0-255.<br /> <br…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • random
  • number of spectrums manufactured
  • number of spectrums made
  • serial number
  • code 16384
  • random number basic
  • random number 32768
  • random number 32768 repeat
  • random number
  • random number generator
  • random number generation
  • generate random number interface
  • machine code random number
  • random number gen
  • print number machine code

Copyright © 2024 World of Spectrum