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.010s
<1…26272829303132…34>
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    ...
    [CODE]
    1 ld sp,hl ; 6
    pop ... br /> pop bc ; 10
    ld sp,hl ; 6
    push ... /> pop bc ; 10
    ld sp,hl ; 6
    push ... transfered 256*15 bytes. For the lastest 160 bytes you can't ...
    antoniovillena antoniovillena January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... :
    [code]ld b,128
    ld c,96
    ld a,b ... /> or
    [code]ld a,128
    ld c,96
    call ... instruction early to perform a LD B,A. Which version you ... is safer and saves 2 bytes from my code.
    Arda Arda January 2012 Development
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... different ways rangeing from 12 bytes to approx 5K...

    [FONT=Consolas][FONT=Consolas]LD HL,$4000[/FONT]
    [FONT ... =Consolas]LD BC,$1800[/FONT]
    [FONT ... =Consolas]LD (HL),L[/FONT][/FONT]
    rich_chandler rich_chandler January 2012 Sinclair Basic
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... screens x 300 bytes per screen = 7200 bytes, + 2160 bytes for tile ... of repetitions
    ld ixh,b
    ld ixl,c ;Temporary ... djnz RLEPut1byte
    ld b,ixh
    ld c,ixl ;Update BC ...
    mcleod_ideafix mcleod_ideafix January 2012 New game ideas
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... screens x 300 bytes per screen = 7200 bytes, + 2160 bytes for tile ... of repetitions
    ld ixh,b
    ld ixl,c ;Temporary ... djnz RLEPut1byte
    ld b,ixh
    ld c,ixl ;Update BC ...
    DaRkHoRaCe DaRkHoRaCe January 2012 New game ideas
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... stack pointer forward to the LD SP,0000 statement. So if ... is re-written to read LD SP,30000 for when you ... of having to reserve two bytes somewhere to store the stack ... the $31 command code for LD SP,...).
    joefish joefish January 2012 Sinclair Basic
  • Using the ROMs PRINT routineI really am starting from scratch again it seems, but how do you utilize the ROM routine to print characters, I think you point te BC register to an …

    ...
    At around 60 bytes plus the string I find ... /> [CODE]org 33000
    ld ix,string ;point ix at ... ret
    ;
    pstring ld a,(ix+0) ;get ascii ... certain letters merging
    ld (de),a ;put on ... ret
    ;
    get_char ld h,0 ;arrive with a ...
    R-Tape R-Tape January 2012 Development
  • Willy Meets The BeatlesHere's the almost complete release of Willy Meets The Beatles, which you can download from [URL="http://www.sendspace.com/file/55ps31"]HERE![/URL] T…

    ... piece of code is 256 bytes in from the start of ... ,l7cc9
    xor a
    ld c,a
    [/code]
    John Elliott John Elliott January 2012 Brand new software
  • Souce Code for Midnight ResistanceI just saw this on ebay and was wondering if this was the real deal. Does anyone know ? [url]http://www.ebay.co.uk/itm/Sinclair-ZX-Spectrum-Midnight…

    ... ' key, and the LD A,$BF and comparing ... /> RET NZ
    LD A,$BF:IN A,(254 ... e2d1,$3e $e2d2 $7f for LD A,$7f

    bytes correctly. However, pressing JB ... changed that NOP into LD A,$7f correctly but ...
    richl richl February 2012 Games
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    [QUOTE=Timmy;594378]Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how easy it actually is. (Actually I've already published this one some time ago, but this ...
    AndyOaks AndyOaks March 2012 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 hl, 32768
    ld de, 49152
    ld bc, 16384 ... /> A slighly simplified code (32 bytes, I think):

    [code ... ), A
    ld hl, 32768
    ld de, 49152
    ld bc, 16384 ...
    mcleod_ideafix mcleod_ideafix March 2012 Games
  • 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: "…

    ... rla
    or l
    ld l,a
    [/CODE]
    bytes and 72 T-states.
    ld l,a
    [/CODE]

    Now it's 9 bytes ... /> [CODE]
    ld a,h
    ld b,4
    loop ... [/CODE]

    Now 8 bytes and 162 T-states.
    Einar Saukas Einar Saukas March 2012 Development
  • 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: "…

    ... /> rla
    or l
    ld l,a
    [/CODE]
    It's now just 11 bytes and 72 T-states.
    [CODE]
    ld a,h ; make copy of ...
    ub880d ub880d March 2012 Development
  • 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: "…

    ... the end ;] :
    [CODE]
    ld a,h ; make copy of ... notice this version takes 13 bytes and 80 T-states. The ...
    Einar Saukas Einar Saukas March 2012 Development
  • 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: "…

    ... mistaken:

    ld de,temp
    ex hl ... ,de
    ld (hl),d; (hl) = & ... amp;17
    ld a,e; a = &28 ... &72
    ld h,(hl)
    ld l,a
    < ... 70 T-states and 14 bytes (or 15 depending how ...
    Einar Saukas Einar Saukas March 2012 Development
  • 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: "…

    ... by using a 256 bytes table for reverse nibbles
    ld b, h ;4
    ld h, table ;7 ... /> and $0f ;7
    ld b, a ;4
    xor ... ;4
    ld h, a ;4
    ld a, b ; ...
    antoniovillena antoniovillena March 2012 Development
  • 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: "…

    ... a table with 256 bytes with a function that ...
    [CODE]
    ld h, table/256
    ld b, 0
    here inc l
    ld a, l
    rlca
    rlca
    rlca
    ld (hl), a
    djnz here ...
    antoniovillena antoniovillena March 2012 Development
  • 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: "…

    ... first nibble swap between bytes and second nibble ... xor h
    ld h,a
    and ... xor l
    ld l,a
    and ... rlca
    ld h,a
    ld a,l
    antoniovillena antoniovillena March 2012 Development
  • Strange behaviour in real hardware but not in emulatorsWell, at least not in any emulator I've tried. I've been reported by fellow forum member Macc that both our Maritrini Monster Slayer and Retroworks'…

    ... it cannot read the screen bytes.

    My hypothesis ...
    $9A7E
    ...
    $9A8C LD B,$01
    $9A8E CALL ... $9A91 CALL $C000
    $9A94 LD B,$00
    $9A96 CALL ... XOR A / LD I,A before the LD B,$01 and ... I to $FD after the LD B,$00 / CALL $8050 ...
    Jmk Jmk March 2012 Emulators
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... 5 seconds and a few bytes by changing the out of ... /> inc de ;lookahead pointer
    ld a,(de) ;compare lookahead character ... match

    ld bc,(CPOS)
    ld a,h
    cp ...
    Battle Bunny Battle Bunny March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... />
    [code]
    ;change 3 bytes lz|wx.fg| unpacked as ... |g0 to 4 bytes 0l|wx.0z|fg
    LD A,d ... ;D=D6D5D4D3D2D1D0C7 carry=D7
    ; LD A,d ;A=D6D5D4D3D2D1D0C7
    Metalbrain Metalbrain March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... /> ; res 7,c ;removed
    ld a,l
    xor 1 ... /> ld l,a ;reverse offset adjustment

    ;change 3 bytes lz ... |g0 to 4 bytes 0l|wx.0z|fg
    LD A,d ...
    Einar Saukas Einar Saukas March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... 7,c ;removed
    ld a,l
    xor 1 ... ld l,a ;reverse offset adjustment

    ;change 3 bytes lz ... .xf|g0 to 4 bytes 0l|wx.0z|fg< ... br /> RL c
    LD A,c
    RLA
    Einar Saukas Einar Saukas March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... down in red. [T-States/Bytes]
    RLD/RRD 7+18 ... = 97 T-States = 13 Bytes[CODE]LD A,[HL]
    INC HL ... [COLOR="Red"]INC HL
    LD C,[HL][/COLOR]
    RRA ... States = 5+4*5 = 25 bytes
    A little more speed ... are free to get rotate bytes. but can read upto 32 ...
    Z80user Z80user March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... /> [CODE]org 33000
    cls ld b,8 ;8 bits to ... /> ret
    ;
    clearscreennice
    ld hl,16383 ;just before display ...
    cloop inc hl
    ld a,h
    cp 88 ... going[/CODE]

    20 bytes, I'm sure Dr Beep ...
    R-Tape R-Tape March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... to a mask of 8 bytes, each holding a bit ... to "draw"
    LD IX, IX_TABLE
    LD BC, 64 * 256 ... , seeded at 1
    LD DE, 1
    LOOP1: ... /> RL A

    LD (MOD_INST+2), A ; Self modifying ... B = 64
    LD H, A

    LD A, (HL) ; Self ...
    BloodBaz BloodBaz March 2012 Development
  • BUG in zxspin and SpecEmu - read Loading speed in WAV fileI'm created a new save, but it can run at 44.1 KHz, to test it, i make a new file from WAV 44.1 KHz to 88.2 KHz. Load this file in a emulator zx-spin…

    ... /> DI
    LD HL,$5800
    LD B,$03
    ... br /> DJNZ repintar
    LD HL,$4000
    otra_onda ... PUSH HL
    LD B,$01
    paso_1 ... JP NZ,otra_onda
    LD H,$40
    JP ... the additional data, 16 bytes for save, and 128 ...
    Z80user Z80user March 2012 Emulators
  • 28-character wide multicolour(ish) on 48k SpectrumLong-time lurker here... I've always been interested in rainbow effects on the 48k Spectrum, mainly from a perspective of "Just what [I]would [/I]ha…

    ... 16x1 because the two attribute bytes in that pair don't ... it's enough for three ld rr,nn. Damn we need ...
    Arda Arda April 2012 Development
  • Is there a ROM modification (48K) for load without typing LOAD""?The target is to play with 48K machines with keyboard broken, or an alternative solution for new clones like Superfo instead of making a new keyboard…

    ...

    LD BC,$0011 ; presume seventeen bytes for a header ... .
    LD A,($5C74) ; fetch ... ; BC-SPACES creates 17/34 bytes in workspace.

    ...
    Dr BEEP Dr BEEP April 2012 Development
<1…26272829303132…34>

Latest Posts

  • Celebrity deaths...
    Paradigm Shifter on 4:41PM
  • 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

HitBox

Word Docs Hits
ld 6.3K 67.3K
bytes 9.1K 16.6K

Related Threads

  • Finding the length of loaded Bytes:Is there a way from BASIC of finding out how big a block of bytes loaded from tape was? <br /> <br /> i.e. - if you do LOAD""CODE and load in a lump …
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • Retro Bytes PR and other services.Hi folks,<br /> <br /> For anyone who is interested, I'm setting up a PR agency called Retro Bytes PR. We specialise in handling the press for small …
  • RETRO:BYTES Magazine.Hi Speccy people,<br /> <br /> Just in case you've missed it (which is likely), I'm working with Alten8.com and other investors to launch a retro mag…
  • Avoid "Program:" and "Bytes:" messagesI converted some original +D programs into TZX files. That works fine, but I'm worry about the "Program:" or "Bytes:" messages of the program blocks …
  • RETRO:BYTES download section.I've uploaded a temporary download page at [url="http://www.retro-bytes.co.uk/downloads.htm"]http://www.retro-bytes.co.uk/downloads.htm[/url] - I've …
  • RETRO:BYTES Lite magazine cover.At last! I can say something...<br /> <br /> Well, we're on the home-straight with the 'Lite' version. You may see this here:<br /> <br /> [url="http…
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384)<br /> <br /> I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory.<br /> <…
  • RETRO:BYTES Lite... at last!R:B Lite is *finally* available to buy from [url="http://www.download-trader.com"]http://www.download-trader.com[/url] for just ?1 sterling! It comes…
  • RETRO:BYTES chat room!Right, I've started a PHP chat room at [url="http://retro-bytes.co.uk/chat/phpMyChat.php3"]http://retro-bytes.co.uk/chat/phpMyChat.php3[/url] for tho…

Related Searches

  • ld ix
  • sa bytes
  • ld hl de
  • 256 bytes
  • ld bc eostr string
  • ld am
  • ld a r
  • bytes hide
  • ld r a
  • forum size bytes
  • ld a b xor c loop
  • ld a b or c loop
  • poke hide bytes
  • hide bytes
  • 924 bytes
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • disable loading bytes
  • disable bytes

Copyright © 2024 World of Spectrum