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…16171819202122…34>
  • Keyboard routinesI'll ask here first - since this must be a long-ago solved problem, and hopefully I can avoid re-inventing the wheel... I need a keyboard routine th…

    ... RESULT TEMP
    ld h,b
    LD A,E ; VALUE ... ADD A,A
    LD B,$07
    LPTR2 ... table
    LD L,A ;
    LD H,$02 ; ... higher byte of table ($0205 for now)
    LD ...
    Dr BEEP Dr BEEP January 2009 Development
  • Jetpac questionHi all, I just bought a copy of Jetpac off of Ebay and I'm having problems. To start, I'm trying to play it on an issue 2 Speccy with Interface 1, 2 …

    ... :
    ....
    ; Call function1
    LD IX,$+7
    JP function1 ... /> ret_to_ix:
    LD E, IXl
    LD H, IXh
    LD L, E
    BloodBaz BloodBaz January 2009 Games
  • Atic Atac speed.Dear all, Excuse the noob question, but does anyone know how fast Atic Atac runs at? What I mean is, frames per second, or the amount of pixels the…

    ... /> ld h,FXTable / 0x100
    ld a,(hl)
    inc l
    ld h,(hl ... )
    ld l,a
    ld (FXPointer),hl ; current ... /> ld h,FXRout / 0x100
    ld a,(hl)
    inc l
    ld h,(hl ...
    frobush frobush January 2009 Games
  • Help to run Abu Simbel in a +2A SpectrumI bought this game some weeks ago, but the version is the old one. When I loaded it in the emulator, I had to switch the keyboard issue to 48Kissue.…

    ...

    ld hl,keyscan_code
    ld de,keyscan_org
    ld bc,keyscan_size ... opcodes: IN A,(C); LD L,A; LD H,0
    ; preserve HL ...
    Bob Stains Bob Stains January 2009 Games
  • Speech reproduction on the Speccy - 2009 style?Thanks to Chapter 33 of [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2000388"]Super Charge Your Spectrum[/url] by David Webb - "Speech Repr…

    ... /> LD A,H
    SUB 'TABMID
    LD HX,A ;olddelta
    LD C ... ,A ;delta
    LD (HL),A
    INC H
    DJNZ MKTB_4 ...
    Shiru Shiru January 2009 Development
  • Thinking in Assembly (first efforts)The following is one small routine to educate myself on a few concepts (jumps, flow control, routines, CPI): [code]searchmem xor a …

    Also at the beginning instead of LD HL,0
    use LD H,A & LD L,A as you already know A to be 0.
    rich_chandler rich_chandler January 2009 Development
  • Thinking in Assembly (first efforts)The following is one small routine to educate myself on a few concepts (jumps, flow control, routines, CPI): [code]searchmem xor a …

    [quote=karingal;329300]Also at the beginning instead of LD HL,0
    use LD H,A & LD L,A as you already know A to be 0.[/quote]

    Ah, good one. Thank you. :)
    rahtgaz rahtgaz January 2009 Development
  • Thinking in Assembly (first efforts)The following is one small routine to educate myself on a few concepts (jumps, flow control, routines, CPI): [code]searchmem xor a …

    ... at address 0
    ld b, h
    ld c, l ; search the ...
    ld h,a
    ld l,a
    ld b, h
    ld c, l ...
    Dr BEEP Dr BEEP January 2009 Development
  • Assembler snippetsI was just thinking that a thread for small but useful assembler snippets to do useful things would be cool for people learning z80 coding. Not to me…

    ... a
    sbc a
    ld h,a
    endp
    [/code ...
    Chris Pile Chris Pile January 2009 Development
  • Assembler snippetsI was just thinking that a thread for small but useful assembler snippets to do useful things would be cool for people learning z80 coding. Not to me…

    ... /> StepDn proc
    inc h
    ld a,h
    and 7
    ld a,h
    sub 8
    ld h,a
    ret ... /> StepUp proc
    dec h
    ld a,h
    and 7
    ld a,h
    add a,8
    ld h,a
    BloodBaz BloodBaz January 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    LD HL,5800h
    LD SP,HL
    LD H,L

    PUSH HL
    PUSH HL
    PUSH HL
    PUSH HL
    ...

    That's about 3.5 kB of code and 38036 T (11 * 3456 + 10 + 6 + 4) :D The weird setup code is just 1 byte size optim.
    baze baze February 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... /> [CODE] LD HL,5800h
    LD SP,HL
    LD H,L
    LD B ... it any larger
    [CODE] ld hl,5800h
    xor a ...
    Loop dec hl
    ld (hl),a
    bit 6 ...
    evilpaul evilpaul February 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... printer buffer):

    [code] ld h,#5b
    dec hl
    ld (hl),0
    or (hl)< ...
    Shiru Shiru February 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... printer buffer):

    [code] ld h,#5b
    dec hl
    ld (hl),0
    or (hl)< ...
    baze baze February 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... bytes - because in this case LD (HL),0 could be replaced ... />
    [code] xor a
    ld h,#5b
    dec hl
    ld (hl),a
    or (hl)< ...
    Shiru Shiru February 2009 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    [QUOTE=Shiru;333751]
    [code] xor a
    ld h,#5b
    dec hl
    ld (hl),a
    or (hl)
    jr z,$-3[/code][/QUOTE]

    This one (with or without the L-trick) is perfect :)
    baze baze February 2009 Development
  • Msb/lsbHi, i have something like this: addr equ aa55h ld a,addr ; -> ld a,55h but i want ld a,aah ld a,>addr - do not work

    It would be of help if you told us what assembler you use, but in any case simple "ld a,ADDR/256" should work in most, if not all assemblers.
    baze baze February 2009 Development
  • Msb/lsbHi, i have something like this: addr equ aa55h ld a,addr ; -> ld a,55h but i want ld a,aah ld a,>addr - do not work

    MSB: ld a, addr shr 8
    LSB: ld a, addr & 255
    ld a,ADDR/256

    do not work :( ZX assembler ++ from EmuZWin)
    xxl xxl February 2009 Development
  • Msb/lsbHi, i have something like this: addr equ aa55h ld a,addr ; -> ld a,55h but i want ld a,aah ld a,>addr - do not work

    For MSB (top 8 bits): LD A, ADDR/256

    For LSB (bottom 8 bits) : LD A, ADDR & 255
    bladerunner bladerunner February 2009 Development
  • Msb/lsbHi, i have something like this: addr equ aa55h ld a,addr ; -> ld a,55h but i want ld a,aah ld a,>addr - do not work

    ... />
    MSB : LD A,addr/256
    LSB : LD A,addr*256/256

    256
    the LSB might work ...
    Dr BEEP Dr BEEP February 2009 Development
  • 1K Minigame : 3D RacerLast year I started to code a 3D Racer in 1K. The print of the road was however quite flickery so I put it away to pick it up this week again. I deve…

    ... exact.

    [code]
    ld a,b
    [B] CP ... /0 ; alternative switch
    SHOWALL ld h,#f0
    call nz,#22aa ...
    Dr BEEP Dr BEEP March 2009 Games
  • Making Horace play fair!Hi again Has anyone created a new or twiddled version of Hungry Horace that has a more fair screen 3 and 4? Or a version of the spiders where the f…

    ... ; Level number
    LD L,A
    LD H,0
    ADD HL ...
    ADD HL, HL
    LD DE, 6FD7h
    ADD HL ... 6A9Eh
    LD D, A
    LD E, 0
    LD HL, 8000h ...
    John Elliott John Elliott April 2009 Games
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ...
    ld a,h
    sub 8
    ld h,a
    Next_Char_Line: ld a ... ,npl_ok
    ld a,h
    add a,8
    ld h,a
    robpearmain robpearmain May 2009 Development
  • Fastest Block Drawing Code?Following on from my scrolling thread [URL="http://www.worldofspectrum.org/forums/showthread.php?p=351304#post351304"](http://www.worldofspectrum.org…

    ...
    ld a,h
    sub 8
    ld h,a
    Next_Char_Line: ld a ... ,npl_ok
    ld a,h
    add a,8
    ld h,a
    Alcoholics Anonymous Alcoholics Anonymous May 2009 Development
  • faster bitwise operators?well, sinclair basic lacks bitwise operators and I searched "basic forum" with keyword "bitwise" and only 3 thread came up. So the forum also lacks b…

    ... Start of Code
    LD BC, Port ; Read Keys< ... IN A, (C) ;
    LD HL, SaveLoc ; HL=Memory location ... dump key state
    LD BC, 5*256 ; C = 0; B ... br />
    loop1:
    LD (HL), C ; Memory Location = ...
    BloodBaz BloodBaz May 2009 Sinclair Basic
  • Interface One - New FunctionalityAs you may (or may not) be aware the Interface One is a pretty powerful piece of kit. One of it's greatest features is being able to easily extended …

    OK, I've coded this to add a @DEEK function to Spectrum with IF1.
    The caveat is that it only works within a LET statement, in this form:

    LET n=@DEEK v

    Where 'n' is any numeric variable, and 'v' any numeric expression BC (or ...
    RST#08 RST#08 July 2009 Development
  • Has any programmers recently pushed the spectrum to the limits?Hi there. Ive just discovered this great forum and I was brought up with the speccy 16,48 and then 128k. Im just wanting to know if there are any re…

    ...
    LD (STRTLN),A
    LD L,A
    LD H,A
    LD A ... ,24
    LD (DEPTH ... ),A
    LD (HIATT ...
    LD I,A
    LD BC,0100H
    LD H,A
    LD L ...
    AMW AMW August 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

    ... /> ld h,FXTable / 0x100
    ld a,(hl)
    inc l
    ld h,(hl ... /> ld h,FXRout / 0x100
    ld a,(hl)
    inc l
    ld h,(hl ... )
    ld l,a
    ld (FXCode),hl ; change ...
    frobush frobush November 2009 Development
<1…16171819202122…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