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.125s
<1…10111213141516…34>
  • Does anyone think there will ever be an online Speccy arcadeSorry to post another Topic but I`ve been thinking all day how this would work, and how great it would be... after being pretty much hooked with some…

    ... :
    `I am a thinker not a do-er:
    ...
    `you need a dbase function which calcs the `highest ... ... and it`d need a new Java emulator.. right.... ... know when a game over or completion happened within a game, ... vote on WOS, so a '(online)play-time-counter' ...
    CKay CKay December 2004 Games
  • 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…

    ... compiler for Beta Basic. However a while ago I started writing ... I rarely use Def FN`s unless it`s a very simple one ... compileable code, so that`s a plus... Pity though that there ... you gave last year for a european Speccy games competition, some ...
    CKay CKay March 2005 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. …

    ... />
    Could you do a

    Def FN Tim=PEEK (23672)+256 ...
    CKay CKay April 2005 Sinclair Basic
  • Look At This Baby anyone got a lower numbered speccyI just missed out, but underwurlde is a seller so it will be on again, but i wont be able to afford it then. It looks like a grey keymat ?? Do you th…

    ... up even further is a photocopy of a page of Chapter 18 ...

    30 DEF FN t()=FN m(FN u(), FN u() ) : REM time, right ...
    Geoff Geoff June 2005 Sinclair Miscellaneous
  • 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. …

    ... />
    How about those PowerFull DEF FN Statements?
    How far do ... go?

    fals: 10 DEF FN C$(z,y,x,item ...
    Dr BEEP Dr BEEP August 2005 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. …

    ... !

    10 DEF FN A(A$)=VAL A$(TO 2)+VAL (A$(3 TO 4 ... )

    20 PRINT FN A ... (STR$ A + STR ... $ B) : REM A,B >9 ...
    Dr BEEP Dr BEEP October 2005 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. …

    OK, you have a string with all moves
    ( ... think it is 4 in a row, so you only need ... this without a DEF FN, but we can think of your DEF FN

    A$
    20 LET MOVE=VAL ... A$(T) : GO SUB 2000
    ...
    Dr BEEP Dr BEEP October 2005 Sinclair Basic
  • BASin release 12a available for downloadChristmas has arrived early, and the new release of BASin is ready for you lot to point out errors, inconsistencies and bugs. Get it here: [url="ht…

    ... question marks RETURNed in my DEF FN you migth consider it..

    This was a bug in there, rather than ...
    Dunny Dunny October 2005 Sinclair Basic
  • Method to read byte as binary string rather than dec?Hi all Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it back in upside…

    Eek - "Def FN" brings back some bad memories of trying to get a type-in sprite engine to work out of a book.

    Made my head hurt as a kid - never did get it to run.
    Womble Womble February 2006 Sinclair Basic
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... takes a long time, more than a frame for a full ... character described by a "struct sp1_update". If a particular character ... downward the sprite has moved within a character cell. During sprite ... a plus.

    CONS

    - The move sprite function ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... uses the "sp1_MoveSprPix()" function (move a sprite to a pixel position), the linker ... defined someplace else".

    A function declared like this in file ... scope.

    Within an asm file a label can be made ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... if you want the initialization function to write display file addresses ... () is "sp1_SprId2Type(SP1_ID_MASK2_LB) | SP1_TYPE_2BYTE". The function sp1_SprId2Type() uses the id/type ... character coordinates and pixel shift within a character. The row and col ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... functions (specifically CHR$, TO, FN) that appear in red are ... the text "TO" in a string. Programs saved with tokenised ... completeness, here's Mike's DEF FN from hell in BASin-friendly ... br />
    [code]
    10 DEF FN a$(n$)=VAL$ ((VAL$ (""""""+("+\#19434+n ...
    Dunny Dunny May 2006 Sinclair Basic
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... spectrum model where a fast function can be called ... as background. The sp1_PrintString() function is meant to print composite ... it supports byte commands within a string to move cursors ... tile macros. sp1_PrintString() prints within a bounding box and can ...
    Alcoholics Anonymous Alcoholics Anonymous December 2006 Development
  • Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …

    ... into memory to write to a screen. So I really am ... VMPR. Don't allocate memory within C for them! Screens have ... t really set 28 for a screen as DOS sits ... is in little chunks via a small buffer as it tries ... wanted to use a screen they have to call a function on it ...
    Quazar Quazar January 2007 Development
  • Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …

    ... /> 3. To have a foremost screen, and a back buffer, which flip ... tell them to ( preferably when a vsync happens ).[/QUOTE]

    a couple of #asm lines within a C function), then easy ... wait to vsync, and OUT a value to the VMPR register ...
    Quazar Quazar January 2007 Development
  • Little BASIC gameTry to make all standard BASIC-errors and tell us how you did it. Not allowed i.e. : PRINT USR 1362 D - Break cont-repeats but ok 10 GO TO 10 RU…

    ... FN a() : REM with no program


    [B]P FN without DEF FN ... , 0:1[/B]

    10 DEF FN a(x) = 1 : PRINT FN a ...
    Geoff Geoff January 2007 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. …

    [QUOTE=Dr BEEP;171915]I would do it like this:
    [code]
    DEF FN h$(x) = "0123456789ABCDEF"(INT(x/16))+"0123456789ABCDEF"(x-16*INT (x/16))
    [/code][/QUOTE]
    Dr Beep, that is a very cool lateral solution, which even I understand! :-)
    48K 48K February 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    In BASIC:
    [CODE]
    DEF FN a(y,x)=16384+x+(y-INT (y/32))*32+INT (y/8)*2048
    [/CODE]
    zx128k zx128k March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... ]In BASIC:
    [CODE]
    DEF FN a(y,x)=16384+x+(y ... like:

    [CODE]
    DEF FN a(y,x)=16384+x+(y ...
    Metalbrain Metalbrain March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... like:

    [CODE]
    DEF FN a(y,x)=16384+x+(y ... brackets:

    [code]
    DEF FN a(y,x)=16384+x+32 ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... like:

    [code]
    DEF FN a(y,x)=16384+x+(y ...
    zx128k zx128k March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... ]@48k: ...Here's a snapshot of what I'm ... programming in BASIC after such a long break.
    ... if you actually wanted a routine to PRINT graphics ... what you want, the DEF FNs described here are ... />
    A question for the gurus: Are DEF FN faster or slower ...
    48K 48K March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... to find the DEF FN each time an FN is executed, ... to store the formula in a string like:

    And then use VAL a$ to evaluate it when needed ... interpretterr has to search for a$ in the variable table ... space is quicker than a search through the program ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Sinclair Basic
<1…10111213141516…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
def 11.7K 12.9K
fn 866 4.4K
within 7.8K 8.5K
a 589.5K 1.7M
function 4.3K 6.5K

Related Threads

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A TZX, a MIA and a previously unknown title from QLSThe Spanish website [url="http://trastero.speccy.org/"]El Trastero del Spectrum[/url] has a TZX of [url="http://www.worldofspectrum.org/infoseekid.cg…

Related Searches

  • modulo function def fn
  • fuse def fn keyboard
  • i demand a working search function
  • def fn usr
  • def fn
  • def fn d
  • bin def fn
  • def fn recursive bug
  • def fn bug
  • def fn recursive bin
  • def fn library
  • def fn v
  • def fn gosub fast
  • def fn battlebunny
  • def fn fast
  • def fn look for
  • spaghetti def fn
  • dr beep s recursive def fn
  • dr beep def fn
  • bin function def fn

Copyright © 2024 World of Spectrum