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.022s
<1234567…34>
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... for the nested call FN error in ZX ROM ... ,h
    ld c,l ;DE=address of DEF FN ... stack, HL=address of DEF FN parms
    ldir ;transfer ... parms from stack to DEF FN places

    ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... for the nested call FN error in ZX ROM ... ,h
    ld c,l ;DE=address of DEF FN ... stack, HL=address of DEF FN parms
    ldir ;transfer ... parms from stack to DEF FN places

    ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... for the nested call FN error in ZX ROM ... ,h
    ld c,l ;DE=address of DEF FN ... stack, HL=address of DEF FN parms
    ldir ;transfer ... parms from stack to DEF FN places

    ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... b,h
    ld c,l ;DE=address of DEF FN parms ... b,h
    ld c,l ;DE=address of DEF FN parms ...
    Einar Saukas Einar Saukas June 2012 Sinclair Basic
  • CAT!RAM and PUTRAMLast year sometime I posted a couple of routines to: * catalogue the 128k RAMdisk in BASIC; * move RAMTOP and the stacks from BASIC. CAT!RAM and PUTR…

    ... data
    2 DEF FN p(a)=PEEK a+256 ... br /> 9900 LET a=FN p(23427): LET e=(60416 ... br /> 9905 LET r=FN p(23730): IF r& ... /> LET f(n,d)=FN p(b)+VAL p$(PEEK ... locate header
    LET h=INT f(n,1): POKE ... h+1 TO h+7 STEP 2:
    LET f(n,d)=FN ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • +3 BASIC DOS_DemoI got side-tracked while working on the Op.Wolf conversion and ended up writing this +3 DOS utility which provides most of the disk functions that mi…

    ... reading,
    [*][b]GO SUB FN a( "s","DEMO",3,0 ... 128 ),
    [*][b]GO SUB FN a( "R","=200",3,0 ... ,
    [*][b]GO SUB FN a( "C","DEMO",3,0 ... e as for SET1346
    H=REFHEAD b=file#, returns IX ... and h(8)
    I=INITIALISE n ...
    Battle Bunny Battle Bunny January 2013 Sinclair Basic
  • 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…

    ... referenced by the "GO SUB FN a(...)" calls. This shows "proof ... br /> LET bhi=FN i(base): LET blo=FN o(base): LET ... base>=k32k):
    DEF FN i(v)=INT (v/kFG ... ): DEF FN o(v)=FN l(v,kFG)
    FN i(pointer),FN o(pointer)): GO TO ...
    Battle Bunny Battle Bunny January 2013 Games
  • 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…

    ... referenced by the "GO SUB FN a(...)" calls. This shows "proof ... br /> LET bhi=FN i(base): LET blo=FN o(base): LET ... base>=k32k):
    DEF FN i(v)=INT (v/kFG ... ): DEF FN o(v)=FN l(v,kFG)
    FN i(pointer),FN o(pointer)): GO TO ...
    Zetr0 Zetr0 January 2013 Games
  • +3 BASIC DOS_DemoI got side-tracked while working on the Op.Wolf conversion and ended up writing this +3 DOS utility which provides most of the disk functions that mi…

    ... updated values for the FN (a) parameters to ... h=kC-k3 TO kC: LET h(h)=VAL VAL$ (""""+CHR$ (h+57)+""""): NEXT h ... :
    LET g$=f$
    922 RESTORE FN ... h=kC-k3 TO kC: POKE FN p(23639)+55,h ... +57: LET b=h(h): NEXT h:
    Battle Bunny Battle Bunny January 2013 Sinclair Basic
  • 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…

    ... do; eg.:
    GO SUB FN s(s$,b,d) => ... ; GO SUB FN a(A$,F$,b,c ... ,e) => LET bc=FN u(A$,H$,b,d)
    with ...
    Battle Bunny Battle Bunny January 2013 Games
  • 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…

    ... TAP2DSK.BAS
    6000 DEF FN s(s$,b,d)=6500 ... : DEF FN t(n,t)=t+k1 ... "
    RESTORE 6413: LET pp=FN p(23639)+k6: LET c ... k0: LET il=k0: DEF FN i(v)=INT (v/kFG ... ): DEF FN o(v)=FN l(v,kFG)
    FN c()+(d$>="@" AND d$
    Battle Bunny Battle Bunny January 2013 Games
  • Drawing ovals...Hi Folks, Is it possible to draw an oval using the Sinclar BASIC DRAW commend and the 3rd parameter? I have been trying (and failing). Many thanks…

    ... axis
    50 LET h2=h*h: GO SUB 100: LET t1 ... />
    53 LET p=x-h: LET ip=y:
    FOR ... i=x-h TO x+h:
    LET ix=i ... />
    55 LET x=x+h*3
    60 GO SUB ... />
    100 LET t=FN m(FN t(),FN t()): RETURN
    [/code ...
    Battle Bunny Battle Bunny March 2013 Sinclair Basic
  • Unravelling the Spectrum Floating Point Number formatHi Guys, In my head I pretty much understand how the Spectrum's 5 byte FP number format works. The first byte is the signed exponent and the follow…

    ... .125:
    RESTORE 9000: DEF FN p(a)=PEEK a+256 ... /> 9001 FOR a=FN p(23639) TO FN p(23627)-1:
    9004 PRINT '"h=";h'"i=";i'"j=";j''
    9011 FOR a=FN p(23627) TO FN p(23641)-2:
    NEXT a
    9014 PRINT '"h=";h'"i=";i'"j=";j'':
    Battle Bunny Battle Bunny March 2013 Sinclair Miscellaneous
  • pathfindingworking on pathfinding in the game. here is Russian description of Lee's algorithm: [url]http://algolist.manual.ru/games/wavealg.php[/url] "if-then"…

    I use the Dijkstra algorithm for calculating paths, as it's simple & quick, although it needs a lot of memory (in Spectrum terms). It's easy to write it in Spectrum BASIC in a couple of dozen lines, but impossible to run it as it needs several meg of ...
    Battle Bunny Battle Bunny April 2013 Development
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... FN b$(G)+FN b$(K)+FN b$(H)+FN b$(L)+
    ; FN b$(V)+FN ... b$(X)+FN ... b$(B)+FN ... ; 1220 GO SUB FN R("H")
    call gsRR ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Spectrum Utility Routines Compendium (pending)I couldn't make up my mind into which section to put this, so it's ended up here for some tenuous reason. I haven't forgotten about this. I've been …

    ... /> 3051 DEF FN d(h$)=16^(LEN h$-1)*(CODE h$-48-(7 AND ... CODE h$>64))
    +VAL (("FN ... d(h$(2 TO))+" AND LEN h$>1)+"0 ...
    Battle Bunny Battle Bunny August 2013 Announcements
  • 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)…

    ... that the nested and recursive FN methods were both overly complicated ... /> exx
    push hl ;save H'L'
    ld bc,(FRAMES ... ,NoOverflow
    exx
    ld h,1 ;numerator segment is 9 ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    [code]; THE 'DEF FN' COMMAND ROUTINE
    org 0x1f60< ...
    ld a, tk_def_fn ; DEF FN?
    jp pass_by ; immediate jump ... , l ; HL
    ld b, h ; to BC
    call stk_store ...
    chev chev October 2013 Development
  • 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…

    ... bc
    ld b,h
    ld c,l ... USR ScrDol0
    ; ... FN s$(row,col) ...
    ScrDol0 ... de,hl
    inc h ;HL=character set address
    ld a,h
    cp $40 ; ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... ", "CONTINUE",
    "COPY", "DATA", "DEF FN", "DIM", "DRAW", "ERASE", "FLASH", "FORMAT ... ( *s != 0 )
    {
    h = pear_perm[(h + *s++)&63];
    }
    return (unsigned char )h;
    }

    /* The ...
    Kweepa Kweepa January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... ",
    "COPY", "DATA", "DEF FN", "DIM", "DRAW", "ERASE", "FLASH ... )
    {
    int h = salt;
    unsigned char ... 0 )
    {
    h = pear_perm[(h + *s++)&63];
    ... }
    return (unsigned char)h;
    }

    ...
    Kweepa Kweepa January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... in the "h = h & 63" statement the 'h' variable is ... k$()
    4 DEF FN b(a,b,c,d ... SUB 400
    80 IF h$(rsl+1)" " THEN
    220 GO SUB FN b(zh,63,1, ... br /> 320 GO SUB FN b(zh,63,1, ... br /> 410 GO SUB FN b(0,k,-1, ... br /> 420 GO SUB FN b(37,k,-1, ...
    Battle Bunny Battle Bunny January 2014 Development
  • Exploding routineI've been mucking about with 'Explode' from YS Program Pitstop, but I can not get it to work independently of the basic program. LET L=USR 61456 doe…

    ... line 10. It's function FN e(), which is defined as ... :
    [code]10 DEF FN e(a,b,c,d ... ,e,f,g,h,i,j,k)=USR 60000 ... mentioned pixel block)
    g,h,i,j: define a rectangle ... top left corner at (g,h) and bottom right corner at ...
    mcleod_ideafix mcleod_ideafix January 2014 Development
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... /> [CODE]1 DEF FN a(x,y,h,v)=USR 63000
    25 LET i=FN a(5,5,20,15 ... /> OR 64
    LD H,A
    LD A,E ... br /> POP BC
    INC H
    DJNZ 63061
    POP ... 8
    ADD A,H
    LD H,A
    63089 DJNZ ... to supply the x,y,h,v and attribute value to ...
    Paddy Coleman Paddy Coleman July 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... br /> LET i=FN a(x,y,h,v,a)
    ld h,a
    ld a,l ... ;%01000000
    LD H,A ;H =hi-byte of display ...
    ADD A,H
    LD H,A
    a63089: ... bc,(a63094);B,C = h,v
    ld hl, ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... x, y, x+w, y+h need to be verified. This ... CLEAR 62999: DEF FN b(x,y,w,h,a)=USR 63000 ... =";y,"Column=";x: INPUT "Height=";h,"Width=";w:
    INPUT "Attribute ... : LET x=INT x: LET h=INT h: LET w=INT w ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... TO 1:
    FOR h=0 TO 1
    30 ... GOTO 60
    50 NEXT h:
    NEXT g:
    ... TO INT (n/16): READ h$: NEXT i
    40 ... $: NEXT i
    50 PRINT h$;l$[/code]

    ... n$=FN b$()+FN b$()+FN b$()+FN b$()+FN b$()+FN b$()+FN b$()+FN b$()< ...
    mcleod_ideafix mcleod_ideafix August 2014 Sinclair Basic
<1234567…34>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • 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
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6

HitBox

Word Docs Hits
fn 866 4.4K
h 7.2K 17.9K

Related Threads

  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • COOL LOOKSEE YOUTUBE VIDEO HERE!!! (o.s.I.h.h)100 vintage Amiga/Atari/PC games played in 10 minutes, for looksee click [COLOR=RoyalBlue][U]here[/U][/COLOR] ... no, sorry I mean [URL="http://www.y…
  • H.U.R.G. gamesNot a question on aksing how to use it, but does any1 know if a game was ever released commercially from it?<br /> <br /> The only game I can remembe…
  • D&H Games and Cult Software gamesJust discovered this forum recently, hello all.<br /> <br /> I was just wondering if there is anybody who enjoys/enjoyed the mainly sports management…
  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • H.E.X. music question"Go to Hell 2: Soft &amp; Cuddly" by Triple Six has a (pretty good, in my opinion) tune by a band identified in the MP3 tag as "H.E.X.". My questions…
  • S.W-T-H.W.T.N.M.A.T.E.O.Q-E?Erm, what I was trying to say was..<br /> So, why the hell was there no monster at the end of Quartermass experement?<br /> <br /> They did it in the…
  • h.e.r.o clonesi remeber i liked a lot this game, i see is missing or is distrib. denied in the database ..so is there any good clone of this game??<br /> thanks..
  • ***UPDATED LIST - iMac H/W*** Random Hardware/Software For Sale - Take Any OffersHey Yo!<br /> <br /> Items here for sale. Open to any offers, and can be split or put into bundles. Just looking to get rid of this lot, or it'll be …
  • H.D t.v - XBox 360 questionIs it as simple as buy an H.D telly, unpack it, and plug your X-Box 360 straight in?<br /> <br /> Are they all compatible, and are extra cables, conn…

Related Searches

  • h n links
  • harlequin rev h
  • spectrum h
  • harlequin h
  • h
  • modulo function def fn
  • nick h
  • h e r o
  • fuse def fn keyboard
  • nick h at it again
  • bazza h
  • w h b
  • def fn usr
  • fn defadd
  • def fn
  • def fn within a function
  • sprites sp1 h
  • guy h bearman
  • upper case fn
  • def fn d

Copyright © 2024 World of Spectrum