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.162s
<1…23242526272829…34>
  • Un-PLOTting in the #0 areaHow do I go about un-PLOTting in the bottom 2 lines. I am aware the ROM PLOT routine only works in the top 22 rows, so how would I go about depletin…

    ... br /> ld a,(cx)
    add a,c
    ld c,a ;B =y; C = x
    ld a,191 ; ... allow full screen depth
    sub b ...
    Battle Bunny Battle Bunny February 2014 Development
  • Deterministic random number generatorI'm looking for a random number generator in assembly which, given a seed, the generated sequence is always the same. You change the seed, you get a …

    ... generator (as required by the C standard, using 16-bit ints ... /> xor h
    ld h,a

    ld a,d
    srl a
    xor e ...
    ld e,a ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... advanced spectrum machine language"
    ld a,b ; by David Webb
    ... B = row, C = column)
    add a,64 ; then CALL this routine
    ld ... the block at
    ld a,b
    and 7
    ... /> rrca
    add a,c
    ld l,a
    ret
    ...
    Morkin Morkin February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... advanced spectrum machine language"
    ld a,b ; by David Webb
    ... B = row, C = column)
    add a,64 ; then CALL this routine
    ld ... the block at
    ld a,b
    and 7
    ... /> rrca
    add a,c
    ld l,a
    ret
    ...
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... advanced spectrum machine language"
    ld a,b ; by David Webb
    ... B = row, C = column)
    add a,64 ; then CALL this routine
    ld ... the block at
    ld a,b
    and 7
    ... /> rrca
    add a,c
    ld l,a
    ret
    ...
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... ld a,b
    sra a
    sra a
    sra a
    add a,88
    ld ... h,a
    ld a,b ... /> rrca
    add a,c
    ld l,a
    ret[/code]
    ld a,(de) ; get the colour ...
    Morkin Morkin March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... /> ld a,b ;
    and 248 ; load BC with screen position (B = row, C = ... column)
    add a,64 ; then CALL this routine
    ld ... the block at
    ld a,b
    and 7
    ... rrca
    add a,c
    ld l,a
    ret[/COLOR]
    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... />
    ld bc,(tile_x) ; loads C with column (tile x), B with row ... a
    sra a
    sra a
    add a,88
    ld h,a
    ld a,b ...
    rrca
    add a,c
    ld l,a
    ret

    alienbanana alienbanana March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... a
    sra a
    sra a
    add a,88
    ld h,a
    ld a,b ...
    rrca
    ld l,a ; low byte.
    ld a, c ; add on y ... coordinate.
    add a,l ; mix ...
    polomint polomint March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... /> ld a,b
    and 248
    add a,64
    ld h,a
    ld a,b
    a,c
    ld l,a
    ret

    get_screen_attr:
    ld a,b
    sra a ...
    sra a
    sra a
    add a,88
    ld h, Morkin Morkin March 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... /> ld a,b
    and 248
    add a,64
    ld h,a
    ld a,b
    a,c
    ld l,a
    ret

    get_screen_attr:
    ld a,b
    sra a ...
    sra a
    sra a
    add a,88
    ld h, alienbanana alienbanana March 2014 Development
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    ... /> ld (hl), a
    cp 10
    ret c
    DoDecTen inc b
    ld (hl), a
    dec hl
    ld a, b
    jp ...
    Mr Millside Mr Millside March 2014 Development
  • ccZ80++Here is the url for a new compiler pour all computers with Z80: [url]http://ccz80pp.webcindario.com[/url] It's a beta version, but it's works. If y…

    ... /> LD HL,16384
    LD A,B
    ADD A,L
    LD L,A

    LD A,C ...
    LD A,8
    ADD A,H
    LD H,A
    LD A,C
    SUB ... :
    LD A,16
    ADD A,H
    LD H, slenkar slenkar July 2014 Development
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... /> ld a,(23677) ;A =x
    and %00000111
    ld b,a
    inc b
    ld a,1 ... 3 2 1 0
    ;= |.B| |..B..| =|..B..| |.....C.....|
    ; 0 1 0 7 ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... bc
    call $2307 ;STK_TO_BC; B,C=ABS y,ABS x; D ... SGN x
    ld (23677),bc ;(COORDS)=BC
    ld a,b
    bit ... 2

    ld b,a
    inc b
    ld a,1
    MoveBit:rrca ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • llvm-z80 statusFew months ago I read about efforts to produce llvm back-end for the Z80 (even perhaps as part of new z88dk). Any update on that? I found [URL="htt…

    ... /> ld hl, b
    inc hl
    ld b, (hl)
    ld a, (b)
    ld c, a
    ld hl, a ...
    Alcoholics Anonymous Alcoholics Anonymous September 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…

    ... ld e,a ;update the destination lo-byte (rrrccccc)
    ld a,b ;A ... =0
    adc a,d ;if ... the line
    xor %00011000 ;if the segment ...
    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?

    ... XOR A
    LD (OLDFRAMESLB),A
    LD (FLASHFLAG),A ; Init
    ;
    .CHECKFLASH
    LD A ... ,(OLDFRAMESLB) ; Get previous FRAMES low byte
    LD B,A
    LD A,(FRAMES ... of frame counter
    CP B
    JR Z,CFEXIT ...
    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?

    ... ),a
    jp LINE3

    RETURN: ld a,(23680)
    ld b,0
    ld c,a ...
    dec c
    RESET: ld de ...
    Battle Bunny Battle Bunny November 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…

    ... .asm"
    ; =============== S U B R O U T I ...
    ;UNUSED ?????
    ; ld a, d
    ; sub b
    ; sub 9
    ; cp 0F1h ; 'с'
    ; ld a, 0 ...
    ; ret c
    ; ld a, e
    ; sub ...
    esl esl November 2014 Development
  • BIFROST* ENGINE 1.2 released!Another improved version of the BIFROST* ENGINE is now available! Download it here: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0027405[/u…

    ...

    LD A,C ; Get Lo byte
    LD (DE),A ; Store the byte ... DE
    LD A,B ; Get Hi byte
    LD (DE),A ; Store the byte ...
    dbolli dbolli January 2015 Brand new software
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    As per the issue with [URL="http://www.worldofspectrum.org/forums/showpost.php?p=813876&postcount=147"]BI*FROST and the recent daily builds of z88dk[/URL], some of the macros that access memory locations in NIRVANA will not compile correctly in z88dk.< ...
    dbolli dbolli January 2015 Brand new software
  • 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,…

    ... /> ld c,(hl)



    LD HL,#16384
    LD A,B
    ADD A ... ,L
    LD L,A

    LD A,C ...
    slenkar slenkar February 2015 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,…

    ... /> ld c,(hl)
    ENDIF


    LD HL,#16384
    LD A,B
    ADD A,L
    LD L,A

    LD A,C ...
    slenkar slenkar February 2015 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,…

    ... /> ld c,(hl)

    ENDIF


    LD HL,#16384
    LD A,B ...
    ADD A,L
    LD L,A

    LD A,C ... /> LD HL,#16384
    LD A,B
    ADD A,L
    LD L,A

    LD A,
    Alcoholics Anonymous Alcoholics Anonymous February 2015 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,…

    ... /> LD HL,16384
    LD A,B
    ADD A,L
    LD L,A

    LD A,C ... />
    LD A,8
    ADD A,H
    LD H,A
    LD A,C
    SUB ... />
    LD A,16
    ADD A,H
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Hungarian notation for asm - Yes or No ?There is thing called hungarian notation - https://en.wikipedia.org/wiki/Hungarian_notation Basically it is all about using prefixed indetifier to i…

    ... table for the shift
    ;B- nr of lines

    LD A,(DE) ;get second part of 1st shifted byte
    LD C,A
    LD A,(DE)
    OR C ;combine 2nd part of ... shifted 2nd mask byte
    LD A,(DE)
    ...[/code]
    < ...
    Ralf Ralf July 2015 Development
  • Game development guidesHello all, I want to get into game development for the ZX Spectrum and would like to know where I can find some helpful guides. I've looked around t…

    ... of
    loop:
    ld a,2
    ;code1
    ld a,0
    ;code2 ... loop

    ;try this
    ld a,2
    loop:
    ;code1
    xor ... $01 ; the trick is xor logic ...
    lunarul lunarul August 2015 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…

    ... a
    ld a, b
    and 7
    add a, h
    ld h, a
    ld a, c ... ld l, a
    ld a, b
    and 56
    add a, a
    add a, a ...
    Kiwi Kiwi September 2015 Development
<1…23242526272829…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
ld 6.3K 67.3K
a 589.5K 1.7M
b 55.2K 190K
xor 1.9K 4.8K
c 20.3K 48.8K
loop 4.8K 8.5K

Related Threads

  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • can someone make manic miner in b.a.s.i.c (oh, the horrors!)can someone make manic miner (or it's first level) in b.a.s.i.c . yes i know this is stupid, but i would like to know what would happen! from matthew
  • jet set willy in b.a.s.i.c (oh, even more horrors!!!!!!!!)what about jet set willy in b.a.s.i.c ? is anyone doing that? i think it's a really bad idea, but it's sure is a funny one! oh yes, i do know a littl…
  • ant attack in b.a.s.i.ccan someone make ant attack in b.a.s.i.c . it may be impossible!<br /> from a 14 year old kid.
  • who do you use 1 key b.a.s.i.c?well how do you. is there a web site about it. i do not have the original instruction book.<br /> from a 14 year old kid (named matthew.......)<br />…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Adventure A,B,C,D,E,etcDoes anyone have any info on how this whole "Adventure A,B,etc" series came about?<br /> <br /> One of the first games I ever played on the ol' specc…

Related Searches

  • ld a r
  • d a w b
  • ld r a
  • xor c
  • xor c loop
  • ld a b or c loop
  • play a b c
  • b c bill
  • a m c
  • t a c
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • spectrum 2 a b rgb cables
  • out c a
  • ay out c a
  • screen address c b l
  • ld a 5b5c
  • ld bc 65533 a 254 out c
  • cpi ld a b or c

Copyright © 2024 World of Spectrum