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.012s
<1…17181920212223…34>
  • Creating a Spectrum game that won't load...Dear All, I have recently been using my ZX Spectrum as a reference for the production of a new body of art work and something I keep coming back to …

    ... br /> LD L,(IX+0)
    SALOPP LD A,H
    ... XOR L
    SASTART LD H,A
    LD ...

    SAPAR LD L,H
    JR SALOPP
    ...
    SABI2 LD A,C< ... DJNZ SADEL

    LD A,(23624) ;border colour
    roko roko November 2009 Sinclair Miscellaneous
  • 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

    ...
    LD A,D
    LD H,E
    LD L,253< ... SBC HL,DE
    LD D,0
    SBC ... INC HL
    rand16GotRand:
    LD (rand16Seed + 1), HL
    ...
    csmith csmith November 2009 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

    ... number generator:
    [code]
    ld hl,(23672) ; use timer as ... ; keep in ROM
    ld h,a
    ld a,(hl) ; random ROM ... address
    xor l
    xor h ... ; some more randomness
    ld (23672),hl ; store ...
    Dr BEEP Dr BEEP November 2009 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... br /> exx
    ;
    ld hl,(err_sp) ; fetch current error ... djnz tabinc
    ld de,jumptab
    ld bc,rom2tab-rom1tab ; how ...
    ;
    ld a,"M"
    ld (l_str1),a ; signify microdrive ...
    ld h,(ix+$56)
    ld (hd_0d),hl
    ld e,(ix ...
    jp jp December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... for example

    LD HL,64*256+128

    when ...
    Ralf Ralf December 2009 Development
  • Character scrollingOk, first I'd like to say that I'm not looking for a complete routine (but that might help) because I am hoping to write it myself and learn a bit mo…

    ... nc
    ld a,h
    add a,$08
    ld h,a

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ScrollUp:
    ld hl, SCRLinesUp
    jr Scroll ... de
    inc h
    inc d
    ld bc, 32
    0sAND1s 0sAND1s February 2010 Development
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... /> ld hl, copybuff
    ld a, (copyptr)
    ld b, a
    ld c, h ... /> ld e, a
    inc l
    ld a, (hl)
    ld h, a ...
    ld l, e
    xor #18
    ld b, h
    .beepdelay
    djnz ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... ]
    WorkSPLoop:
    ld a,(hl) ; type index ( ...
    ld l,a
    ld h,SPTypes / 0x100 ...
    call JumpHL

    pop de
    ld ... l
    ld h,(hl)
    ld l,a
    frobush frobush February 2010 Games
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... /> inc hl
    ld h,(hl)
    ld l,a ; hl = ... dec hl
    ld l,(hl)
    ld h,a ; hl = ... /> inc hl
    ld h,(hl)
    ld l,a ; hl = ... foundchild
    ld a,(de)
    cp h
    .foundchild ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... /> inc hl
    ld h, (hl)
    ld (call_from_table2 + 1), hl ... call_from_table1
    ld a, (hl)
    inc hl
    ld h, (hl)< ... br />

    ld l,a
    ld h, (hl)
    ld l,a
    jp ...
    frobush frobush March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... )
    inc hl
    ld h, (hl)
    ld l,a
    jp ... )
    inc hl
    ld h, (hl)
    ld l,a
    call ...
    Dr BEEP Dr BEEP March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... )
    inc hl
    ld h, (hl)
    ld l,a
    call ... )
    inc hl
    ld h, (hl)
    ld l,a
    push ...
    frobush frobush March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... )
    inc hl
    ld h, (hl)
    ld l,a
    push ...
    Dr BEEP Dr BEEP March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... [code]
    WorkSPLoop:
    ld a,(hl) ; type index (or ... push hl

    ld de,T_SPData ; temp sprite data ... 0xff
    ld l,a
    ld h,SPTypes / 0x100< ... inc l
    ld h,(hl)
    ld l,a
    ...
    frobush frobush March 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... possible message parameter
    ld hl,device_msgfunctbl // table of ... /> inc hl
    ld h,(hl)
    ld l,a ; hl = ... /> [code]
    ld hl,graphic_address
    ld ix,graphic_address_char_to_left_of_this_one
    call ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Need help with small asm piece of codeI could use some help. I have a number in A register. It can be 1,2,4 or 8 (always only one bit is set) I need to make number transformation: 1 ->…

    ... /> sub a,l
    ld h,a
    ld a,(hl)

    Chris Pile Chris Pile March 2010 Development
  • Need help with small asm piece of codeI could use some help. I have a number in A register. It can be 1,2,4 or 8 (always only one bit is set) I need to make number transformation: 1 ->…

    Simplest thing that comes in mind first:

    [code]ld bc,4*256
    rra
    rl c
    djnz $-3
    ld a,c[/code]

    9 bytes.
    Shiru Shiru March 2010 Development
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ... cycles:

    ld e,l
    ld d,h

    In ... ex (sp),hl
    12 ld h,e
    13
    14 ...
    27 rlca
    28 ld h,a
    29
    30 ... /> 36 or $58
    37 ld h,a
    38
    39 ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Which assembler do you recommend to a (complete) newbie?OK, I am re-dusting my assembler books and want to re-dig into the Wonderful World of Assembly. Just wondering which assembler to go with. I reme…

    ... such as "LD HL,DE" (which actually assembles as LD H,D followed ... by LD L,E). I ...
    ccowley ccowley June 2010 Sinclair Miscellaneous
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... ):

    [code] ld bc,#0205
    call getScrAddr ... ld a,b
    and #18
    or #40
    ld h, ... a
    ld b,#00
    add ... ex de,hl
    ld h,0
    ld l,a
    add ... br /> ld (hl),a
    inc e
    inc h
    ...
    Shiru Shiru June 2010 Sinclair Basic
  • Rom Routines list ?Exist some document that show detailled the routines on the spectrum ROM ? Ad for the Spectrum +3 ? are they the same or exist more ? Example i was …

    ... . You can do either:
    LD BC, 23920; //The assembler should ... low bytes
    or
    LD B, 112; //Specify the high ... /low bytes yourself.
    LD C, 93;[/QUOTE]
    Most ... can do:
    [code]LD BC,112*256+93 ; (112,93)[/code ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • 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. …

    ... [code] ld h,10 ;y
    ld l,10 ;x
    ld b,5 ... br /> ld e,l ;x
    ld l,h
    ld h,0
    or #40
    ld h,a
    ld b,#00
    add ... br /> downHL
    inc h
    ld a,h
    and #07
    add a,h
    ld h,a
    ret[/code]< ...
    Shiru Shiru June 2010 Sinclair Basic
  • Resolving USR entry point into a data + m/code block?Well, I had another look at that Merlin listing and decided that blowing up the faint page made it possible to read everything (with a struggle). How…

    ... br /> 7530 7c LD A,H
    7531 32ff5b LD (5bff),A ; ... ;save UDG ""
    753b 32fd5b LD (5bfd),A
    753e 3a7c5c ... /> 756a 67 LD H,A
    756b 3afe5b LD A,(5bfe)
    7572 327b5c LD (5c7b),A
    7575 3afc5b ...
    Battle Bunny Battle Bunny June 2010 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. …

    ... /> [code]ld h,0 ;y
    ld l,4 ;x
    ld b,21 ... ;height
    ld c,25 ;width ...
    ld a,56+0 ...
    arfgh arfgh June 2010 Sinclair Basic
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... . The disassembly:
    [code] 97 ld h, c
    143 adc a ...
    ajmoss ajmoss June 2010 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. …

    ... [code] ld h,10 ;y
    ld l,10 ;x
    ld b,5 ... br /> ld e,l ;x
    ld l,h
    ld h,0
    or #40
    ld h,a
    ld b,#00
    add ... br /> downHL
    inc h
    ld a,h
    and #07
    add a,h
    ld h,a
    ret[/code]< ...
    Shiru Shiru June 2010 Sinclair Basic
  • KING OF PONG: Pong revisitedHello everybody. I'm proud to announce you that my last personal project for the ZX Spectrum, "KING OF PONG" is available to download here at WOS si…

    ... code]
    eff0: ld h, $00
    eff2: ld a, l
    ... br /> [code]
    b8d3: ld hl, $0000
    b8d6: push ... hl
    b8d7: ld hl, $0000
    b8da: ... push hl
    b8db: ld de, $c020
    b8de: ... />
    org $5b00
    ld ($fc93),hl
    push hl ...
    Bandit Bandit June 2010 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. …

    ... br />
    ld a,0
    ld (cursor),a ;cursor at ... br />
    ld hl,menuItems
    ld d,5 ;y ... later
    printItems
    ld a,22 ;AT
    ... /> push de
    ld h,0
    ld l,d
    add ... />
    ld a,(itemsAll)
    ld b,a
    ld c,0 ...
    Shiru Shiru June 2010 Sinclair Basic
  • Merlin has risen from the grave!Those of you following the Merlin saga [thread=29902]over here[/thread] might be slightly interested to know that the program is now available in the…

    ... ]
    6bdc: 3a 37 64 ld a, ($6437)
    6bdf: b7 ... z, $383a
    6be3: 64 ld h, h
    6be4: b7 or a ...
    Bandit Bandit June 2010 Games
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... ,b
    push bc
    ld a,"A"
    call print_char ... /> ;
    print_char: ld de,(23606)
    ld h,0
    ld l,a
    ld a,8
    ;set counter ... , Screen Address, Screen Address
    ld a,c
    and 7 ...
    Turkwel Turkwel June 2010 Development
<1…17181920212223…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
ld 6.3K 67.3K
h 7.2K 17.9K
tablita 0 0
256 4K 7.7K

Related Threads

  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • COOL LOOKSEE YOUTUBE VIDEO HERE!!! (o.s.I.h.h)100 vintage Amiga/Atari/PC games played in 10 minutes, for looksee click [COLOR=RoyalBlue][U]here[/U][/COLOR] ... no, sorry I mean [URL="http://www.y…
  • H.U.R.G. gamesNot a question on aksing how to use it, but does any1 know if a game was ever released commercially from it?<br /> <br /> The only game I can remembe…
  • D&H Games and Cult Software gamesJust discovered this forum recently, hello all.<br /> <br /> I was just wondering if there is anybody who enjoys/enjoyed the mainly sports management…
  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • H.E.X. music question"Go to Hell 2: Soft &amp; Cuddly" by Triple Six has a (pretty good, in my opinion) tune by a band identified in the MP3 tag as "H.E.X.". My questions…
  • New project for 256 colours Games emulator!O.K. , I suggested Jonathan Needle ( Creator of the excellent Spectaculator at [url="http://www.Spectaculator.com"]www.Spectaculator.com[/url] ) to c…
  • EmuZWin supports 256 color gamesI am sorry starting new topic, but you see this info is important a bit:<br /> <br /> new version 2.4 of the EmuZWin is available to download, and it…
  • Dan Dare 256 colour project many may not be aware of.I still need/want to try Vladimir's emulator. But I think many people here aren't aware of another 256 colour project, which was mentioned on C.S.S. …
  • 256 colour gamesFollowing on from the thread in the Emulator section...<br /> <br /> Will people who are working on converting games to 256 colour using Emuzwin plea…

Related Searches

  • ld ix
  • h n links
  • ld bytes
  • ld hl de
  • harlequin rev h
  • 256 bytes
  • spectrum h
  • harlequin h
  • 256 colours
  • ld bc eostr string
  • ld am
  • ld a r
  • h
  • ld r a
  • nick h
  • h e r o
  • nick h at it again
  • bazza h
  • ld a b xor c loop
  • ld h table 256

Copyright © 2024 World of Spectrum