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.100s
<1234567…34>
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... />
    depack: ld ixl,128
    apbranch1: ldi ... ld ixh,1
    jp aploop

    ap_getbit: ld a,ixl
    and a ...
    rl a
    ld ixl,a
    ret nz
    ld a ... /> rla
    ap_endit: ld ixl,a
    ret
    ...
    Metalbrain Metalbrain October 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... /> ld ixh,1
    jp aploop

    ap_getbit: ld a,ixl
    add a,a ...
    ld ixl,a
    ret nz
    ld a,(hl)
    inc hl
    rla
    ld ixl,a
    ret

    ap_getgamma ...
    Metalbrain Metalbrain November 2007 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... /> ap_getbit: ld a,ixl
    add a,a
    ld ixl,a
    ret nz
    ld a,(hl)
    inc hl
    rla
    ld ixl,a
    ret

    ... /> ap_getbit: ld a,ixl
    add a,a
    ld ixl,a
    ret nz<…
    Metalbrain Metalbrain December 2007 Development
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... instructions mentioned by gasman: LD IXl,A and LD IXh,n which are ... code. I just made a lucky guess that this particular ... when my game character loses a life" or "break ... complete (or at least a large part) of game ... that crashed JSW was LD (HL),A for HL=0, but ...
    PeterP PeterP August 2011 Emulators
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... 'd say I completely wasted a few days. Do you know ... undocumented instructions mentioned by gasman: LD IXl,A and LC IXh,n which ...
    kphair kphair August 2011 Emulators
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... 'd say I completely wasted a few days. Do you know ... undocumented instructions mentioned by gasman: LD IXl,A and LC IXh,n which ...
    PeterP PeterP August 2011 Emulators
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... /> ;de = dest

    depack: ld ixl,128
    apbranch1: ldi
    ap_getbit: ld a,ixl
    ap_getbit2: add a,a
    jr nz,ap_endbit
    ld a,(hl ... hl
    rla
    ap_endbit: ld ixl,a
    ret

    ap_getgamma ...
    Metalbrain Metalbrain November 2012 Development
  • Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.

    ... /> LP2 LD A,(IX+00)
    CALL FLIP
    LD L,A
    LD A,(IX ... +08)
    CALL FLIP
    LD H,A
    LD A ... /> DJNZ LP2
    LD A,20
    ADD A,IXL
    LD IXL,A
    SUB 08 ...
    jamorski jamorski August 2013 Development
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this: (ix holds the position to a sinus table) ld (symbol), a LD a, (ix+symbol) What I want to do…

    ... into table, HL=$xxaa
    LD A,(HL) ; Fetch byte from table ... to index into table
    LD A,(HL) ; Fetch byte from table ... $xx00
    LD IXL,A ; Index into table, IX=$xxaa
    LD A,(IX+0 ... registers, you can generate [b]LD IXL,A[/b] with [code]DEFB $DD ...
    Jonathan Harston Jonathan Harston January 2015 Development
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this: (ix holds the position to a sinus table) ld (symbol), a LD a, (ix+symbol) What I want to do…

    [QUOTE=jgharston;810733][code]
    LD IXL,A ; Index into table, IX=$xxaa[/ ... release this here). it's a sinus bouncer.
    Arda Arda January 2015 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... -31
    add a,(hl) ; 7t
    ld ixl,a ; 8t
    ld a,32 ; 7t ...
    sub (hl) ; 7t
    ld ixh,a ... :
    ld a,(hl) ; 7t
    ld (de),a ; 7t
    _ulzfa060:
    ld a,d ...
    TomD TomD April 2017 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... /> ld (_uclzf040+1),a
    add a,(hl)
    and 31
    ld ixl,a
    ld a ... ,32
    sub (hl)
    ld ixh,a
    inc ... ixl
    ret nz
    ld a,e
    add a,ixh
    ld e,a ...
    TomD TomD May 2017 Development
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ...
    rla
    rla
    ld ixl,a ;IXl holds initial x coord of ...
    xor a ;zeroize A (number of shifts)
    ld ixl,a ;and x coord ...
    jr no_split3

    no_split1
    ld a,ixl ...
    Ast_A_Moore Ast_A_Moore March 2018 Development
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ...
    rla
    rla
    ld ixl,a ;IXl holds initial x coord of ...
    xor a ;zeroize A (number of shifts)
    ld ixl,a ;and x coord ...
    jp no_split3

    no_split1
    ld a,ixl ...
    Ast_A_Moore Ast_A_Moore December 2018 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... /> ld b, a
    ld a, (num_electrodes)
    ld c, a
    ; store num_electrodes in ixl
    ld ixl, a ...
    call lower_bound_y
    ld a ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it? Cheers

    Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it?

    Cheers
    robpearmain robpearmain November 2009 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... A,A
    ADD A,A
    LD B,A
    ADD A,A
    ADD A,A
    ADD A ... /> ;tile just drawn

    LD IXL,5 ;loop count for no ... /> INC (HL)

    DEC IXL ;decrease loop counter
    JP ...
    dmsmith dmsmith September 2004 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... LD A,(HL)
    LD (DE),A
    INC HL
    INC E
    LD A ... ,TILERENDEREND
    LD A,E
    ADD A,32
    LD E,A
    JP ...
    Mr Millside Mr Millside February 2005 Development
  • If you've got a real working MF128,IF1, and MDR combo can I ask a favour?So, if you do have a real Multiface 128, Interface 1, Microdrive and, oh yeah, a Spectrum (48k or 128k) that are all working, can I ask a favour...? …

    ... /> exx
    ;
    ld hl,(err_sp) ; fetch current error ... br /> ld a,$ff ; force clean error report
    ld (err_nr),a ; and ... br /> detectrom
    ld (err_sp),sp
    ld bc,0 ; clear bc ... ret
    ;
    gethook ld bc,($00ec) ; return the address ...
    jp jp February 2008 Hardware
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ...
    ADD A,23
    ADD A,A
    LD L,A
    LD A,16 ...
    Dr BEEP Dr BEEP December 2008 Development
  • Building a menu in ASMWEll as probably some figured, i am learning asm at least to make the basic menu i did in basic. It is a menu where we can select games to be loaded.…

    ... 80's i programmed a lot in basic and ... ;repeat x times
    ld a,0 ;number of msg in ... the table
    ld de,strTable ;start of the ... table
    loop_menu_items
    ld c,a
    push bc
    ... bc
    ld a,c
    inc a
    inc a
    djnz ...
    arfgh arfgh June 2010 Sinclair Basic
  • A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…

    ... z, __DRAW_SETUP1
    ld a, 2Fh ; CPL
    ld (__PLOTINVERSE), a
    ld a, 0A6h ; and ... '
    ld a, 8
    add a, h
    ld h, a
    ld a, l
    boriel boriel December 2010 Development
  • Moving a line down the display in assembler?...It's not a "[I]how can I do it[/I]" question, it's more a "am I missing something in trying to do it a new way" kinda question. What I've been doing…

    ... />
    [CODE]
    ld a,(xpos)
    ld l,a
    ld a,(ypos)
    and ... )

    loop1: ld a,d
    ld l,a
    ld a,e
    and ...
    Sokurah Sokurah June 2012 Development
  • Hep needed with a bit of code...I've written a bit of code to make a character move across the screen, but the counter stops at 29 when the 3 lines to delete the characters trail ar…

    ... /> ret
    space: ld a, 2
    call 5633 ... ld a,(63289)
    ld (63298 ),a
    call space
    ret
    rpg: ld a ... ,161
    ld ... (63289),a
    ret[/FONT ...
    daveysludge daveysludge August 2012 Development
  • Using R as a loop counterThis is just something silly I've found a while back. xD [b][How-to][/b] Setup your routine like this:[code] ld a,X ;see below ld r,a loop ;your …

    ... this:[code] ld a,X ;see below
    ld r,a
    ... ;your routine here
    ld a,r
    jr nz,loop ... b=LoopN, c=Rinc
    ld a,#FE
    .l1
    ld a,r
    jr nz,.l2
    ld a,b< ... br /> out (#FE),a
    ei ...
    Hikaru Hikaru October 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... nz, exo_get4bits
    ld de, 1
    ld ixl, c
    exo_get4bits:
    ld de, 1
    ld ixl, c
    exo_get4bits:
    add a, a
    antoniovillena antoniovillena November 2012 Development
  • Adding a pause key to ArkanoidHaving rediscovered the simple pleasure of playing 1980s games on genuine 1980s hardware, I've also remembered that emulation can provide a feature m…

    ... /> ret nc
    ld a,0x16
    dec a
    jr nz,$-1 ... /> ret z
    ld a,0x7f
    in a,(0xfe)
    rra
    ld a,c
    cpl
    ld c,a
    and ...
    stephenw32768 stephenw32768 August 2013 Games
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... up

    FLIPH2 LD A,(HL) fliph2 LD A,(HL) ; grab byte
    LD B,24 LD B,24
    FLATTR LD A,(HL) flattr LD A,(HL ...
    MatGubbins MatGubbins August 2013 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... /> 7F = LD A,A
    78 = LD A,B
    79 = LD A,C
    7A = LD A,D ...
    7B = LD A,E ...
    7C = LD A,H ...
    7D = LD A,L ...
    wibble wibble August 2013 Development
  • 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…

    ... a
    srl a
    srl a
    srl a
    call PrNotLeading0
    ld a ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
<1234567…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
ld 6.3K 67.3K
ixl 115 214
a 589.5K 1.7M

Related Threads

  • 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…
  • 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…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A TZX, a MIA and a previously unknown title from QLSThe Spanish website [url="http://trastero.speccy.org/"]El Trastero del Spectrum[/url] has a TZX of [url="http://www.worldofspectrum.org/infoseekid.cg…

Related Searches

  • ld ix
  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • ld bytes
  • ld a r
  • ld r a
  • ld a b xor c loop
  • ld a b or c loop
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • ld a 5b5c
  • ld a r counter
  • ld a r rnd
  • ld a r bug
  • ld a ix
  • ld bc 65533 a 254 out c
  • cpi ld a b or c
  • ld a 1 call 1601

Copyright © 2024 World of Spectrum