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.117s
<1234567…34>
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code] dec bc ld a, b or c jp nz, loop can be replaced (bc starts >255, short jump) by: dec bc inc b djnz loop [/code] …

    yesterday i saw nice trick:[code]

    dec bc
    ld a, b
    or c
    jp nz, loop

    can be replaced (bc starts >255, short jump) by:

    dec bc
    inc b
    djnz loop
    [/code]
    ..nice
    Fikee Fikee February 2005 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
  • The I register pointing to $40–$7f causes ULA snow and a crash. Or does it?I have heard it from numerous sources, including a few members of this forum, that 128K/+2 machines crash if the I register points to a range of $40–…

    ... 30000):

    [code]
    ld a,($5b5c)
    and $f8
    or ... /> ld ($5b5c),a
    out (c),a
    ei

    ld hl,$f700
    ld ... /> push af
    ld a,%01001000
    ld ($5800),a
    pop af
    Ast_A_Moore Ast_A_Moore February 2018 Development
  • Is it possible to access the +3 disk drive via m/c in USR0 mode?Is it possible to access the disk drive of the +3 via m/c +3DOS calls when running in USR0 mode? I ask because I'm having an awful lot of trouble ge…

    ... /> ld bc, $7ffd
    ld a,($5b5c)
    set 4,a
    and $f8
    ld ($5b5c),a ...
    out (c),a ... /> ld bc,$7ffd
    ld a,($5b5c)
    set 4,a
    and $f8
    ld ($5b5c),a ...
    cmonkey cmonkey October 2011 Development
  • +2 ramdisk - access in machine codeHow can you access the ramdisk in machine code? I've got a +2, and it seems the ramdisk has never been properly utilised. It would be a handy little…

    ... ld bc,$7ffd
    ld a,($5b5c)
    and $f8
    ld d,a

    ld a ... br /> inc a
    ld e,a
    add a,a
    add a,e

    ld a,($5b5c) ; restore original paging before call ...
    Alcoholics Anonymous Alcoholics Anonymous October 2006 Development
  • 'orange' on a spectrumalways wondered why spectrums could never seem to achieve the colour orange? wasn't one of the default colours, and don't remember seeing anything th…

    ... shadow screen into $c000
    ld a,($5b5c)
    and $f8
    ... state in 'd'
    ld a,($5b5c)
    ld d,a
    ; Invert bit 3 ... 3 of paging register
    ld a,e
    di
    ...
    ; restore paging register
    ld a,d
    di
    out ...
    Digital Prawn Digital Prawn August 2008 Sinclair Miscellaneous
  • 'orange' on a spectrumalways wondered why spectrums could never seem to achieve the colour orange? wasn't one of the default colours, and don't remember seeing anything th…

    ... attrfill0
    ld a,d
    and $7f
    ld (hl),a
    ... shadow screen into $c000
    ld a,($5b5c)
    and $f8
    ld a,d
    and $7f
    ld (hl),a
    ... state in 'd'
    ld a,($5b5c)
    ld d,a
    ; Invert bit ...
    Digital Prawn Digital Prawn August 2008 Sinclair Miscellaneous
  • Problem with Spin 0.7s +3 file I/OI'm currently trying the +3 disk functions in z88dk. I've based my work upon the simple snippet Winston posted a while ago, but doing the contrary. H…

    ... we do this, I believe $5B5C is the correct address to ... /> ld A, ($5B5C)
    and F8h
    or B
    ld BC, $7FFD
    ld ($5B5C), A ...
    out (C), A
    #endasm ...
    na_th_an na_th_an March 2010 Emulators
  • Problem with Spin 0.7s +3 file I/OI'm currently trying the +3 disk functions in z88dk. I've based my work upon the simple snippet Winston posted a while ago, but doing the contrary. H…

    ... do this, I believe $5B5C is the correct address to ... ld A, ($5B5C)
    and F8h
    or B
    ld BC, $7FFD
    ld ($5B5C), A ...
    out (C), A
    ... open files and something a bit more refined will ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Emulators
  • Time difference for jumps and calls?Just interested (and possibly trying to distract myself from the more pressing problems in my sprite routine) and willing to risk a potentially daft …

    ... referrence to Call 111... with a bit of disassembly, I get ... />
    LD A,A
    LD A,(#5B5C)
    XOR #10
    DI
    LD (#5B5C),A
    ...etc ... what I was expecting, perhaps a pointer to Jp(HL) or ... the same thing as a theoretical Call(HL) ???
    kgmcneil kgmcneil April 2011 Development
  • Is it possible to access the +3 disk drive via m/c in USR0 mode?Is it possible to access the disk drive of the +3 via m/c +3DOS calls when running in USR0 mode? I ask because I'm having an awful lot of trouble ge…

    ... /> ld bc,$7ffd
    ld a,($5b5c)
    res 4,a
    or 7
    ld ($5b5c),a ... /> ld bc,$7ffd
    ld a,($5b5c)
    set 4,a
    and $f8
    ld ($5b5c),a ...
    out (c),a ...
    cmonkey cmonkey October 2011 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…

    ... /> ld de, 49152
    ld bc, 16384
    ldir
    ld A, (#5B5C)
    ld BC ... , #7FFD
    out (C), A
    ei ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • RAM used / corrupted by +3DOSAs I said previously, [url=http://www.worldofspectrum.org/forums/showthread.php?t=41775]I'm trying to put some games in hard disk[/url] so they can b…

    ... />
    [CODE]ld a,($5b5c)
    ld bc,$7ffd
    push ... res 4,a
    or $07
    di
    ld ($5b5c),a
    out (c),a
    ei[/CODE ... be easier to do ld a,$07 (Select ROM0 ... ]Pasadisk[/url] was a program for transferring programs ...
    Zup Zup December 2012 Games
  • TRUE VIDEO, INV VIDEO!Am I the only one who thinks the two keys "TRUE VIDEO" and "INV VIDEO" on the 128/+2/+3 keyboards are pretty much useless, since embedding control co…

    ... /> ld a,($5b5c) ;BANKM
    and %11101111
    ld ($5b5c),a
    out (c),a
    ld hl ...
    Battle Bunny Battle Bunny January 2013 Sinclair Miscellaneous
  • Red DwarfA Red Dwarf video game - good or bad idea? (given its recent resurgence in popularity in the UK) My ideas: [b]Plots[/b] - An interquel which bridg…

    ... 25002

    ld a, (dest_page)
    ld b, a
    ld A, (#5B5C)
    and #F8 ...
    na_th_an na_th_an February 2013 New game ideas
  • Disabling the +3 disk buffer; yes, but how?I would like to disable the +3 disk buffer in order to retrieve those 4K from the machine's RAMdisk. By reading the computer manual and some posts on…

    ... address of paging mechanism
    LD A,($5B5C) ; System Variable BANKM which contains ...
    LD A,($5B5C) ; BANKM
    SET 4,A
    AND $F8
    LD ($5B5C),A
    The_Bert The_Bert February 2013 Sinclair Basic
  • Strider II (and others) + 3 disk versionsHello everyone, I've been working on converting some games to be able to load them from the +3 floppy. I started with single load games but now Im i…

    ... IY
    ld a,($5b5c) ;BANKM (23388)
    res 4,a
    ld h,7 ...
    PO_2: ld a,($5b5c) ;BANKM (23388)
    set 4,a
    ld h,4 ...
    Battle Bunny Battle Bunny July 2013 Games
  • The I register pointing to $40–$7f causes ULA snow and a crash. Or does it?I have heard it from numerous sources, including a few members of this forum, that 128K/+2 machines crash if the I register points to a range of $40–…

    ... /> ret


    bank ld a,($5b5c)
    and $f8
    sw ...
    ld bc,$7ffd
    ld ($5b5c),a
    out (c),a

    ld hl ...
    Ast_A_Moore Ast_A_Moore February 2018 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
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... ]scf
    ld a,255
    ld ix,16384
    ld de,6912
    call 1366
    ld a,255 ...
    ld ix ... ,24576
    ld de,22564
    zxbruno zxbruno August 2007 Sinclair Miscellaneous
  • 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
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... is really speedy.

    A new question on the way ... time is how to paint a squared zone of the screen ... plots and draws to create a squared zone and then we ... now for me..

    ld a,2 ;open channel 2...
    arfgh arfgh June 2010 Sinclair Basic
  • 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
  • Best way to organise a multi screen game?Hi All, Does anybody know ay good ways to organise large multi screen game? Or any links to useful texts on the matter? In my previous single scr…

    ... the simple case of keeping a 'level defb' in memory and ... change was needed I would ld a,(level), cp 1, jp z ... . This worked fine(ish) for a 10 level game but is ... no good for a flip screen one.

    R-Tape R-Tape April 2011 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
a 589.5K 1.7M
5b5c 41 91

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 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 ixl a
  • ld a 1 call 1601

Copyright © 2024 World of Spectrum