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…567891011…34>
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... is the usage of the DEFS assembler directive inside a JNI ... ') and will include it as DEFB lines without any labels (!).
    Raydac Raydac June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> ;
    someconstants1 defb 064,255
    someconstants2 defb 170,085
    defb 0
    FONTSTUFF
    ... zero byte
    defw block1
    defw block2
    defw block3
    ;< ... & low byte
    defb 253
    endrep[/CODE]
    R-Tape R-Tape June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... block,block,block,block
    defw block,block,block,block,block ... block,block,block,block
    defw block,blocb,block,blocb,block ... ,block,block,block
    defw block,blocb,block,blocb,block ... high & low byte
    defb 253
    endrep[/CODE]
    R-Tape R-Tape June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> RET RET

    ATTCC DEFW &5800 ; Address in attributes ...
    PRCHAR defb 17 ; saving 10 cycles
    CHARS defw address ; Get ...
    PRMTX defb 17 ; saving 10 tstates
    ATTCC defw $5800; DE ...
    Baggers Baggers June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    PRCHAR defb 17 ; saving 10 cycles
    CHARS defw address ; Get ...
    Einar Saukas Einar Saukas June 2012 Development
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... ;FP_CALC
    defb $34,$B0 ;stk_data (short string)
    defw $023F ;address ... of "RND" code in key table
    defb $01 ...
    Battle Bunny Battle Bunny July 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... /> err5:
    rst 8 ;
    defb 4 ;

    fchr:

    chrad:
    defw 0 ; Reserve a bit of ... /> ; variables.

    atflg:
    defb 0 ;[/code]
    chev chev August 2012 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... br /> ;----------------------------------------------------------------------------
    overflag defb 0 ; OVER flag - if ... 0 to 21
    fontaddress defw uglifont

    ...
    uglifruit uglifruit August 2012 Development
  • Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…

    ...
    1-point (stringseed) defw to a string that is ...
    2-point (stringseed) defw to a string that is ... defw string2
    ;
    xcor defb 0
    ycor defb 0
    string2 defb ... 'ABCD'
    number_of_repeats defb 7[/ ...
    R-Tape R-Tape October 2012 Development
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    I reinvented the wheel for ZX Basic a bit ago...

    [code]' My own dbl size.

    ' Mi idea es usar una tabla para la expansi?n de los nibbles.
    ' Para cada byte, se aislan los nibbles, se obtiene la tabla,
    ' y se vuelca dos ...
    na_th_an na_th_an October 2012 Sinclair Basic
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... ;character row address table
    defw 16384, 16416, 16448, 16480, 16512 ... ;attribute row address table
    defw 22528, 22560, 22592, 22624, ... /> defb 11111111b
    defb 10000001b
    defb 10000001b
    defb 10000001b
    defb 10000001b
    defb ...
    joefish joefish October 2012 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... ;character row address table
    defw 16384, 16416, 16448, 16480, 16512 ... ;attribute row address table
    defw 22528, 22560, 22592, 22624, ... /> defb 11111111b
    defb 10000001b
    defb 10000001b
    defb 10000001b
    defb 10000001b
    defb ...
    joefish joefish October 2012 Development
  • Games featuring... relevant bugsThere was a recent improvement to the WoS database in order to classify [URL="http://www.worldofspectrum.org/forums/showthread.php?t=34261"]Games fea…

    ... br /> defw $7000, $7000

    org $7000

    defb $00 ... , $ff, $00, $ff
    defb $00, $ff, ... $00, $1f
    defb $00, $fe

    defb $00, $ff, $00 ... , $ff
    defb $00, $ff, ...
    Bandit Bandit April 2013 Infoseek database
  • Games with Music BugsI know there is already a thread about games with bugs (and indeed its a awesome thread), but I thought maybe it would be nice to open another one ju…

    ... ]
    org ram7: $c4dc
    defs 4,0[/code]

    org ram7: $d08b
    defb 0,0[/code]

    Bandit Bandit May 2013 Games
  • Games with Music BugsI know there is already a thread about games with bugs (and indeed its a awesome thread), but I thought maybe it would be nice to open another one ju…

    ... ]
    org ram7: $c4dc
    defs 4,0[/code]

    org ram7: $d08b
    defb 0,0[/code]

    Ivanzx Ivanzx May 2013 Games
  • Games with Music BugsI know there is already a thread about games with bugs (and indeed its a awesome thread), but I thought maybe it would be nice to open another one ju…

    ... $84a6
    defb 1

    org $84a8
    defw $8f67
    Bandit Bandit May 2013 Games
  • Works in Fuse & SpecEmu, not ZXSpinI decided that I wanted to change the scroll routine which I was using for compiling the Trailblazer maps, as I'd just copied it out of Andrew Hewson…

    ... br /> ret

    NULLS: defb $00,$00,$00,$00,$00 ... 00,$00,$00,$00
    defb $00,$00,$00,$00,$00 ... 00,$00
    defw NULLS
    HI: defw $4000,$4020,$4040,$4060 ... 40a0,$40c0,$40e0
    MID: defw $4800,$4820,$4840,$4860,$4880 ...
    ub880d ub880d June 2013 Emulators
  • 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…

    ... course,
    [code]
    defw hyphen_minus -$
    defb [COLOR=Red]64[/COLOR ... use:
    [code]
    defw hyphen_minus -$
    defb [COLOR=Red]16*4 ...
    Einar Saukas Einar Saukas June 2013 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…

    ... :

    [CODE]; defw address -$ + kern
    ; defb 16 * shift + width - 1 ...

    table:
    defw space -$
    defb 16*0+6-1 ...
    defw exclamation_mark -$
    ...[/CODE]
    Einar Saukas Einar Saukas June 2013 Brand new software
  • Struggling with this routine... Any ideas?I'm trying to write a routine that plots 3 pixels to decrease the energy bar in the top right corner by 5 units, but it just wont have it! There mus…

    ... />
    BASE DEFW 3C00H
    DFCCP DEFW 4000H
    ATT DEFB 38H
    Shando Shando July 2013 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…

    ... defw chr32-$ ; ' '
    defb 0*16+2-1
    defw chr33-$ ; '!'
    defb 2 ... /> defw chr34-$ ; '"'
    defb 1*16+7-1
    defw chr35-$ ; '#'
    ...
    defw ... chr127-$ ; '@'
    defb 0*16+ ...
    Einar Saukas Einar Saukas July 2013 Brand new software
<1…567891011…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
defw 431 4K
defb 1.1K 15.2K
defs 207 489

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
  • defb array
  • defw
  • table defw 16bit
  • defs
  • paintbrush asm defb
  • defb backgrounds

Copyright © 2024 World of Spectrum