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.002s
<1…28293031323334>
  • Making noises with the AYHow do you go about making noises from the AY chip in machine code? I'm wanting to make a pulsating humming noise that increases in volume as you ge…

    ... (0-255)
    DEFB 8,16 ; channel 1 ... = use envelope
    DEFB 12,30 ; envelope, fine ... repeat speed
    DEFB 13,10 ; envelope ...
    pulseoffdata
    DEFB 8,0 ; channel 1, ...
    MatGubbins MatGubbins October 2014 Development
  • Creating a linked list in Z80[FONT=Calibri][SIZE=3]I am using a circular buffer to store tiles to be displayed on the screen. Tiles only appear for a set period of time, so when …

    ... pointers managed by list
    defb 6 ;; my other data starts ...
    Alcoholics Anonymous Alcoholics Anonymous October 2014 Development
  • Making noises with the AYHow do you go about making noises from the AY chip in machine code? I'm wanting to make a pulsating humming noise that increases in volume as you ge…

    ... (0-255)
    DEFB 8,16 ; channel 1 ... = use envelope
    DEFB 12,30 ; envelope, fine ... repeat speed
    DEFB 13,10 ; envelope ...
    pulseoffdata
    DEFB 8,0 ; channel 1, ...
    MatGubbins MatGubbins October 2014 Development
  • Help needed with a bit of code...My minds gone blank again I'm afraid, I'm having trouble with this routine that loads variables into memory then calls the corresponding routine. Th…

    [code]
    call 56003
    defb 10,14,6
    call 56003
    defb 12,24,3

    56003:
    pop hl
    ld de,56000
    ldi
    ldi
    ldi
    push hl
    [/code]

    Stack abuse FTW. :-)
    AndyC AndyC October 2014 Development
  • Help needed with a bit of code...My minds gone blank again I'm afraid, I'm having trouble with this routine that loads variables into memory then calls the corresponding routine. Th…

    ... />
    dat defw 56000
    defb 14,20,3

    defw 56000
    defb 5,5,6[/CODE]
    daveysludge daveysludge October 2014 Development
  • Help needed with a bit of code...My minds gone blank again I'm afraid, I'm having trouble with this routine that loads variables into memory then calls the corresponding routine. Th…

    ... />
    dat defw 56000
    defb 14,20,3

    defw 56000
    defb 5,5,6
    [/CODE]
    spud spud October 2014 Development
  • Help needed with a bit of code...My minds gone blank again I'm afraid, I'm having trouble with this routine that loads variables into memory then calls the corresponding routine. Th…

    ... />
    dat defw 56000
    defb 14,20,3

    defw 56000
    defb 5,5,6
    [/CODE]
    spud spud October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... , first line

    ZEROES: defb 0,0,0,0,0 ...
    Battle Bunny Battle Bunny October 2014 Development
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ...
    ;
    .OLDFRAMESLB DEFB $00
    .FLASHFLAG DEFB $00
    [/CODE]
    dbolli dbolli November 2014 Development
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ...
    ;
    .OLDFRAMESLB DEFB $00
    .FLASHFLAG DEFB $00
    [/CODE][/QUOTE ...
    Einar Saukas Einar Saukas November 2014 Development
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ...
    ret

    FLASH: defb $16,$00,$00,$12,$00 ...
    Battle Bunny Battle Bunny November 2014 Development
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ...
    ret
    STRING:
    defb #16,[COLOR="Red"] 0, 0 ...
    velesoft velesoft November 2014 Brand new software
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ...
    ret
    STRING:
    defb #16,[COLOR="Red"] 0, 0 ...
    Einar Saukas Einar Saukas November 2014 Brand new software
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... LOOP
    ret
    STRING: defb $16, 100, 0, 'Hello world ...
    velesoft velesoft November 2014 Brand new software
  • Which emulators support ULA+Tried ZX Spin 7.0, but its unstable. Tried to drag and drop .scr files onto it, but it comes out all wrong. Don't understand the TAP file that's sp…

    ... and put them in a defb.
    I can't check ...
    guesser guesser December 2014 Development
  • Which emulators support ULA+Tried ZX Spin 7.0, but its unstable. Tried to drag and drop .scr files onto it, but it comes out all wrong. Don't understand the TAP file that's sp…

    ... and put them in a defb.
    I can't check ...
    daveysludge daveysludge December 2014 Development
  • 64x48 monochrome big pixels display ideaHi. I was playing with this idea of having a simple 64x48 bytes buffer, 1 byte per pixel, then a renderer which would take that buffer and render it…

    ... yflag (0 or 255)
    defb 1,1 ; xstep (+/-), ystep ... ; display file address
    defb 0,4 ; pflag (0 ... ; display file address
    defb 0,4 ; pflag (0 ...
    Battle Bunny Battle Bunny December 2014 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ...

    ENDIF

    defb 0

    include "../../clib_smc ...

    ENDIF

    defb 0

    include "../../clib_bss ...
    Alcoholics Anonymous Alcoholics Anonymous December 2014 Development
  • Edge Grinder, how would YOU do it?I always meant to post about this and AndyC reminded me in the 'vs' thread in games. [QUOTE=AndyC;808887]The thing I love about threads like this is…

    ... /> RET

    scrollmess
    DEFB " Scrolly message for demo purpose ...
    MatGubbins MatGubbins December 2014 Development
  • Rafaelle CeccoHi all, I've been in contact with Raffaele Cecco of Exolon fame re source code. Unfortunately he doesn't have the original source code any more but…

    ... your dissasembly:

    defb $45,$54,$52,$49,$45 ... ; $7533 ETRIEVE
    defb $4F,$4C,$44,$20,$43 ... $753B OLD COOR
    defb $44,$53,$0D,$0A,$09 ... $7543 DS...LD.
    defb $41,$2C,$45,$0D,$0A ... ; $7583 .!.u~...
    defb $5F,$1C,$1C,$23,$56 ...
    xxl xxl December 2014 Development
  • Rafaelle CeccoHi all, I've been in contact with Raffaele Cecco of Exolon fame re source code. Unfortunately he doesn't have the original source code any more but…

    ... ,$42 ; $903B .2.-..!B
    defb $91 ; $9043 .

    LD ... is:

    defb $3F ; $79FA ?
    defb $CF,$F3,$FC,$2A ...
    xxl xxl December 2014 Development
  • ROM Calculator TrigHello, These Christmas holidays I finally have time to devote myself a little to the speccy . I have a question about how the ROM calculator implem…

    ... by the instruction

    DEFB FP_GET_ARGT

    Here is ...
    rtunes rtunes December 2014 Development
  • ROM Calculator TrigHello, These Christmas holidays I finally have time to devote myself a little to the speccy . I have a question about how the ROM calculator implem…

    ... by the instruction

    DEFB FP_GET_ARGT
    [/QUOTE]

    Alcoholics Anonymous Alcoholics Anonymous December 2014 Development
  • Rafaelle CeccoHi all, I've been in contact with Raffaele Cecco of Exolon fame re source code. Unfortunately he doesn't have the original source code any more but…

    ... />
    there is:

    defb $01,$32,$01,$2D,$01 ... ,$42 ; $903B .2.-..!B
    defb $91 ; $9043 .

    LD ... />
    should be:

    defb $01,$32,$01,$2D,$01 ...
    dbolli dbolli December 2014 Development
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this: (ix holds the position to a sinus table) ld (symbol), a LD a, (ix+symbol) What I want to do…

    Something like this maybe?

    [CODE] ld (symbol),a
    ;
    defw $7edd ; ld a,(ix+...) op code
    symbol defb $00 ; the displacement
    ;
    [/CODE]
    jp jp January 2015 Development
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this: (ix holds the position to a sinus table) ld (symbol), a LD a, (ix+symbol) What I want to do…

    ... IXL,A[/b] with [code]DEFB $DD ; IX prefix
    LD ...
    Jonathan Harston Jonathan Harston January 2015 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    If return is the only needed action, use a Error restart

    RST 8
    Defb 255
    Dr BEEP Dr BEEP January 2015 Development
  • Simple sprite inertiaDoes anyone have or can anyone point me to any good examples of sprite inertia (in assembly)? I'm not after anything vector related, just simple x,y…

    ... />
    PLAYERX DEFB 0
    PLAYERY DEFB 0
    PL_YSPEED DEFB 0
    PL_XSPEED DEFB 0
    dmsmith dmsmith January 2015 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    ... /> [code]
    rst 8
    defb 255
    [/code]

    princm princm January 2015 Development
  • Random object placementI'm looking for some advice on placing objects randomly in a game. I have a routine that reads a table and prints the corresponding object: 0 prints…

    ...
    x defb 0
    y defb 0
    w defb 0
    daveysludge daveysludge January 2015 Development
<1…28293031323334>

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

Related Threads

  • 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. …
  • 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…
  • Reading DEFB for backgroundsHi all<br /> <br /> I suppose the question is kind of silly but I'm a completely newbie with assembler :-S<br /> I'm drawing some side backgrounds…

Related Searches

  • defb array
  • defw defb defs
  • paintbrush asm defb
  • defb backgrounds

Copyright © 2024 World of Spectrum