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.014s
<1234567…34>
  • rotating HL left through CarryI've tried this several ways, and it works for a while, then a particular value has a bit set in an inconvenient place and it all goes to pot. Eg: "…

    ... 256 bytes table for reverse nibbles
    [CODE]
    ld b, h ;4
    ld h, table ... ;7
    ld a, (hl) ;7
    ld l ...
    antoniovillena antoniovillena March 2012 Development
  • assembly optimization: times tenDecimal numbers are not computer friendly :) Anyway, short of saying "sod it - I'll multiply by 8" - and another part of the program does indeed div…

    ... could consider a look up table (29 t-states) - but ...
    [code]
    LD H, lookup / 256 ; 7
    LD A,(HL) ; 7
    INC L ; 4
    LD H ... ,(HL) ; 7
    LD L,A ; 4< ... (put this on a 256 border)
    [/code]
    Stefan Drissen Stefan Drissen August 2012 Development
  • assembly optimization: times tenDecimal numbers are not computer friendly :) Anyway, short of saying "sod it - I'll multiply by 8" - and another part of the program does indeed div…

    ... could consider a look up table (29 t-states) - but wasting ... ]
    LD H, lookupMSB / 256 ; 7
    LD D, lookupLSB / 256 ; 7
    LD L,A ... answers (if previous table is in
    a 256 border, this will ...
    mcleod_ideafix mcleod_ideafix August 2012 Development
  • assembly optimization: times tenDecimal numbers are not computer friendly :) Anyway, short of saying "sod it - I'll multiply by 8" - and another part of the program does indeed div…

    ... ;643645][code]LD H, lookupMSB / 256 ; 7
    LD D, lookupLSB / 256 ; 7
    LD L ... 256 border)
    lookupLSB: precalculate LSB of all answers (if previous table ... is in
    a 256 border, this will ...
    Marko Marko August 2012 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ldir ; copy initial channel table
    ex de, hl ... ldir ; copy initial streams table
    ld (iy + _df_sz), 2 ...
    ld de, rpt_mesgs - 1 ; address table
    ... 2
    ld h, kstate/256 ; stream address
    ld l, a ; ...
    chev chev October 2013 Development
  • Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.

    ... (not counting the "ld hl, table" because you don ...
    [CODE]
    ld h, table
    ... ;a=ABCDEFGH carry ... ;a=0ABCDEFG carry=H
    ld l, a ;l ... bytes table instead 256 bytes one
    antoniovillena antoniovillena January 2014 Development
  • Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.

    ... cycles (not counting the "ld hl, table" because you don't need ... iteration)

    [CODE]
    ld h, table
    ... ;a=ABCDEFGH carry=0 ... is use a 128 bytes table instead 256 bytes one[/QUOTE]
    Dr BEEP Dr BEEP January 2014 Development
  • Help with 1-bit sampled soundHi all, I've been sent over this way from the CPC Wiki forums as you guys may be able to help me more specifically with a programming query. Firstly…

    ... />
    get_sample:
    ...
    ld h,codeblock/256
    ld l,volume*3 ; volume ... )

    ...
    codeblock: ; jump table
    jp volume_0
    jp ... and travelling through the jp table to the next volume subroutine ...
    Alcoholics Anonymous Alcoholics Anonymous March 2014 Development
  • Multiplying. Again.Is there a faster way of hl=a*32 than doing add hl,hl 6 times?<div><br></div><div>I get the feeling that working with 8 bit registers for most of it …

    ... look-up table

        ld l,a
        ld h,MultTable/256
        ld a ... ,(hl)
        inc h
        ld h,(hl)
        ld l ...
    Hikaru Hikaru June 2015 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... from the table
    ld c, (hl)
    inc hl
    ld h, (hl ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... table NEEDS to be aligned as well because I use
    LD H ... , tbl_scraddr/256
    and then ... offset for L (adjusting H if L overflows), ... ]ORG $ + (($&255)+255)%256[/s]

    might ... br />
    #FF00 is -256 as a 16 bit word ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... if > 255
    ld h, tbl_scraddr/256 ; this requires tbl_scraddr be aligned ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... up screen address from the table
    ld a, (hl)
    inc ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... if > 255
    ld h, tbl_scraddr/256 ; this requires tbl_scraddr be aligned ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... up screen address from the table
    ld a, (hl)
    inc ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... can load the table address as LD H, tbl_addr/256. If the table is also
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... *y-coord
    ld h, tbl_scraddr/256 ; this requires tbl_scraddr ... 256 byte boundary
    adc h ; A = H + carry flag
    ld h ... , a ; write it back
    ; push table ... screen address from the table
    ld a, (hl)< ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... if > 255
    ld h, tbl_scraddr/256 ; this requires tbl_scraddr be aligned ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... ; write it back
    ld l, b
    ; push table address ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... now uses a shorter lookup table (one screen address per ... up screen address from the table
    ld a, (hl)
    ... the second row
    ld h, tbl_rows/256 ; this requires tbl_scraddr be ... br /> inc l ; using shorter table (just the row screen addresses ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... causes that DJNZ will repeat 256 times
    .loop1
    setattrib2x2
    ld h, 0
    ld l, b
    ; ... attrib
    setattrib2x1
    ld h, 0
    ld l, b
    ; ... ALIGN 64
    ; modify this table to be based at #4000 ...
    Kotek Kotek July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... up screen address from the table
    ld a, (hl)
    inc ... used a 24x2 byte lookup table to get the starting address ... routine yet. The 192 entry table for the screen address lookup ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... up screen address from the table
    ld a, (hl)
    inc ... used a 24x2 byte lookup table to get the starting address ... routine yet. The 192 entry table for the screen address lookup ...
    Kotek Kotek July 2022 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…

    ... coord
    ld h, tbl_scraddr/256 ; this requires ... 256 byte boundary
    adc h ; A = H + carry flag
    ld h ... , a ; write it back
    ; push table ... 256 byte boundary
    adc h ; A = H + carry flag
    ld h ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    ld h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... from the table
    ld a, (hl)
    inc hl
    ld h, (hl ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ...
    Paradigm Shifter Paradigm Shifter July 2022 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…

    ... coord
    ld h, tbl_scraddr/256 ; this requires ... 256 byte boundary
    adc h ; A = H + carry flag
    ld h ... , a ; write it back
    ; push table ... 256 byte boundary
    adc h ; A = H + carry flag
    ld h ...
    Paradigm Shifter Paradigm Shifter July 2022 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…

    ... a 256 byte boundary
    adc h ; A = H + carry flag
    ld h, a ... up screen address from the table
    ld a, (hl)
    ... up screen address from the table
    ld a, (hl)
    ... up screen address from the table
    ld a, (hl)
    ...
    Paradigm Shifter Paradigm Shifter July 2022 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 h, tbl_scraddr/256
    adc h ; A = H + carry flag
    ld h, a ; write ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ... h ; A = H + carry flag
    ld h, a ; write it back
    ; push table ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • 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

HitBox

Word Docs Hits
ld 6.3K 67.3K
h 7.2K 17.9K
table 5.8K 9.1K
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…
  • INVASION OF THE BODY SNATCHAS - Obscure High score table messages...After posting a message about this game on the 'first three games you bought' section, I got thinking more about this game.<br /> <br /> When you typ…
  • 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…
  • Two Manic Miners in the top 100 games table?A while ago I was checking the top 100 games (according to WoS visitors' votes), but I couldn't help notice that there are [I]two[/I] distinct "Manic…
  • 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…

Related Searches

  • table pixadd
  • ld ix
  • ay frequency table
  • h n links
  • ld bytes
  • best place for interrupt table
  • interrupt table
  • ld hl de
  • harlequin rev h
  • 256 bytes
  • spectrum h
  • 256 byte align table ramtop error
  • 256 byte align table for sprite mask
  • 256 byte align sprite masklook up table
  • 256 byte aligned look up table
  • how to code a 256 byte aligned look up table
  • how to align a 256 byte look up table
  • align a 256 byte look up table
  • 256 byte look up table
  • ld h tablita 256

Copyright © 2024 World of Spectrum