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
<1…45678910…34>
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... .)

    ;DEF FN d(d$,r,c)=USR DoubleHeight
    ;LET ... bc=FN d(d$,r ...
    Battle Bunny Battle Bunny June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... .)

    ;DEF FN d(d$,r,c)=USR DoubleHeight
    ;LET ... bc=FN d(d$,r ...
    Battle Bunny Battle Bunny June 2015 Development
  • DEFFNder: a small library of BASIC functions written in Z80I've published a small library of 15 Sinclair BASIC functions written in Z80. I wrote it last year for a project of mine. Some of them are generic, s…

    ... /> A couple of the DEF FN example calls in the documentation ... ]
    10 DEF FN f(h$,k)="" USR lookup16
    [/code]
    10 DEF FN f(h$,k)=USR lookup16
    [/code]
    programandala.net programandala.net August 2015 Sinclair Basic
  • What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.

    ... :
    ; DEF FN s$(r,c)=STR$ USR ScrDol1
    ; ... FN s$(row ... ]
    2 DEF FN s$(r,c)=STR$ USR 23296
    9 ... 50
    110 IF INKEY$=FN s$(21,4) THEN
    Battle Bunny Battle Bunny May 2016 Sinclair Basic
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... /> 1001 RESTORE k9: LET fnw=FN p(23639)+k8:
    RANDOMIZE ...
    Battle Bunny Battle Bunny August 2016 Brand new software
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... [code]
    97 LET z$=FN v$((STR$ i AND ik ... =k))+FN v$(FN t$(p$(i,k2)))
    +FN b$("###,###")+FN b ... j=k1:
    LET bc=USR pu: GO SUB s5: ... a(i,k6): LET bc=USR pu:
    LET z$=z ... $ a(i,k7): LET bc=USR pu: PRINT ,z$:
    ...
    Battle Bunny Battle Bunny August 2016 Brand new software
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... Functions:
    [code]
    DEF FN d(w,x)=INT ((x ... pixel coordinate
    DEF FN y(y)=175-y: HPLOT ...
    DEF FN z(a,b,z$)=USR p42
    ... RND (the POKEs address the FN r(a) parameter). Called ... this manner; eg.: GO SUB FN r(-ABS lucky)
    ...
    Battle Bunny Battle Bunny August 2016 Sinclair Basic
  • POKE taking a variable amount of time...Hi Folks, Does anyone know why the following POKE statements seem to vary in their execution time? [code]100 POKE 60000,10 110 POKE 60001,16…

    ... 60001,X
    1020 RANDOMIZE USR 60002
    ...
    [/ ... 60002,Y
    20 RANDOMIZE USR 60000
    [/code]
    ... ]
    10 DEF FN a(b,c)=USR 60000
    20 ... RANDOMIZE FN a (x, ... 20
    20 RANDOMIZE USR 60000
    [/code]
    GReW GReW September 2016 Sinclair Basic
  • POKE taking a variable amount of time...Hi Folks, Does anyone know why the following POKE statements seem to vary in their execution time? [code]100 POKE 60000,10 110 POKE 60001,16…

    ... 60002,Y
    20 RANDOMIZE USR 60000
    [/code]

    10 DEF FN a(b,c)=USR 60000
    20 RANDOMIZE ... FN a (x,y)
    FN approach, how do you access ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... with a call to a USR routine. As I expected, ... /> with a call to a USR routine:
    [code]
    ... :
    [code]DEF FN a(a$)=USR 65368[/code]
    The ... assembler for FN a(a$) ... display the Balrog and the USR loop took 0.30 ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... $="F" THEN
    GO SUB FN r(N): LET Z=INT ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • The trouble with good code isLots of times I've come here to ask for help and always got it pretty promptly. Which is wonderful and one of the reasons why I don't think there's a…

    ... .
    so things like DEF FN , LINE , OPEN , ATN , RAND, COS ... I don't go near USR that normally just resets the ...
    ASH-II ASH-II May 2017 Chit chat
  • The trouble with good code isLots of times I've come here to ask for help and always got it pretty promptly. Which is wonderful and one of the reasons why I don't think there's a…

    ... .
    so things like DEF FN , LINE , OPEN , ATN , RAND, COS ... I don't go near USR that normally just resets the ...
    mik3d3nch mik3d3nch May 2017 Chit chat
  • The trouble with good code isLots of times I've come here to ask for help and always got it pretty promptly. Which is wonderful and one of the reasons why I don't think there's a…

    ... .
    so things like DEF FN , LINE , OPEN , ATN , RAND, COS ... I don't go near USR that normally just resets the ...
    mel the bell mel the bell May 2017 Chit chat
  • Reading Disks via ASMI'm hoping to port my Amstrad game to the spectrum (See the link in my sig for info) I will be targeting the 128 and +3 - the game will not work on …

    ... using the function "FN u(a$,f$,B,D)=USR DOS", summarised ... thus:

    [code]
    REM calls : FN ... ,D)=USR DOS: B=bc=FN b(c,b): D=de=FN b ...
    Battle Bunny Battle Bunny July 2017 Development
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    ... /> DEF FN a()=FN p(23613):
    DEF FN i()=FN p(FN a())
    USR 2048 ($0800 VR_CONT_3) will set ... by subsequent ROM code) then USR 1995 ($07CB VR_CONTRL) will set ...
    Battle Bunny Battle Bunny September 2017 Sinclair Basic
  • Floppy drive fixI know this might be a long shot but does anyone know or does anyone fix floppy drives I ha e an nous discovery and the controller on the floppy driv…

    ... now"
    20 RANDOMIZE USR 14070:DEF FN a()=CODE INKEY$ #4 ... =2):POINT #4;FN a()+10:POINT #4;FN a()+off:POINT ... #4;FN a()
    35 ...
    roko roko December 2017 Wanted
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... .):
    LET a=x=y+USR Plot191 ... or ... Draw191
    ... .BAS
    4 DEF FN p(a)=PEEK a+256 ... 11 LET p191=FN p(PD): LET d191=FN p(PD+2 ...
    23 FLASH x=y+USR p191: REM = PLOT191 (x, ... (z-x)=(191-2*Y)+USR d191: REM = DRAW191 (z ...
    Battle Bunny Battle Bunny January 2018 Sinclair Basic
  • Need Some Basic HelpHi all, I’ve decided to give programming in Spectrum Basic a go again (bit of nostalgia trip!) and I’m trying to develop a CYOA style game. How…

    ... /> [code]
    3 DEF FN p(a)=PEEK a+256 ...
    1010 LET apos=FN p(23627)+8:
    ... "PROG= ";FN p(23627)-FN p(23635),,
    "VARS= ";FN p(23641)-FN p ... (23627),,
    "FREE= ";65536-USR 7962,,: PAUSE ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... , and possibly called as a USR function from a FN call.
    Dunny Dunny August 2018 Development
  • what does the USR command actually stand for?im sure its an acronym, if i remember rightly. ____ sub routine?

    ... the BASIC line following the USR to extract parameters - I remember ... , which was called with PRINT USR [i]address[/i],[i]firstline ... user-defined function DEF FN a(p,q) = USR [i]address[/i ...
    John Elliott John Elliott June 2019 BASIC
  • Why buy a Raspberry PI to learn programming when you can learn on a Spectrum?I had a raspberry PI for just over a year, never did anything on it except it was fun to get it hooked up to the Internet and be surfing it on a syst…

    ... one can do with DEF FN. I think it was a ... function:

    10 DEF FN p(a,b)=2*a ... *b

    20 PRINT FN p(20,50)

    USR routine to draw 3D graphs ...
    dmsmith dmsmith August 2019 Chit chat
  • Adding command to BASICI am looking for an article about adding commands via software to sinclair basic. I know there was one published and to the best of my knowledge it w…

    ... is to use DEF FN x(a,b$)=USR 32768, you can ...
    Turtle_Quality Turtle_Quality August 2019 Sinclair Basic
<1…45678910…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