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.004s
<1234567…34>
  • 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…

    ... machine stack to get USR to return a ... /> DEF FN p$(n,l,r)=STR$ USR address: ... ) := "1.0"
    FN p$(1,-5,3) := " ... 1.000"
    FN p$(1,-5,0) := " ... ) := "-00.120"
    FN p$(0,0,0) := ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • need a new method for m/c parameter assignmentI've been using a variable length function of the form: "FN a$(a$,a[,b...,z])=STR$ USR md" to search a data table and return a string result. By putt…

    ... form:
    "FN a$(a$,a[,b...,z])=STR$ USR md"
    USR md" can be persuaded to ... FN side of it is too slow. With four parameters the "USR ... up things by using "PRINT USR a$,a[,b...,z];" ... manipulating the return from the USR function so that I ...
    Battle Bunny Battle Bunny September 2012 Development
  • USR 0I've heard a lot about loading a program in USR 0 (and yes, I know how to do it - "RANDOMIZE USR 0" in 128 BASIC). What I want to know is: What is th…

    I've heard a lot about loading a program in USR 0 (and yes, I know how to do it - "RANDOMIZE USR 0" in 128 BASIC). What I want to know is: What is the point of loading a program in USR 0 mode, and what does it actually DO?
    Swevicus Swevicus November 2012 Hardware
  • handy method for passing m/c parametersI knew that a single number or string parameter could be passed to a m/c routine with either: [b]LET a=b+USR address[/b] puts b on the calculator st…

    ... /> [b]LET a=b+USR address[/b]
    puts b ... [b]LET a$="abc"+STR$ USR address[/b]
    puts a ... [b]LET a=b=c+USR address[/b]
    puts b ... LET a=b=(c=(d+USR address))[/b]
    puts ... quicker than using a DEF/FN, as there's no ... for which a DEF FN would be better.
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • IZX: a new standard format and driver for ZX-Spectrum icons[B]IZX[/B] is a very compact and efficient standard format to create icons for the ZX-Spectrum. You can download it from here: [LIST] [*][URL="http:…

    ...
    20 DEF FN z(r,c,i)=USR 55000[/CODE]

    [CODE]FLASH FN z(5, 8, 16)[/CODE ...
    Einar Saukas Einar Saukas July 2013 Brand new software
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    ... .
    [code]
    2 DEF FN t$(n,t,d)
    +VAL$ (("FN t$("
    +STR$ (n-INT ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... PEEK (a+1): DEF FN i(d,a)=USR MOVEI:
    REM ... LET MOVEM=FN p(ORG+10)
    13 RESTORE USR DOTRAP: GO ... br /> REM RESTORE USR DOINT : do stuff : RESTORE USR NOINT:
    ... REM replace USR labels with the ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... $(row,col) use FN c$(row,col) where FN c$() is defined ... as DEF FN c$(r,c)=STR$ USR ScrDol0 .
    [code ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... function:
    DEF FN s$(r,k)=STR$ USR ScrDol0
    so ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ...
    [code]
    2 DEF FN p(a)=PEEK a+256 ... 0:
    LET bc=USR mc: IF PEEK bytes THEN ... PRINT :
    LET ps=FN p(bytes+11): LET bs ... =FN p(bytes+15): LET ... (bytes+12): LET bc=USR mc
    10 LET ... a+PEEK (a+1);":";FN p(a+2); PAPER ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • Fix for the DEF FN bug of zmakebasSome months ago I discovered a bug in zmakebas: it does not include the 5 bytes required after every parameter of a DEF FN. By the time, the WoS f…

    ... every parameter of a DEF FN.

    By the time ...
    programandala.net programandala.net August 2015 Sinclair Basic
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    ... READ y
    34 POKE USR "b"+x,y: REM Custom ... READ y
    44 POKE USR "c"+x,y: REM ... READ y
    54 POKE USR "d"+x,y: REM ... READ y
    64 POKE USR "e"+x,y: REM ... READ y
    104 POKE USR "i"+x,y: REM Volume ... READ y
    114 POKE USR "j"+x,y: REM Volume ...
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... why is it called RANDOMIZE UsR what does randomising have to ... you type RANDOMIZE USR x. Why not RUN USR x ? I just ... tried PRINT USR 65368 it resets the machine! ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Ensure program runs in USR 0 mode?Is there some BASIC that can be used in a program to make sure the the program runs (even on 128k models) in 48k or USR 0 mode? I obviously then wan…

    Is there some BASIC that can be used in a program to make sure the the program runs (even on 128k models) in 48k or USR 0 mode? I obviously then want to be able to run the rest of the program from the USR 0 mode.
    matalog matalog February 2018 Sinclair Basic
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    ... RandAccess
    20 LET udg=USR "a"
    99 CLEAR ... 253
    320 POKE DEFADD,FN l(udg):
    ... POKE defadd+1,FN h(udg):
    LET s ...
    1311 DATA FN l(buf),FN h(buf)
    ... 1312 DATA FN l(512),FN h(512)
    ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • 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 …

    ... loading bars with a RANDOMISE USR command with a certain value ...
    Harvey Harvey March 2021 Sinclair Basic
  • 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 …

    ... loading bars with a RANDOMISE USR command with a certain value ...
    Harvey Harvey March 2021 Sinclair Basic
  • 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 …

    ... loading bars with a RANDOMISE USR command with a certain value ...
    Harvey Harvey March 2021 Sinclair Basic
  • BASIC Bug: DEF FN after REMHello all, Having mused the Spectrum ROM disassembly by Drs Logan ad O'Hara, I wondered about how good ZX BASIC was at locating the DEF FN when call…

    ... was at locating the DEF FN when called upon.
    ... [code]
    10 DEF FN a()=10
    20 PRINT ... code]
    10 REM : DEF FN a()=10
    20 PRINT ... routine that looks for DEF FN, DATA and (oddly) ... pigs ear of evaluating the FN call!

    ...
    BloodBaz BloodBaz May 2022 BASIC
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    This is what I've compiled so far:

    [quote]Resources
    =========

    * Make all caps
    ---------------

    You can turn CAPS LOCK on or off using a simple poke to 23658:

    POKE 23658,8: REM CAPS ON
    ...
    na_th_an na_th_an April 2005 Development
  • how to pass arguments from Basic to MC ?can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this: PRINT USR xxxxx, arg1, arg2:…

    ... FN method in slightly more detail: define a function as DEF FN ... f(x)=USR nnnnn . In your routine ...
    gasman gasman April 2006 Development
  • New - BASin r13a is available for downloadHi all, Here's the latest BASin. Mostly just bugfixes, but also now has the upgraded UDG editor which can now edit multiple UDGs on one editing gri…

    ... /moves/animates the sprites from FN() commands, but the user can ... that sprite commands using PRINT USR statements can be written as ...
    Dunny Dunny April 2006 Emulators
<1234567…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
fn 866 4.4K
usr 3.4K 6.2K

Related Threads

  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…
  • Randomize USR xxxxxA weird topic:<br /> When I was a kid I use to mess around with the RANDOMIZE USR xxxxx, sad I know!!!<br /> For instance RANDOMIZE USR 51234 would g…
  • Run BASIC program by R. USR xxxxxGuys, please help. Suppose I have BASIC program in my Spectrum 48K starting with line 10. I'd like to start it by RANDOMIZE USR xxxxx. Which paramete…
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects?<br /> <br /> As a start, try anything from RANDOMIZE USR 12…
  • List of RANDOMIZE USR code effects?Hi chaps,<br /> Does anyone have one of these please?<br /> Thanks.
  • 'usr 0 mode'Can anybody explain why some programs can't be just loaded after turning spectrum on but you must type 'usr 0' before loading them?
  • What's the RAND USR code for the test screen?And what versions of hardware does it work on?<br /> <br /> Ta!
  • Those RANDOMIZE USR lines that look like tape loading...I often see on here people mentioning those RANDOMIZE USR lines which when entered, seem to simulate a tape loading, with the colours and lines in th…
  • Happy Birthday Randomize UsrDon't know who you are, but have a good one dude! Hope you have many more.<br /> <br /> :)
  • DEF FN DirectivesI am looking at using some machine code functions from the DK Graphics Pack. They are machine code but they are called via Basic with the function de…

Related Searches

  • randomize usr
  • otla settings clear usr
  • otla clear usr
  • usr 15619
  • usr 0
  • usr 0 128
  • usr 328
  • scroll usr 328
  • scroll usr
  • rom scroll usr
  • strange loading randomize usr
  • modulo function def fn
  • rand usr
  • tr dos randomize usr
  • randomize usr pokes
  • randomize usr 3280
  • fuse def fn keyboard
  • usr
  • print usr
  • fn usr

Copyright © 2024 World of Spectrum