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>
  • Getting the contents of tablesHi All, I'm risking a potentially daft question here as it seems pretty fundamental but here goes: What's the best way of pointing register pairs a…

    ... ,(storeSP)
    ....
    ....
    storeSP: defw 0
    ; Total: 20 + 6 ...
    csmith csmith October 2011 Development
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... ;= NZ,NC (A=96)
    defb 1 ;fake LD BC,44998 ... ,C
    xor b
    defb 22 ;fake LD D,168 ...
    anding and b
    defb 22 ;fake LD D,176 ...
    roko roko October 2011 Sinclair Basic
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ;; UDG Space Invader Generator..
    ;; By Karl McNeil Oct 2011
    ;;
    ;; INPUT BC: Where...
    ;;
    ;; B=Number of UDG's to generate
    ;; C=Starting RND_SEED
    ;;
    ;; OUTPUTS B number of UDG's into the UDG area..
    ;;
    kgmcneil kgmcneil October 2011 Development
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... findopc
    OPTIONS:defb "C","N","(",")","","{","}","]"
    defb "A","X","O","B ...
    Dr BEEP Dr BEEP October 2011 Sinclair Basic
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... [/URL][/QUOTE]


    DEFB #CA
    Ah, the good ...
    Dr BEEP Dr BEEP October 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    [QUOTE=Dr BEEP;571486]DEFB #CA
    Ah, the good ...
    antoniovillena antoniovillena October 2011 Development
  • Pixel engines for explosions...Hi... Iv a strange request... I was toying around with an old YS program, which can be found here: [url]http://www.users.globalnet.co.uk/~jg27paw4/ty…

    ... 172 blank byte block with: defs (-$)%256 ; for alignment...
    2 ...
    kgmcneil kgmcneil October 2011 Development
  • playing sound samples from Boriel's zxbasic-compilerfirst of all, sorry if it sounds confusing if i'm posting this thread here instead instead of at Discussions:SinclarBasic it's because this is more …

    ... of 256-byte page
    defs LEVELS ; (4*LEVELS+3) three ...
    Alcoholics Anonymous Alcoholics Anonymous October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... printline

    line:
    DEFB "Hello World",0
    [/code ...
    rich_chandler rich_chandler October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... printline

    line:
    DEFB "Hello World",0
    [/code ...
    sack sack October 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…

    ...
    key_left_port: defb $df
    key_left_pattern: defb 2
    key_right_port: defb $df
    key_right_pattern: defb 1
    polomint polomint October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... printloop

    line:
    DEFB 72, 29, 7, 0, 3 ...
    TVzombie TVzombie October 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... to BASIC!
    ;
    string defb 22,0,0,'In your ... key'
    theendofthestring
    udgstring defb 22,10,0,144,32 ...
    R-Tape R-Tape December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    [QUOTE=ccowley;587873]Don't worry, Dr.BEEP will come along in a minute and do a version in 6 bytes.[/QUOTE]

    Not yet in 6 bytes, but in 1 line already!

    DEFB 33_bytevalues
    Dr BEEP Dr BEEP December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... ,(STK)
    RET
    STK DEFW 0
    [/CODE]
    :D
    ccowley ccowley December 2011 Development
  • Arkanoid Hack - Your Sinclair Smash TipsRemember that Arkanoid hack in YS Smash Tips that didn't work? It does now... [CODE] 10 REM ARKANOID HACK 20 CLEAR 65535: LET C=1: LET D=23295 …

    ...
    ret
    ;
    dcrypts defb $11,$24,$39 ; length of ... the 6
    defb $0e,$19,$17 ; speedlock decrypters ...
    jp jp December 2011 Development
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... just been printed previously
    defb $00 ;bit 0 set ... start of token codes
    defb $c5 ;leading/trailing boundary token ...
    defb $06 ;length of exclusion list ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…

    ... STAKBC
    rst $28
    defb $04,$01,$05,$01,$38 ...
    Battle Bunny Battle Bunny December 2011 Development
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?

    ... attribute address
    ;
    horizontalcoord defb 16 ;31,23 the max ... for x,y
    vertical_coord defb 16
    colour defb 68[/CODE]
    R-Tape R-Tape January 2012 Development
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    ...
    RST $28 ;FP_CALC
    DEFB $04,$38
    CALL $2dd5 ...
    Battle Bunny Battle Bunny January 2012 Development
  • Using the ROMs PRINT routineI really am starting from scratch again it seems, but how do you utilize the ROM routine to print characters, I think you point te BC register to an …

    ...
    ret
    ;
    string defb 'THE ROM FONT ISN',39 ...
    R-Tape R-Tape January 2012 Development
  • Another custom loaderI got into my hands a cassette with compilation of Polish programs. most of them MIA. Unfortunately some of them are saved with a kind of custom loa…

    ... />
    0xF8E4 ld e,e ; defb 5b
    0xF8E5 ld ix ...
    lfaria lfaria February 2012 MIA/STP/SDP
  • New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …

    ... to learn asm :) it pumps defb text now, without any viewer ...
    Arda Arda February 2012 Announcements
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    [QUOTE=Timmy;594378]Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how easy it actually is. (Actually I've already published this one some time ago, but this ...
    AndyOaks AndyOaks March 2012 Development
  • Maritrini and Cray 5 loading problemsHas anyone else here had issues loading either of these on a 128k? No matter what I try, both these games refuse to load properly. I can get both t…

    ... />
    org 25000
    memoria_a_cambiar defb 0

    org 25002 ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • using the ROM's FP calculatorIs it possible to use the ROM's FP calculator to evaluate any FP expression in a single sequence of commands without breaking out to stack some other…

    ... a, b, c, d
    DEFB $05 ; division a, b, c ... /d
    DEFB $C0 ; st-mem-0 a ... , b, c/d
    DEFB $02 ; delete a, b< ... a/b, c/d
    DEFB $0F ; addition a/b + ... c/d
    DEFB $38 ; end-calc
    ...
    antoniovillena antoniovillena March 2012 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... the sprite data at the DEFB lines at the end of ...
    Timmy Timmy March 2012 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... the sprite data at the DEFB lines at the end of ...
    AndyOaks AndyOaks March 2012 Development
  • Multicolour demo using z88dk + BIFROST* (+source)This is just a demo to show how to show multicolour using z88dk, using the BIFROST* engine (more info [URL="http://www.worldofspectrum.org/forums/sho…

    ... l_dcal
    ; ...
    ._bfl_start
    defw 65007
    ; ...
    .l_dcal
    Einar Saukas Einar Saukas March 2012 Development
  • Adventurers: Your Help NeededHi All, I'm embarking on a feat which I am going to regret. Basically I will need the help of a host of volunteers with a passion for those old cla…

    ... /> GRAPHICS:
    defw $0003 ; $e96d
    defw $0004 ; $dd30
    defw $000C ; $df78 ...
    defw $000F ; $e35b ...
    Battle Bunny Battle Bunny April 2012 Games
<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
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