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.016s
<1…28293031323334>
  • my tiny intros[IMG]http://pouet.net/screenshots/60493.png[/IMG] [url]http://pouet.net/prod.php?which=60493[/url] the following work will appear behind Demosplash…

    ... fix it, change LD H,B to LD H,D at line ... ), we could replace LD BC,#0020 with just LD B,#00. Depending ... /> In all, at least 36 bytes could be achieved.
    Hikaru Hikaru October 2012 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... /> ld a,11110000b
    ld (16384),a

    ld a,11111000b
    ld ... (16384+256),a

    ld a ... /> It just sets up 8 bytes and writes them to screen ... ;store for later

    ld hl,char_rows ;start of character ...
    joefish joefish October 2012 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... , so this part:
    [CODE]ld hl, chars ;start of character ... graphics
    ld d,0
    ld e,a ;de = character ... :
    [CODE]ld de,chars
    ld h,0
    ld l,a ... smaller and also faster (9 bytes, 15T states).
    ub880d ub880d October 2012 Development
  • my tiny intros[IMG]http://pouet.net/screenshots/60493.png[/IMG] [url]http://pouet.net/prod.php?which=60493[/url] the following work will appear behind Demosplash…

    ... 32857

    loop
    ld d,a ;based on the ... just 2 (maybe even 1) bytes loaded into the stack.
    Hikaru Hikaru October 2012 Development
  • my tiny intros[IMG]http://pouet.net/screenshots/60493.png[/IMG] [url]http://pouet.net/prod.php?which=60493[/url] the following work will appear behind Demosplash…

    ... code length of 69 bytes was later reduced to 64 ... initial test code intro (57 bytes):
    [PHP]mlp:
    bytes, JR XXX - 2 bytes, if enough [/PHP ... /> push de
    ; 3 bytes ld hl, 0,but HL is ... # 5b from 3 to two bytes ----- ld a, h: cp # 5b: ...
    g0blinish g0blinish October 2012 Development
  • High Score ASCII array reset ?Hey guys, Noob alert! I'm working on my first game and I'm having problems with the high score on the second time through the game loop. My high …

    ... would indeed load the six bytes at 'score' with ASCII zeroes ... "000000"
    ...
    ld hl,score
    ld b,6
    loop ... : ld (hl),"0"
    inc ...
    Battle Bunny Battle Bunny October 2012 Development
  • my tiny intros[IMG]http://pouet.net/screenshots/60493.png[/IMG] [url]http://pouet.net/prod.php?which=60493[/url] the following work will appear behind Demosplash…

    [PHP] device zxspectrum128
    ORG #6000
    begin
    ld h,#58
    bra: rr(hl):inc hl
    res 2,h:jr bra
    end
    display /d,end-begin
    savesna "test.sna",begin[/PHP]

    9 bytes)
    or 8 if use some tricks
    g0blinish g0blinish October 2012 Development
  • smooth movement in basicWas trying to figure this out myself but i would like to be pointed in right direction now :-). How do I make something move in Basic without gettin…

    ... up more space (85 bytes as to 62).
    inc hl
    ld bc,5
    ldir ... /> djnz NextVar
    ld (23653),de ;STKEND
    rst $10
    ld a,$16 ;AT
    ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Fantasy Z80 instructions?This follows on from something catmeows said in another thread, and that I've been meaning to ask for a while. This may sound daft to people with mo…

    ... .

    The fake instruction LD HL,DE for example, is ... /> LD H,D
    LD L,E
    which takes 2 bytes and ... 8T. Exactly the same space and time a supposed LD ...
    mcleod_ideafix mcleod_ideafix November 2012 Development
  • Fantasy Z80 instructions?This follows on from something catmeows said in another thread, and that I've been meaning to ask for a while. This may sound daft to people with mo…

    ... Z80 was based on 2 bytes instruction only?[/QUOTE]

    LD r1,(IX+r2) etc, or ... , you know, making the regular LD r,(IX+n)'s etc ...
    AndyC AndyC November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... asm
    ld bc,78
    ld de,67
    ld a,5 ... /> light1:
    asm
    ld de,888
    add hl ... as it saved over 100 bytes!
    The reason why ... be else changed to LD BC,0: LD DE,BC by ... at program initialisation as LD DE,@buffer is not ...
    LCD LCD November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ...
    light1:
    asm
    ld de,888
    add hl ...
    candles1:
    asm
    ld hl,777 ;'Address of Level ... for candles
    ld bc,418 ;'Counter for bytes to search in ... /> jr candles2
    candlesend:
    ld a,e
    end asm ...
    LCD LCD November 2012 Development
  • Asking for help: ZXBC to ASM routine translationHallo, In order to save some bytes and gain speed, I'm asking for translation of a very simple ZXBC routine to Assembler [code] sub light(x as uinteg…

    ... :
    asm
    ld hl,777 ;'Address of Level ...
    ld bc,418 ;'Counter for bytes to search ... candles2
    candlesend:
    ld a,e
    end asm ...
    ld bc,417 ;'Counter for bytes to search ... It should be 2 bytes shorter and more than ...
    Einar Saukas Einar Saukas November 2012 Development
  • IX register woes - or is SPIN buggy?Or am I missing something? I'm trying to use the IX reg to acess a table containing an x and y coord. My code below just doesnt seem to work proper…

    ... the instruction

    ld a,(ix)

    ... but it likes ld a,(ix+0)[/QUOTE]
    ld a,(ix) because there ... />
    It is always ld a,(ix+something) even if ... . This instruction takes 3 bytes which are prefix, instruction ...
    Ralf Ralf November 2012 Development
  • IX register woes - or is SPIN buggy?Or am I missing something? I'm trying to use the IX reg to acess a table containing an x and y coord. My code below just doesnt seem to work proper…

    ... ]Well, it doesn't like ld a,(ix) because there isn ... :)

    It is always ld a,(ix+something) even if ... 0. This instruction takes 3 bytes which are prefix, instruction code ... /> [/QUOTE]

    Sorry, but ld a,(ix) is a perfectly ...
    jonathan jonathan November 2012 Development
  • Newbie says 'Alreet?'Hiya dudes, Just dropping a line to say hello as i've decided at 33 to try and fulfill a long time ambition to write a speccy game in machine code..…

    ... /> -each line is 32 bytes
    -each row is ... 8x32 = 256 bytes
    -each segment is 8 ... is 3 x 2048= 6144 bytes

    -each line ... /> -each segment is 2048 bytes apart, same as 8 high ...
    ld d,a ;segments are 8 high bytes apart, so ...
    R-Tape R-Tape November 2012 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... />
    1 - Speed optimized, 185 bytes:

    [code]
    ... ld iyh,b
    ld iyl,c
    ld h,d
    ld ... ap_finishup

    ap_getbit: ld a,ixl
    ap_getbit2: add ... ret

    ap_getgamma: ld bc,1
    ap_getgammaloop:call ...
    Metalbrain Metalbrain November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    [code]
    ld a, (hl)
    inc hl < ... *27=6912


    ld a,(hl)
    adc a ... /> At the cost of 2 bytes: 3,5% speed!
    Dr BEEP Dr BEEP November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... /> ; exoopt
    ld iy, exo_mapbasebits
    ld a, 128
    ld b, 52 ... nz, exo_get4bits
    ld de, 1
    ld ixl, c
    ... hl
    ld hl, 1
    defb 210 ;3 bytes nop (JP ...
    antoniovillena antoniovillena November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... bc

    Ld b,ixh
    Ld c,ixl


    ld (nn+1), bc
    ...
    nn: ld bc, 0

    20 ... +16= 32 and using 7 bytes instead 8.
    antoniovillena antoniovillena November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... a
    ld iyl, a
    ld a, 128
    ld b, 52 ... hl
    ld hl, 1
    defb 210 ;3 bytes nop (JP ... exo_getbits_fin1

    exo_gb4:
    ld a, (hl)
    inc hl ...
    antoniovillena antoniovillena November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... off 2 screen$ of 13824 bytes. destiny is 42240 (49152-6912 ... the table is only 160 bytes, but in this optimized one ... the table is larger (565 bytes).

    Before you call ... , a
    ret nz
    ld a, (hl)
    inc hl ...
    antoniovillena antoniovillena November 2012 Development
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    ... /> I'd missed out a "LD A,B" in one place ... calculator version but is 200 bytes bigger again. It was 215 ...
    Battle Bunny Battle Bunny November 2012 Development
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... cost of an extra 10 bytes I'll have a slightly ... Messages
    ;

    .msgprt ld de,$5068 ; screen memory where ... always 16 characters
    .msgprc ld a,(hl) ; load character into ... ; transfer remaining pixel rows
    ld b,c ; restore character count ...
    snigfarp snigfarp November 2012 Development
  • Compressors are available for Speccys ?Hi folks, although I was an wasn't strictly a speccy coder in the glory days (amstrad & amiga for the most part), I have secides to arse about with …

    ... for aPLib fast depacker, 197 bytes:

    [code]
    ld a,(hl)
    inc ... jr nz,apnogetbit2
    ld a,(hl)
    inc ... ld iyh,b
    ld iyl,c
    ld h,d
    ld ...
    Metalbrain Metalbrain November 2012 Development
<1…28293031323334>

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