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>
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... />
    [CODE]
    1 DEF FN r(x)=IN x191 AND ... IN x0)*FN r(32766):
    LET b ... =(f>a)*(FN r(57342)-FN r(64510)):
    LET ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ...
    [CODE]
    1 DEF FN z$(x)=CHR$ 22+CHR ... (x/7)):
    DEF FN m(x)=CODE m$(x ... FN p$(x)=FN z$(x)+CHR$ 16+CHR$ FN m(x)+CHR$ (FN ... br /> READ n:
    POKE USR "a"+f,n:
    NEXT ... 7 TO 55:
    PRINT FN p$(f):
    NEXT ... i=6):
    LET a=FN m(z+d):
    ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... />
    [CODE]
    1 DEF FN z$(x)=CHR$ 22+CHR ... (x/w)):
    DEF FN m(x)=CODE m$(x ... FN p$(x)=FN z$(x)+CHR$ 16+CHR$ FN m(x)+CHR$ (FN ... br /> READ n:
    POKE USR "b"+w+4,n:
    PRINT FN p$(z+31):
    NEXT ... i=6):
    LET a=FN m(z+d):
    ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ...
    [CODE]
    1 DEF FN z$(x)=CHR$ 22+CHR ... (x/7)):
    DEF FN m(x)=CODE m$(x ... FN p$(x)=FN z$(x)+CHR$ 16+CHR$ FN m(x)+CHR$ (FN ... br /> READ n:
    POKE USR "a"+f,n:
    NEXT ... 7 TO 55:
    PRINT FN p$(f):
    NEXT ... i=6):
    LET a=FN m(z+d):
    ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... />
    [CODE]
    1 DEF FN z$(x)=CHR$ 22+CHR ... (x/7)):
    DEF FN m(x)=CODE m$(x ... FN p$(x)=FN z$(x)+CHR$ 16+CHR$ FN m(x)+CHR$ (FN ... br /> READ n:
    POKE USR "a"+z+5,n:
    PRINT FN p$(f):
    NEXT f ... i=6):
    LET a=FN m(z+d):
    LET ...
    Einar Saukas Einar Saukas August 2007 Development
  • 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…

    ... that was via a DEF FN.
    I defined the ... like:[CODE]DEF FN P(A,B,A$)=USR 32768[/CODE]and ... called it with:[CODE]LET A=FN ... the parameters of the DEF FN function are to look at ... which points to the DEF FN function in use.

    icabod icabod December 2007 Development
  • 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…

    ... the parameters of the DEF FN.
    So in order to ... :
    [CODE]DEF FN P(A,B$)=usr 32768[/CODE]
    The ... gets called, and calling the FN from BASIC. Just look at ...
    icabod icabod December 2007 Development
  • 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…

    ... nice thing about DEF FN + some USR call is that they'll ...
    Winston Winston December 2007 Development
  • 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…

    I like the DEF FN method of calling USR functions. Always think it is worth having a distinct m/c entry point to go with it though.
    BloodBaz BloodBaz December 2007 Development
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ... :let n=11:let m=fn r(8)
    410 ... =y(m):let p=2*fn r(2)
    420 ... =r+1:let c=c+fn r(3)-2
    ... to 15:read d:poke usr"a"+n,d
    ... 1020 return
    2000 def fn r(n)=int(rnd*n ... 1
    220 let r=fn r(16)+2
    ... 230 let c=fn r(16)+4
    ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ... 0
    190 let m=fn r(11)-6:let l ... at r,c;" ":let a=usr z
    290 let c ... 3
    610 let k=fn r(10)-1:ink k ... /> 1020 return
    2000 def fn r(n)=int(rnd*n ... /> 1020 return
    2000 def fn r(n)=int(rnd*n ... gosub 700
    240 if fn r(2)=1 then let ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... />
    [code]
    1 DEF FN a(r,n)=r-INT ... $(x)-40):
    LET c=FN a(3+PEEK 23673,256 ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ c$,m,n,v,p:
    LET x=RND*36+10:
    POKE n*(c$(x)>"O"),3:
    LET c$(x)=CHR$ (CODE c$(x)-40):
    LET c=FN a(3+PEEK 23673,256):
    CLS :
    LET x=x+n*(c$(p)
    Dr BEEP Dr BEEP March 2008 Development
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... Shift, then 'D'
    DEF FN Caps Shift+Symbol Shift, then ... Symbol Shift and 'V'
    FN Caps Shift+Symbol Shift, then ... Symbol Shift and 'F'
    USR Caps Shift+Symbol Shift, then ...
    Dunny Dunny March 2008 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    1 DEF FN a(r,n)=r-INT ( ... ;"O"),3:
    LET c=FN a(3+PEEK 23673,256 ... $(p)=x$):
    PRINT "Room:";FN a(CODE c$(p),40 ... x$=h$;"NESW"(g);":";STR$ (FN a(CODE h$,40)^2 ...
    Dr BEEP Dr BEEP March 2008 Development
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... /> DATA : E : D
    DEF FN : E : SYM + 1
    DIM ... /> FLASH : E : SYM + V
    FN : E : SYM + 2
    FOR ... /> TO : KLC : SYM + F
    USR : E : L
    VAL : E ...
    icabod icabod March 2008 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [code]
    2 DEF FN r(u)=z+z*u*( ... =l+5-4*m(q+FN r(1)*((l=15)-(l ...
    Dr BEEP Dr BEEP March 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... ,j,q:
    FOR f=USR 7766^0 TO 25:
    Einar Saukas Einar Saukas March 2008 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    [QUOTE=Crisis;283339]
    ...could a decent DEF FN l(start,adres)=usr Call:REM Call.... work ve(snip)
    [/QUOTE]

    Can you elaborate on this? I'm not sure what you mean!
    gcallard gcallard July 2008 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... =Crisis;116568]Using a DEF FN for executing MC in a ... />
    1 DEF FN c(a,x)=USR (( PEEK a + VAL "256 ... /> [QUOTE]
    30 LET other= FN c(NXTLIN,-datalenght): REMxxxDATA-1xxxxxxxxxxxxxDATA ...
    ...
    1000 let other= FN c(NXTLIN,-lenght): RETURN: REM ...
    emleymoor emleymoor July 2008 Sinclair Basic
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... ][code]
    DEF FN r(x,y)=(USR 7766 AND 11)+INT ... replace the computed value of USR 7766 with 0.[/quote]
    [code]
    DEF FN r(x,y)=(USR 7766 *0)+INT (RND ...
    Dr BEEP Dr BEEP October 2008 Sinclair Basic
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... } N = 0..7
    FLASH {fN} N = 0..1
    INVERSE ... really great idea, but does USR \a return the adress of ...
    LCD LCD February 2009 Development
  • Help loading OPUS data block ?Hi folks, A while back I obtained a Daton Software Card Games compilation which will be in the next Vault update: http://www.worldofspectrum.org/inf…

    ...
    RANDOMIZE 40000:LET Z=USR 43983
    LET TF=1 ...
    Andrew Barker Andrew Barker May 2009 Sinclair Miscellaneous
  • Blake's 7I've got an idea for a Blake's 7 video game for the 128K Spectrum (Only problem is I can't code in neither machine code or Sinclair BASIC, so I will …

    ... a DEF FN?[/quote]

    Due to the USR function some ...
    Dr BEEP Dr BEEP May 2009 New game ideas
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... /> [code]
    DEF FN w(x,y,a$)=USR 32768
    [/code ... />
    [code]
    LET n=FN w(0,0,a$+CHR ...
    chev chev December 2009 Sinclair Basic
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... /> [code]
    DEF FN w(x,y,a$)=USR 32768
    [/code ...
    gasman gasman December 2009 Sinclair Basic
<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