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>
  • Optimal shifting for set pixel?Hi, I'm optimizing my set pixel code. For speed. But without using partitioned memory (i.e. a table on 256 byte boundary) I have optimal memory addr…

    LD A,#x;
    AND #7;
    LD H, table/256; # locate table in such manner that L=0
    LD L,A;
    LD A,(HL);

    table defb #80,#40,#20,#10,#08,#04,#02,#01;

    -----

    It's untested, but you should get the idea.
    Jimmy Falcon Jimmy Falcon May 2014 Development
  • Beautiful codeSome people see beauty or something sublime in maths formulas and equations, can anyone suggest examples of beautiful or sublime programming?

    [QUOTE=dmsmith;770580]I couldn't figure how to post it here in a code box...[/quote]

    Allow me.

    [code]THE 'REDUCE ARGUMENT' SUBROUTINE (Offset 35: 'get-argt.')

    This subroutine transforms the argument X of SIN X or COS ...
    chev chev May 2014 Development
  • Optimal shifting for set pixel?Hi, I'm optimizing my set pixel code. For speed. But without using partitioned memory (i.e. a table on 256 byte boundary) I have optimal memory addr…

    ... A,(HL);

    table defb #80,#40,#20,#10,#08 ...
    g0blinish g0blinish May 2014 Development
  • Excel sprite creatorMaybe no use to anyone but I knocked up the attached to help me make simple 16x16 sprites. Only supports the standard 8 colours no bright or flash s…

    ... have a 2k list of defb codes to import into .asm ...
    richdotward richdotward June 2014 Development
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... />
    posx: defb 3
    posy: defb 0
    attr: defb (4*8 ... paper, yellow ink
    ink: defb 6 ; Yellow ink
    ... paper
    bright: defb 0
    flash: defb 0
    byteloop: ...


    codeend: defb 77 ; just a marker for ...
    polomint polomint June 2014 Sinclair Basic
  • Single shot type affair (i.e. not rapid fire)I'm struggling with this 'fire' routine... [CODE]ld a,239 in a, (254) and 1 call z,stinger[/CODE] I'm only wanting the one 'shot' so to speak but …

    ... />



    last_fire: defb 0
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous June 2014 Development
  • ZX-Modules app reportZX-Modules app report If You are interested, I want to report about the state and progress about my ZX-Modules programs. I would like to report at l…

    ... (BYTE, WORD, TRIPLE, DWORD, BLOCK, DEFB, DEFW, DEFT, DEFD, DEFS)
    clausjahn clausjahn July 2014 Emulators
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... , (BC)
    RST $18
    DEFB $0A
    [/code]
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • RTC module for DIVIDE[IMG]http://velesoft.speccy.cz/other/rtc_module_v01_full_top.jpg[/IMG] [IMG]http://velesoft.speccy.cz/other/rtc_module_v01_full_bottom.jpg[/IMG] [IMG…

    ...
    RET

    JOYDIR DEFB 0 ;here save state of ... ,Y,X,MODE
    JOYDIR2 DEFB 0 ;here save byte with ...
    velesoft velesoft July 2014 Hardware
  • Definitive list of games incompatible with +2A/+3 and of compatible versions (if any)I am trying to compile the definitive list of games which are incompatible with the +2A and the +3 and of their compatible versions, if they are pres…

    ... )
    [CODE]; Rocks.

    defb 89,106,81,75,120 ... ,58,169,88,139
    defb 77,91,76,82,109 ... ,148,148,181,220
    defb 202,43,218,97,238 ... ,39,155,179,73
    defb 187,108,173,252,237 ...
    goodboy goodboy August 2014 Games
  • 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…

    Defb puts a byte value directly ...
    AndyC AndyC September 2014 Development
  • 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…

    I think of DEFB as similar to a DATA statement in BASIC. If that's any help.
    Morkin Morkin September 2014 Development
  • 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…

    DEFB = Define Byte (8 Bit value) - ...
    Gott Gott September 2014 Development
  • 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…

    ... would get if you wrote DEFB 62,15. But it would ... .

    By the way DEFB isn't Z80 command, it ... .BYTE and .WORD instead of DEFB and DEFW

    As ...
    ret

    string defb 22,21,31,'!'[/CODE]
    Ralf Ralf September 2014 Development
  • Definitive list of games incompatible with +2A/+3 and of compatible versions (if any)I am trying to compile the definitive list of games which are incompatible with the +2A and the +3 and of their compatible versions, if they are pres…

    ... )
    [CODE]; Rocks.

    defb 89,106,81,75,120 ... ,58,169,88,139
    defb 77,91,76,82,109 ... ,148,148,181,220
    defb 202,43,218,97,238 ... ,39,155,179,73
    defb 187,108,173,252,237 ...
    jonathan jonathan September 2014 Games
  • 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…

    ... it be any length - could DEFB be followed by a short ...
    Tobo Tobo September 2014 Development
  • 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…

    ... be any length - could DEFB be followed by a short ...
    [CODE]
    DEFB 0,0,0,0, 0 ... in form text file with DEFB or DB directive. That ... indicates that DEFB directive is expected accomodate quite ... readability.
    [CODE]
    DEFB 0,0,0,0, 0 ...
    catmeows catmeows September 2014 Development
  • 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…

    ... /> [B]ORG 30000
    Lives DEFB 5[/B]

    and ...
    Ralf Ralf September 2014 Development
  • 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…

    ... /> [QUOTE]ORG 30000
    string defb 22,21,31,'!'
    eostr ...
    Ralf Ralf September 2014 Development
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... />
    defb Routine1Len
    defb Routine2Len
    ...
    defb RoutineNLen
    ... WANTED_ROUTINES & $01
    defb Routine1Len
    ENDIF
    < ... WANTED_ROUTINES & $08
    defb Routine4Len
    ENDIF
    < ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Emulators
  • ZX-Paintbrush new feature requestI would find a .tile file format very useful, basically like a .btile or .ctile but with the data arranged for normal Speccy attributes So it would …

    ... of pixel data:

    defb 00h, 00h, 00h, 00h, 03h ... , 20h, 04h, 20h, 04h
    defb 20h, 04h, 20h, 04h, 20h ... of attribute data:

    defb 32h, 38h, 38h, 34h[/INDENT ...
    clausjahn clausjahn September 2014 Emulators
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ...
    ret

    dat1: defb $16,$01,$00
    dat2 ...
    Battle Bunny Battle Bunny September 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…

    ... DEFB 7,7
    DEFB 8,0
    DEFB 9,0
    DEFB ... 10,0
    DEFB 12,100
    DEFB ...
    MatGubbins MatGubbins 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…

    ... DEFB 8,16
    DEFB 9,16
    DEFB 10,16
    DEFB ... 12,20
    DEFB ...
    MatGubbins MatGubbins 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…

    ... />
    wavedata
    DEFB 6,31 ; noise generator, pitch ...

    pulseondata
    DEFB 7,56 ; mixer, all channels ... settings

    DEFB 1,30 ; channel 1, ... />
    pulseoffdata
    DEFB 8,0 ; channel 1, volume ...
    MatGubbins MatGubbins October 2014 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