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 104 results in 0.000s
<1234>
  • 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 …

    ... are using the DATADD and DEFADD system variables here. Can you ... strings) in that space. Setting DEFADD to point to it enables ... the variables are global as DEFADD is only set once. To ...
    Battle Bunny Battle Bunny 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 …

    ...
    ld ix,(23563) ;IX=(DEFADD)
    ld l,(ix+61 ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... used for anything else unless DEFADD is reset.

    [code ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... *32). The two POKEs set DEFADD to point to this definition ...
    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 !

    ... /> REM restore VARS & reset DEFADD, retaining compacted DATA array & ...
    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…

    ... that I had to reset DEFADD before returning and so the ... : POKE dh,k0: REM disable DEFADD redirection
    923 FOR h ...
    Battle Bunny Battle Bunny January 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…

    ... $) & initialise
    REM 23563 = DEFADD = address of DEF FN parameters ...
    Battle Bunny Battle Bunny February 2013 Sinclair Basic
  • 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)…

    Rather than that unfathomable plethora of POKEs, the UDG area can be used to hold 21 single-letter variables which can be referenced in expressions and assigned values with LET, which is much easier.
    [code]
    10 DEF FN p(a)=PEEK a+256*PEEK (a+ ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • 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…

    ...
    ld hl,(23563) ;HL=(DEFADD)
    push hl
    inc ...
    Battle Bunny Battle Bunny October 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 SCANNING VARIABLE ROUTINE
    org 0x26c9
    s_letter:
    call look_vars ; check for matching entry
    jp c, report_2 ; error if not
    call z, stk_var ; stack parameters
    ld a, (flags) ; get flags
    cp ...
    chev chev October 2013 Development
  • 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…

    ...
    stk_f_arg:
    ld hl, (defadd) ; point to first character
    chev chev October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ...

    ld hl,(23563) ;(DEFADD) holds start of FN o ...
    Battle Bunny Battle Bunny October 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…

    ... ; zero
    ld (defadd), hl ; HL to defadd
    ld (iy + _x_ptr_h ...
    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…

    ... /> ScrDol1:ld hl,(23563) ;HL=(DEFADD)
    inc hl
    inc ...
    Battle Bunny Battle Bunny November 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 …

    ... REM enhancement
    ** Using the DEFADD area for extra variables
    Battle Bunny Battle Bunny December 2013 Announcements
  • 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]63000 LD HL,(DEFADD)
    LD BC,4
    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$=" …

    ... #2.

    [code]
    DEFADD: equ 23563

    org ...

    a63000: LD HL,(DEFADD)
    LD BC,4
    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$=" …

    Here's a much neater version of my previous post. Using IX for addressing the parameters simplifies the assembler code. The original routine needed all its parameters to be correct beforehand, as it was only doing a check on y, whereas all of x, y, x+w, y+ ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... HL, length into DE
            ;; DEFADD is the system variable containing ... error
            ld      ix,(23563)      ; DEFADD
            ld      l,(ix+4 ...
    stephenw32768 stephenw32768 May 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... A
            ld   ix,(23563)      ;DEFADD
            ld   a,(ix+6 ...
    Battle Bunny Battle Bunny June 2015 Development
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... /> DoubleHeight:
            ld   ix,(23563)      ;(DEFADD)
            ld   a,(ix+6 ... /> SmallINT:
            ld   hl,(23563)      ;(DEFADD)
            add  hl,bc
    Battle Bunny Battle Bunny June 2015 Development
  • What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.

    ... /> ScrDol1:ld hl,(23563) ;HL=(DEFADD)
    inc hl
    inc ...
    Battle Bunny Battle Bunny May 2016 Sinclair Basic
  • Speeding up programs by hacking the SysVarsPositively pleased to properly discover this area of the forum! I have a couple of recent tricks that might be of interest - they're probably old hat…

    ... name. The SysVars referenced are DEFADD, DATADD, SEED.)

    In ...
    Battle Bunny Battle Bunny September 2016 Sinclair Basic
  • POKE taking a variable amount of time...Hi Folks, Does anyone know why the following POKE statements seem to vary in their execution time? [code]100 POKE 60000,10 110 POKE 60001,16…

    ... BASIC; you can use the DEFADD system variable within your machine ...
    GReW GReW September 2016 Sinclair Basic
<1234>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 4:10PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
defadd 102 200
codification 2 2

Related Threads

  • problem with DEFADD storageI have a function: DEF FN t(t$,m,t)=USR t<br /> which is called with, for an example: LET bc=FN t("t$()",mcworkspace,mcputt)<br /> where, at the time…

Related Searches

  • fn defadd
  • defadd
  • defadd trick
  • defadd 97
  • defadd manual

Copyright © 2024 World of Spectrum