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.007s
<1234567…34>
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... "0000000000000000" inside the DEF FN, so if you change it ... br /> 7 DEF FN h(h$)=16*FN n(h$(1))+FN n(h$(2)): REM Byte ... 2
    1025 LET c=(FN h(c$(i TO i+1 ... br /> 2030 PRINT "FN b$(j)",FN b$(j,FN x(a$))
    FN x(a$).

    ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... starting address using the DEF FN x(a$).[/QUOTE]

    FN x(a$) entry and a ... small INKEY$ function combined with FN h() which accepted the ASCII characters ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... br /> 7 DEF FN h(h$)=16*FN n(h$(1))+FN n(h$(2))
    < ... (INKEY$""):
    IF NOT FN c() THEN
    LET ... a$(FN l() TO ),;:
    LET a$(FN l())=CHR$ FN h(a$(FN ... l() TO )):
    LET a$=a$( TO FN ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... p, defined as a DEF FN plus a *small* ( ... br /> [CODE]
    1 DEF FN i(n,t$,s$)=USR ... br /> [CODE]
    1 DEF FN i(n,t$,s$)=USR ... 23296
    2 DEF FN n(n$)=CODE n$- ... /> 3 DEF FN h(h$)=16*FN n(h$(1))+FN n(h$(2)): REM ... br /> 1025 LET c=(FN h(c$(i TO i+ ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • numbers to binaryHi everyone, I have looked through the manual and have found nothing. How do you change a number to binary easily? I know you can go binary to decim…

    ... two constituent functions are:
    FN f(n$,b,c) - ... four subordinate functions are:
    FN k$(n) - get character ... - remainder of n/b
    FN h(n,b) - quotient of n ... ",36,10) gives 2176782350. FN n$("1000000",36,2) gives ... br /> DEF FN n$(n$,o,p)=FN t$(FN f(n$, ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... (v)=VAL "v-FN h(v)*256": DEF FN h(v)=VAL "INT ... (v/256)":
    DEF FN p( ... 9990 CLS: RANDOMIZE USR VAL "FN p(23637)+96":
    LET ... v=FN p(VAL "16384"): LET ... : LET l$=CHR$ FN g(l)+CHR$ FN h(l):
    LET ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…

    ... />
    [code]
    10 DEF FN h(n)=(n-48)*(n> ...
    Geoff Geoff October 2011 Sinclair Basic
  • Mazes and Tremaux's AlgorithmI've done a version of Tremaux's maze solving algorithm which solves my current test maze with 400 junctions and 715 connections in a reasonably quic…

    ... 1224
    1218 LET st=FN s(y$(i))-k3*ir ... STEP k3:
    LET loc=FN p(a+bo)
    1220 ...
    Battle Bunny Battle Bunny November 2011 Development
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... +k1)*k2-k1: LET co=FN s(l$(m TO m ... htkA THEN
    LET hk=FN a(ht): LET hp=-k1 ... LET p$="Give "+STR$ hp+" "+(FN c$(co)(TO k2))+"?": LET ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... ):
    DEF FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT ... ":
    POKE 23675,FN g(UDG): POKE 23676,FN h(UDG):
    LET ... CHANS=FN p(23631): REM ... : POKE Sout,FN g(UDG256): POKE Sout+1,FN h(UDG256)
    11 ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... /> POKE 23660,FN g(dd): POKE 23661,FN h(dd)
    ... ----- BASIC version
    DEF FN p(a)=PEEK a+256 ... DEF FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT ... POKE 23563,FN g(dd): POKE 23564,FN h(dd):
    ... CODE "$",14,0,FN g(attadd),FN h(attadd),0,2, ...
    Battle Bunny Battle Bunny May 2012 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... /> ...0 DEF FN c()=FN p(23621): DEF FN p(a)=PEEK ... /> DEF FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT ... gs,FN g(FN c()+1): POKE gs+1,FN h(FN c()+ ... br /> ...
    GO SUB FN r(line,statement)
    [/code ... numbers in the DEF FN space from where the subroutine ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... /> [code]
    2 DEF FN m(v)=v-(-1+(256 ... /> DEF FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT ... /> 9000 PRINT "Report code ";FN m(PEEK 23681);" at line ... FN p(23613):
    POKE sp,FN g(trap): POKE sp+1,FN h ... ): POKE sp,FN g(ret): POKE sp+1,FN h(ret):
    ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • More memoryHi all... can anyone help, Is it possible to get more memory for basic pref' in Basin.... 40 odd k is just not enough !

    ... /> 3 DEF FN g(v)=v-FN h(v)*256: DEF FN h(v)=INT ... (v/256):
    DEF FN ... +5,FN h(t+s):
    POKE 23627,FN g(v): POKE 23628,FN h ... ,FN h(x):
    POKE f+13,FN g(o):POKE f+14,FN h ...
    Battle Bunny Battle Bunny November 2012 Sinclair Basic
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... conversion [JimG]
    10 DEF FN h$(n)=CHR$ (n+48+(7 ... -hi*16:
    LET n$=FN h$(hi)+FN h$(lo): RETURN

    Battle Bunny Battle Bunny January 2013 Development
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... [code]
    2005 PRINT "'H' prefix for hex byte input ... AND CODE n$=CODE "H"): LET n$=n$(1 ... ):
    LET b(i)=FN i(0,LEN n$): LET ... NEXT i
    2012 DEF FN i(i,j)=VAL (("(CODE ... )>=""A""))*base^i+FN i(i+1,j- ... br /> [code] 10 DEF FN h$(n)=CHR$ (INT n+48 ...
    Battle Bunny Battle Bunny January 2013 Development
  • Screens and BasicA question about the ZX screens. I am using software to convert my own art and drawings to the ZX Spectrum. I have some tools to change .jpg files in…

    ... br /> DEF FN l(v)=v-FN h(v)*256: DEF FN h(v)=INT ... = DEFADD = address of DEF FN parameters
    31 RESTORE 30 ... /> POKE 23563,FN l(d): POKE 23564,FN h(d): POKE d ... (p): POKE d+5,FN h(p):
    POKE d+ ... 1-cc: LET l=FN l(p): LET h=FN h(p)
    51 ...
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • Screens and BasicA question about the ZX screens. I am using software to convert my own art and drawings to the ZX Spectrum. I have some tools to change .jpg files in…

    ... destination can be defined in FN a$(), so if using a ... , the function would become "DEF FN a$(a$,b$)=""", where a ... /> * line 30 : change DEF FN to DEF FN a$(a$,b$)=""
    FN l(RAM1): POKE d+14,FN h(RAM1): POKE ... POKE d+13,FN l(s): POKE d+14,FN h(s)
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... $(kFn TO )=f$+FN h$(el)+FN h$(en)+FN h$(em)+FN h$(cl)[/b]
    has ...
    Battle Bunny Battle Bunny May 2013 Sinclair Basic
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... DEF FN l(v)=v-256*FN h(v): DEF FN h(v)= ... INT (v/256)
    4 DEF FN ... LET qlo=FN l(fnq): LET qhi=FN h(fnq): LET ... a+1,FN l(loc): POKE a+2,FN h(loc): ... POKE a+3,FN l(l): POKE a+4,FN h ... Maybe BAS2TAP don't interprete "FN p(a+3)"...
    ...
    Hark0 Hark0 March 2014 Sinclair Basic
  • BREAK key on 128k SpectrumWhat happens when BREAK is pressed on a 128k Spectrum? Why is it different from what happens on a 48k Spectrum. Is there a way to disable it or to …

    ... [code]
    4 DEF FN p(a)=VAL "PEEK a ... DEF FN g(v)=VAL "v-FN h(v)*256": DEF FN h(v ... )=VAL "INT (v/256)":
    DEF FN ... c()=FN ... 23681+1: LET erl=FN p(23615):
    LET ...
    Battle Bunny Battle Bunny February 2018 Sinclair Basic
  • D&H Games and Cult Software gamesJust discovered this forum recently, hello all. I was just wondering if there is anybody who enjoys/enjoyed the mainly sports management games produ…

    ... games produced by d&h games/cult software or whether ...
    hawmaws24 hawmaws24 June 2002 Games
  • 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…

    ... Soccer Star: Cult (D&H) 1989
    11 Seahawk: Atlantis ... Motorcycle 500: Cult (D&H) 1990
    17 Soccercup Quizmaster ... League Football: Cult (D&H) 1991
    21 Grand Prix ... Striker Manager: Cult (D&H) 1991
    23 Cavemania: Atlantis ...
    sickhappyidle sickhappyidle March 2003 Games
  • H.E.X. music question"Go to Hell 2: Soft & 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 are…

    ... in the MP3 tag as "H.E.X.". My questions are ... ) Was this tune made by H.E.X. specifficaly for this ... game) ?

    2) Did H.E.X. actually exist as ...
    GOC GOC August 2003 Sinclair Miscellaneous
  • 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? Are they all compatible, and are extra cables, connectors, or w…

    ... as simple as buy an H.D telly, unpack it, and ... /> Seen a Goodmans 26" Widescreen H.D in Comet for ?399 ... got the one with the H.D and wireless controller and ...
    thx1138 thx1138 November 2006 Chit chat
  • D&H Grand PrixInspired to get back into D&H Grand Prix following Lewis Hamilton's maiden victory at the weekend, I discovered that I can't get the pitstops to work…

    ... get back into D&H Grand Prix following Lewis Hamilton ...
    jonrach73 jonrach73 June 2007 Games
  • Yours for cost of S/H or eBay.I found some old programming (MAC(bleugh!) mags of mine. All in very good condition. They are yours if you paypal S/H from USA ... otherwise I'll tr…

    ... yours if you paypal S/H from USA ... otherwise I'll ...
    Skarpo Skarpo July 2007 Chit chat
  • Help!! Newly installed 500gig hard drive installs as drive H ?Like i say in the title, windows installs fine but when windows boots up, the 500 gig hard drive is shown as drive H and when i try to install a prog…

    ... drive is shown as drive H and when i try to ...
    swordheart swordheart September 2007 Chit chat
<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