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.010s
<1…22232425262728…34>
  • inverting graphics using basic?just curious if it could be done by poking screen memory ? and what's the structure. (foreground / background for each char ? ) reason I ask is I'd …

    ... scratchpad. btw. You also need FN P :)[/quote]

    The ... cannot be used inside a function. A loop to deal with ... would be uglier than the function, although perhaps a bit shorter ...
    chev chev December 2010 Sinclair Basic
  • looking for a tap2wav coded in Python, Perl, Ruby or Luasince some months i started this project - [url]http://nitrofurano.altervista.org/experimental/webcampictureson8bitcomputers/index.html[/url] the pr…

    ... \x27\x01\x27"

    def process_command_line(command_line):
    """
    Return ...

    def main(command_line=None):
    """
    Main Function
    """
    SyX SyX December 2010 Development
  • looking for a tap2wav coded in Python, Perl, Ruby or Luasince some months i started this project - [url]http://nitrofurano.altervista.org/experimental/webcampictureson8bitcomputers/index.html[/url] the pr…

    ... * ZERO_BIT_FREQ + LO_WAVE * ZERO_BIT_FREQ

    def process_command_line(command_line):
    """
    Return ...

    def main(command_line=None):
    """
    Main Function
    """
    SyX SyX January 2011 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... as "not required" by Stack Function Argument, so Slicing is not ... by using the m$() function given in a later post ... :
    LET m$=FN m$("S",0,"-",16384+2048 ... $, and:
    LET m$=FN m$("-",16384+2048,"S",0 ... s occurred to me that FN m$() could handle both ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... as "not required" by Stack Function Argument, so Slicing is not ... by using the m$() function given in a later post ... :
    LET m$=FN m$("S",0,"-",16384+2048 ... $, and:
    LET m$=FN m$("-",16384+2048,"S",0 ... s occurred to me that FN m$() could handle both ...
    Paddy Coleman Paddy Coleman April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... the result of a string function to the free RAM pseudo ... $=STR$ something" or "LET a$=FN s$(something)"), but some care ... complication arises because the string function will probably use some temporary ... the result of the string function will be put in the ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Composite spectrum problemHowdy, Found an old rubber key in a bag full of games recently which had seen better days. Rigged it up and to my suprise it worked! It needed som…

    ... through Ariel?
    It's Def not the lead itself because ... would be great. Use macro function on your camera to get ...
    Hedegaard Hedegaard July 2011 Sinclair Miscellaneous
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... addresses by using a modulo is quite a slow ... FUD

    [code]$ cat modulo.c
    #include
    < ... -S modulo.c
    $ cat modulo.s
    .file "modulo.c"
    .type main,@function
    main:
    pushl % ...
    Philip Kendall Philip Kendall August 2011 Emulators
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... used that complicated nested function rather than just FN z(a,b ... of how a "complex" combinational function could be generated by nesting ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... br />
    If the outer FN has a constant is param ... param two, and the inner FN has a param 1, ... param 1 in the INNER FN overwrites the assignment of the ... param 1 in the OUTER FN.

    I suspect ... of the OUTER function also if inner FN also define 2nd, ...
    BloodBaz BloodBaz October 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    Now that the FN bug has been fixed, I ... BASIC is:
    FN z(FN z(scr,FN z(msk,0,"~"),"& ... , that fixes the nested call function error.
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • z88dk stdio fopenI'm trying to write a fcntl library, based on the p3.lib one. Looking at fopen(), it calls freopen_z88() which turns the mode string into mode and f…

    ... terms of their function.
    [/quote]

    I def want to ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • House of Hell gamebook conversionAs there's potentially several people working on this I thought that I'd set up a thread in the correct section, rather than it continuing in Wanted …

    ... with a location and a function to be applied at that ... to be, as they use DEF FNs, but everything else is ...
    Battle Bunny Battle Bunny December 2011 New game ideas
  • House of Hell gamebook conversionAs there's potentially several people working on this I thought that I'd set up a thread in the correct section, rather than it continuing in Wanted …

    ... the structure of the related DEF FNs clarified (although I have ... to re-test the build function in the editor, and then ...
    Battle Bunny Battle Bunny December 2011 New game ideas
  • House of Hell gamebook conversionAs there's potentially several people working on this I thought that I'd set up a thread in the correct section, rather than it continuing in Wanted …

    ... need to deal with the function statements in the data file ... /> * # check value of Reqs; eg. #=FN d(1,0) if Reqs ... value to unit Type; eg. $=FN d(1,6) unit Type ... of unit Type; eg. %>=FN d(2,0) if unit ...
    Battle Bunny Battle Bunny January 2012 New game ideas
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... /> 41 ) Closing parenthesis of the function[/CODE]

    I assume ... are to do with how DEF ADDs are stored? I will ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    This routine (48 bytes) provides a BASIC replacement for STR$ which fixes those two bugs; use "FN s$(numeric_expression)" instead of "STR$ numeric_expression". I copied the ROM's method used in CIRCLE & DRAW for checking -1
    Battle Bunny Battle Bunny 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…

    ... errors both in numeric FN's and string FN's :)

    FN handling, but because the USR function doesn't ... your implementation of the USR function didn't return the BC ...
    mcleod_ideafix mcleod_ideafix 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…

    ... errors both in numeric FN's and string FN's :)[/quote]
    FN handling, but because the USR function doesn't ... your implementation of the USR function didn't return the BC ...
    chev chev May 2012 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... variables space allocated to FN a(). Using the function will store the ... reference those values by their function parameter names.

    With ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • ZX-Paintbrush 2.2.1 releasedDear readers and friends of ZX-Spectrum emulator stuff! Today I released the version 2.2.1 of ZX-Paintbrush with interesting new features and many b…

    ... state.
    The open file function clears the content of the ... area (divided by 16 with modulo 0)
    as a series ...
    clausjahn clausjahn July 2012 Emulators
  • 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 !

    ... of logical operators and/or DEF FNs can make code more ... easy to understand (see FN c() and FN i() above).
    * Look ...
    Battle Bunny Battle Bunny November 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…

    ... memory map uses the function GO SUB FN g(q,r,p ...
    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…

    ... called from BASIC using a function of the form:
    ...
    [center][b]GO SUB FN a(a$,f$,b,c ... br /> [*][b]GO SUB FN a( "O","DEMO",3,1 ... ,
    [*][b]GO SUB FN a( "s","DEMO",3,0 ... ),
    [*][b]GO SUB FN a( "R","=200",3,0 ... br /> [*][b]GO SUB FN a( "C","DEMO",3,0 ...
    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…

    ... to handle multiple levels of function calls (well, four, anyway, ... ; eg.:
    GO SUB FN s(s$,b,d) => ... ; GO SUB FN a(A$,F$,b,c ... bc=FN u(A$,H$,b,d)
    with each called function ... the parameters from the calling function (although trying to change them ...
    Battle Bunny Battle Bunny 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…

    ... (de/kFG): POKE lv+k2,FN l(de,kFG):
    LET ... as smallints; it only affects function "s" SET_POSITION. On the +3 ...
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • please help.. Any web designer HTML + JS?Hi! I need help! I have to add a feature to a site and I have an embedded javascript gallery made with jquery. The source of the stuff is here, the …

    ... br /> ///

    (function ($) {

    $.fn.simpleJSlide = function (settings) {

    var ... />
    intervalInstance = window.setInterval(function () {
    iterate(current + 1, ...
    Lee Fogarty Lee Fogarty March 2013 Chit chat
  • 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$(K)+FN b$(H)+FN b$(L)+
    ; FN b$(V)+FN ... b$(X)+FN ... b$(B)+FN b$(C ... /> ;becomes the output from the function instead of BC
    pop ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
<1…22232425262728…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • 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

HitBox

Word Docs Hits
modulo 70 93
function 4.3K 6.5K
def 11.7K 12.9K
fn 866 4.4K

Related Threads

  • 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…
  • Can you improve this recursive DEF FN?I came up with this function to scan strings for characters without needing to use FOR...NEXT and IF...THEN, but it seems rather long-winded. Can any…
  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • BASin v.15 DEF FN bugThe bug would appear to be in "BASSupport.pas : Procedure ProcessDEFFN"; as it's not inserting the 6-byte variable place holder after each parameter …
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere.<br /> [code]<br /> 2 DEF FN t$(n,t,d)<br /> …
  • Fix for the DEF FN bug of zmakebasSome months ago I discovered a bug in zmakebas: it does not include the 5 bytes required after every parameter of a DEF FN.<br /> <br /> By the tim…
  • BASIC Bug: DEF FN after REMHello all,<br /> Having mused the Spectrum ROM disassembly by Drs Logan ad O'Hara, I wondered about how good ZX BASIC was at locating the DEF FN whe…
  • New Forums at 'Def Guide to ZZAP!64' siteI know that there are some C64 fans and ex-readers of 'ZZAP!64' here, so just to let you know that Iain has added a new style message board to his si…
  • Access Database function in ZX-Rainbow S.E. yes or no?Dear friends and users of ZX-Rainbow!<br /> <br /> history:<br /> I have had some problems with ZX-Rainbow S.E. and a very bad time last weeks: The g…

Related Searches

  • fuse def fn keyboard
  • def fn usr
  • def fn
  • def fn within a function
  • 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
  • def fn trick
  • bin function def fn

Copyright © 2024 World of Spectrum