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…25262728293031…34>
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ...
    rst $28 ;FP_CALC
    defb $34,$40,$b0,$00,$03 ... ;stack 3
    defb $05 ;divide
    defb $38 ;end_calc
    call ...
    Battle Bunny Battle Bunny December 2013 Development
  • Getting aquainted with the IF1bisToday, fifteen days after dispatch, the IF1bis arrived at my door. In perfect order. No customs, no TVA and no handling fee involved. The arrival of …

    ... ;jp if BREAK pressed
    DEFB 62 ; fake LD A,126 ...
    roko roko December 2013 Hardware
  • Beepola v1.08 AvailableA new version of Beepoa, v1.08, is now available for download from:- [url]http://freestuff.grok.co.uk/beepola/[/url] (1.76MB zipped exe, no installe…

    ... DEFB $02,$20
    DEFB $04,$01 ; 13
    DEFB $04,$02
    DEFB ... DEFB $04,$20
    DEFB $08,$01 ; 19
    DEFB $08,$02
    DEFB ...
    FrankT FrankT December 2013 Announcements
  • Changing the font in z88dkEither I've got this backwards or the documentation is incorrect... :smile: "[URL="http://www.z88dk.org/wiki/doku.php?id=platform:zx"]The standard Z…

    ... />
    XDEF _sprite

    defb 0,0,0,0,0 ...

    _sprite:

    defb 1,2,3,4,5 ... ,6,7,8
    defb 1,2,3,4,5 ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • About how z88dk generates code and makes room for variables.When you attempt to code games for the 128K models using z88dk in C you need to somewhat control where variables are stored in memory. I thought tha…

    ...
    variables:
    asm
    defb 0 ;'gold
    defw 45 ...
    LCD LCD January 2014 Development
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ...

    sprite_data

    defb 255,129,129,129,129 ...
    Morkin Morkin January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ...

    sprite_data

    defb 255,129,129,129,129 ...
    Wookiee Wookiee January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... 8x8 block?

    [CODE]defb 255,255,255,255,255 ...
    Wookiee Wookiee January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... 8x8 block?

    [CODE]defb 255,255,255,255,255 ...
    Morkin Morkin January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... data for udgs

    defb 129,129,129,129,129 ... what I do with the defb command nowt changes on the ...
    Wookiee Wookiee January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... this line:
    [code]
    defb 129,129,129,129,129 ... /> To this:
    [code]
    defb 255,255,255,255,255 ...
    Morkin Morkin January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... 'sprite_data' label is at the DEFB bit so it knows where ...
    Morkin Morkin January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... 'sprite_data' label is at the DEFB bit so it knows where ...
    Wookiee Wookiee January 2014 Sinclair Basic
  • Clearing 22 lines of the screenHow do I go about clearing the top 22 lines of the screen and leave the bottom #0 area untouched? I have a routine to reset the attributes, but cant…

    ... /> RET

    cleartext
    defb 22,0,0," 32 spaces ...
    MatGubbins MatGubbins January 2014 Development
  • really dumb questionbut can I use the following line to create a udg and if so how do I call it or use it via the graphics mode? Do I need to READ something somewhere? …

    ... quick graphics. Yipee!
    DEFB 8,24,63,127,63 ... ; A left arrow
    DEFB 8,12,126,127,126 ... ; B right arrow
    DEFB 8,28,62,127,28 ... ; C up arrow
    DEFB 28,28,28,127,62 ...
    MatGubbins MatGubbins January 2014 Sinclair Basic
  • really dumb questionbut can I use the following line to create a udg and if so how do I call it or use it via the graphics mode? Do I need to READ something somewhere? …

    ... quick graphics. Yipee!
    DEFB 8,24,63,127,63 ... ; A left arrow
    DEFB 8,12,126,127,126 ... ; B right arrow
    DEFB 8,28,62,127,28 ... ; C up arrow
    DEFB 28,28,28,127,62 ...
    Morkin Morkin January 2014 Sinclair Basic
  • really dumb questionbut can I use the following line to create a udg and if so how do I call it or use it via the graphics mode? Do I need to READ something somewhere? …

    ... quick graphics. Yipee!
    DEFB 8,24,63,127,63 ... ; A left arrow
    DEFB 8,12,126,127,126 ... ; B right arrow
    DEFB 8,28,62,127,28 ... ; C up arrow
    DEFB 28,28,28,127,62 ...
    szeliga szeliga January 2014 Sinclair Basic
  • Convert .mid files to .asm for AYI've had a mess about with Midibeep for converting midi files to Basic BEEP statements with little success, it got me wondering if there were a progr…

    ... binary into a series of DefB statements to use in Pasmo ...
    kgmcneil kgmcneil January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... , $02 ; $40->$02
    defb $f2 ; jp p, xxxx
    antoniovillena antoniovillena January 2014 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... />
    [code]
    MirrorTable:
    defb 0,80h,40h,0,20h ...
    Kweepa Kweepa January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... %04d cents, %s\n"
    defb 0

    _a:
    _b:
    defm "Huzzah!"
    defb 0

    // The "push ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Outputting debug trace to RS232 (assembly)Hi Guys, I'm working on a game at the moment (written in assembly) but I am really needing to write out a debug trace of what is going on with the p…

    ... , 'f'
    rst 0x8
    defb 0x1E
    [/code]

    guesser guesser January 2014 Development
  • Outputting debug trace to RS232 (assembly)Hi Guys, I'm working on a game at the moment (written in assembly) but I am really needing to write out a debug trace of what is going on with the p…

    ... HL
    RST 8
    defb 0x1E ; Write A to RS232 ...
    JR .next
    .txt .defb "Hello World.",13,"Welcome!",13 ...
    BloodBaz BloodBaz January 2014 Development
  • Outputting debug trace to RS232 (assembly)Hi Guys, I'm working on a game at the moment (written in assembly) but I am really needing to write out a debug trace of what is going on with the p…

    ... than 1 byte past the DEFB.

    I'm giving ...
    BloodBaz BloodBaz January 2014 Development
  • Which Windows Emulator will support SPECTRA?I want to start crossdeveloping games for SPECTRA, but it is a pain in the ass to save the TAP on USB Stick or SD Card and test them on my eMac SP Em…

    ... allow to export selections to DEFB?
    LCD LCD January 2014 Emulators
  • Which Windows Emulator will support SPECTRA?I want to start crossdeveloping games for SPECTRA, but it is a pain in the ass to save the TAP on USB Stick or SD Card and test them on my eMac SP Em…

    ... allow to export selections to DEFB?[/QUOTE]

    I'm ...
    BloodBaz BloodBaz January 2014 Emulators
  • 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 …

    Another -1

    [code]
    ld bc, $58ff
    defb $3a
    loop1 rrca
    loop2 ld (bc), a
    inc c
    jr nz, loop2
    djnz loop1
    [/code]
    antoniovillena antoniovillena January 2014 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 …

    ... 45311
    srl b
    defb $3a
    loop1: rrca
    Battle Bunny Battle Bunny January 2014 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 …

    ...
    ld b, $58
    defb $3a
    loop1 rrca
    antoniovillena antoniovillena January 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... ret
    BlockData:
    DEFB $00,$00,$00,$00,$00 ... 00,$00,$00
    DEFB $0F,$0F,$0F,$0F,$ ... 00,$00,$00
    DEFB $F0,$F0,$F0,$F0,$ ... 00,$00,$00
    DEFB $FF,$FF,$FF,$FF,$ ... 00,$00,$00
    DEFB $00,$00,$00,$00,$ ...
    Battle Bunny Battle Bunny February 2014 Development
<1…25262728293031…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

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