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.003s
<1234567…34>
  • High Score ASCII array reset ?Hey guys, Noob alert! I'm working on my first game and I'm having problems with the high score on the second time through the game loop. My high …

    ... up like this:

    Defb score '000000'

    My ... /> Shouldn't that fill my array with six ASCII zeroes? Please ...
    Atari_Jetman Atari_Jetman October 2012 Development
  • Character Array tape header block parameters?Hello all! Long time since I've been here! Hope everyone's bright and cheerful as usual! I've been trying to figure out the structure of a Spectrum…

    ... structure of a Spectrum "Character Array" tape file. While the file ...
    trellis trellis June 2006 Development
  • Quickest way to mix up an array of intsOk, I have ... [CODE] 10 DIM v(20) : FOR f = 1 TO 20 : LET v(f) = f : NEXT F [/CODE] now.... obviously each array item holds a number from 1 to 20,…

    ... ]

    now.... obviously each array item holds a number from ... quickest way to randomize the array? each value (between 1 and ...
    polomint polomint March 2009 Development
  • 2D Scrolling tile based editorOk, first of all, I thought TommyGun could do it, but the option to create a 2d scrolling map is greyed out.... All I want to do is create some 8x8p…

    ... an index into the tile array. eg.. 1,0,0,0 ... , but when I exported to defb etc, it just complained that ... can be used in pasmo... (defb's etc).

    Thanks ...
    polomint polomint October 2009 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... sort the 50 element character array. Not very swift even for ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Allen Telescope Array to be 'mothballed'It seems that the Allen Telescope Array is to be 'mothballed.' Bit of a shame really as these types of projects keep well educated and trained folk i…

    ... seems that the Allen Telescope Array is to be 'mothballed.'
    spectrumlinux spectrumlinux April 2011 Chit chat
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... of the keyports/patterns array if it was the ... : ld de,port_array ; the array of rows
    ld b ... inc de ; next row in array
    djnz gdk_loop ; go ... /> key_pause_pattern: defb 16
    key_quit_port: defb $df
    key_quit_pattern: defb 16
    polomint polomint September 2011 Development
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... which aren't in an array, like this:
    [code]
    array, or in different arrays as ... they were in the same array, by applying the same operations ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • DEFB on ZX SpinIs there any way I can define a 2 bit value i.e. 50000 using defb on ZX Spin? I'm sick of having to work the 2 separate values out i.e. defb 80,195

    Is there any way I can define a 2 bit value i.e. 50000 using defb on ZX Spin?

    I'm sick of having to work the 2 separate values out i.e. defb 80,195
    daveysludge daveysludge April 2013 Development
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    ... to simulate a 2 dimensional array by using an offset
    slenkar slenkar December 2013 Development
  • Load ARRAY?Hello. With what command can I load BASIC "array" block in Sinclair BASIC?

    Hello.

    With what command can I load BASIC "array" block in Sinclair BASIC?
    Mister Beep Mister Beep February 2014 Sinclair Basic
  • Help with Assembly - DEFB, etc.Dear all, I'm going through Jnathan Cauldwell's tutorial and find myself scratching my head at part I can't find a decent explanation of anywhere! E…

    ...
    ret

    string defb 22,21,31,'!'
    eostr ... put into laymans terms, what DEFB and DEFW actually do and ...
    Tobo Tobo September 2014 Development
  • z88dk array of structswhen trying to access an array of structs it says myrooms has already been declared: [code] struct room{ char* desc; unsigned char number; }myro…

    when trying to access an array of structs it says myrooms ...
    slenkar slenkar July 2017 Development
  • why cant i do this in a dimensional array?let m$(20)=m$(20)+"hello" it wont add it to the string/array m$(20)

    let m$(20)=m$(20)+"hello"

    it wont add it to the string/array m$(20)
    digital digital December 2017 Development
  • Okay so can you save text as a data array ?So I was playing with this but I'm obviously not doing this correctly. [code] 10 INPUT "Enter some text: ";a$ 20 PRINT a$ RUN [/code] Now i'm…

    ... assuming that I have an array a$ with my text in ... as if I have an array. But
    I tried to ...
    ivanb303 ivanb303 April 2018 Sinclair Basic
  • zx spectrum +2A / +2B no clock signal or video display / gate array dead ?scratching my head with this sick specie .. it is a issue 4 .. i was hunting for R45 that goes between the clock signal of cpu and gate array,, but i…

    ... signal of cpu and gate array,, but i believe this has ... or is that pesky gate array rendered the board NFG
    mark8bit mark8bit November 2021 Hardware
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    ... one, an array of 10 characters:

    MyArray:
    defb '0 ... 'a'

    ; e = array index
    ; time = 35 cycles ... = 0)

    ; l = array index
    ; time = 14 cycles ... .

    If the array is two dimensional with dimensions ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Basic
  • An MC question (sorry, there's no MC forum to post to!)Ok, still struggling with learning MC - but am getting there. I just can't find anywhere on the web / in books that explains how to do arrays in MC.…

    ... same I suppose. For ex, defb 'h','e','l','l','o ... at the start of the array data.

    [quote]
    cyborg cyborg April 2004 Sinclair Basic
  • 2D Scrolling tile based editorOk, first of all, I thought TommyGun could do it, but the option to create a 2d scrolling map is greyed out.... All I want to do is create some 8x8p…

    ... an index into the tile array. eg.. 1,0,0,0 ... , but when I exported to defb etc, it just complained that ... can be used in pasmo... (defb's etc).

    Thanks ... macro button to export a defb txt file.
    Dr BEEP Dr BEEP October 2009 Development
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... a .CVS file, the word "DEFB " is tagged onto the start ... following that with the map array data, to form one continuous ...
    kgmcneil kgmcneil February 2010 Development
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... a .CVS file, the word "DEFB " is tagged onto the start ... following that with the map array data, to form one continuous ...
    Fikee Fikee February 2010 Development
  • Arrays in asm ?Just following the idea to make the menu entirely in asm, how can i handle arrays in asm to store the each game loader to be loaded ? thx in advance

    ... , all it is is an array, with the start index (on ... .

    Given that an array of bytes may not be ...
    defw str_doctor
    str_mary defb "Mary had",0
    str_lamb ... little lamb",0
    str_doctor defb "the doctor had a fit ...
    Winston Winston June 2010 Sinclair Basic
  • Rotating Register PairsWhat's the best way to rotate left (or right) a register pair, so that (eg.) FE76 becomes E76F (or 6FE7)? I presume that passing the intermediate bit…

    ... />
    dec hl ; *Restore array pointer
    dec hl ;
    ; > HL = Pointer to array

    ; < HL = As ... />
    dec hl ; *Restore array pointer
    dec hl ;


    array defb 0,0,0

    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ; --------------------------------------------------------------------------


    ; Sprite array structure.


    SPR_xpos ... defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ...
    ; --------------------------------------------------------------------------

    ; Sprite array structure.


    SPR_xpos ... defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb ...
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ; --------------------------------------------------------------------------


    ; Sprite array structure.


    SPR_xpos ... defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb 11111111b,00000000b
    defb ...
    ASM ASM November 2010 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... of the keyports/patterns array if it was the ... : ld de,port_array ; the array of rows
    ld b ... inc de ; next row in array
    djnz gdk_loop ; go ... /> key_pause_pattern: defb 16
    key_quit_port: defb $df
    key_quit_pattern: defb 16
    polomint polomint September 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... /> get_defined_key: ld de,port_array ; the array of rows
    ld b ... inc de ; next row in array
    djnz gdk_loop ; go ... br /> key_left_pattern: defb 2
    key_right_port: defb $df
    key_right_pattern: defb 1
    polomint polomint October 2011 Development
  • Beginner questionThis might sound and be daft.... I've just been reading J Cauldwell's "how to write a Spectrum game" but was thinking of writing something in C as I…

    ... />
    #asm
    _spritedata:
    defb 0, 45, 989, 112, 0 ... />
    The unsigned char array type allows the set of ... to be individually accessible through array syntax. It also means the ... using a char* instead of array in the declaration "extern unsigned ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
defb 1.1K 15.2K
array 1.7K 3.2K

Related Threads

  • Character Array tape header block parameters?Hello all! Long time since I've been here! Hope everyone's bright and cheerful as usual! <br /> <br /> I've been trying to figure out the structure o…
  • Quickest way to mix up an array of intsOk, I have ...<br /> <br /> [CODE]<br /> 10 DIM v(20) : FOR f = 1 TO 20 : LET v(f) = f : NEXT F<br /> [/CODE]<br /> <br /> now.... obviously each arr…
  • Sorting an array...Hi Folks,<br /> <br /> Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o<br /> <br /> My first try was wi…
  • Allen Telescope Array to be 'mothballed'It seems that the Allen Telescope Array is to be 'mothballed.'<br /> Bit of a shame really as these types of projects keep well educated and trained …
  • help needed :) how to rotate a 3 x 3 array 90 degreesI just cant seem to get this sorted in my head ( or on paper ) , I've found multiple examples in C , python , etc but cant find any z80 examples any …
  • High Score ASCII array reset ?Hey guys,<br /> <br /> Noob alert!<br /> <br /> I'm working on my first game and I'm having problems with the high score on the second time through t…
  • DEFB on ZX SpinIs there any way I can define a 2 bit value i.e. 50000 using defb on ZX Spin?<br /> <br /> I'm sick of having to work the 2 separate values out i.e. …
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset<br /> <br /> [code]<br /> #include <br /> <br /> char scr[768];<br /> <br /> int array…
  • Load ARRAY?Hello.<br /> <br /> With what command can I load BASIC "array" block in Sinclair BASIC?
  • Help with Assembly - DEFB, etc.Dear all,<br /> <br /> I'm going through Jnathan Cauldwell's tutorial and find myself scratching my head at part I can't find a decent explanation of…

Related Searches

  • input array
  • input an array
  • rotate dimensonal array
  • inputting to a string array
  • inputting to array basic
  • basic text array
  • writing text to an array
  • save array
  • text array
  • text array asm
  • array asm
  • array table
  • defb
  • defw defb defs
  • array
  • address array
  • address variable array
  • paintbrush asm defb
  • sorting an array
  • maps array basic

Copyright © 2024 World of Spectrum