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>
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... : ; (in) A - arguments length in bytes, (in)BC - needed full stack ... in bytes, (out) IX - the start of the frame
    LD HL ... the first argument

    LD D,H ; DE contains the ... first element address
    LD E,L

    ...
    Raydac Raydac June 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... in) A - arguments length in bytes, (in)BC - needed full ... bytes, (out) IX - the start of the frame
    LD ... argument

    LD D,H ; DE contains ... in) A - arguments length in bytes, (in)BC - needed full ... bytes, (out) IX - the start of the frame
    LD ...
    Einar Saukas Einar Saukas June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... position pointer

    ld a, (hl) ;print pattern

    ld a, (hl)
    ld (bc), a
    ... Any font aligned by 8 bytes
    How much RAM ...
    catmeows catmeows June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ?[/B]

    64 bytes plus the string

    bytes of the char ([I] ... top

    ld a,(hl) ;put 7 bytes of data in ... a char cell
    ld (de ... 8 ;which is 8 high bytes
    ld d,a

    R-Tape R-Tape June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... D

    ld a,(hl) ;put 7 bytes of data in ... a char cell
    ld (de ... ,8 ;which is 8 high bytes
    ld d,a
    print_string ... /> inc bc ;next ASCII
    ld a,(bc) ;get ascii
    Dr BEEP Dr BEEP June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ;632091]
    [code]
    ld a,d
    sub 6 ...
    ld d,a

    ... FASTER THAN JR?
    ld a,d ;next segment down ... 8 ;which is 8 high bytes
    ld d,a
    [/code ... states:

    [code]
    ld a,d
    inc e ...
    Dr BEEP Dr BEEP June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ! Adding:
    [code]pstring
    ld (stk+1),sp
    add ... a,a
    and
    ld sp,0 ; after the inc ... in 296T states in 42 bytes. 50% faster than my fastest ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ld (.savesp),sp
    ld hl,16384
    ld ix,.loop
    ld ... de,some_constants1 ;de and bc store the most common graphic bytes ... in a font
    ld bc,some_constants2 ... containing 'letter addresses'
    ld bc,string
    jp ...
    Hikaru Hikaru June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... ld (.savesp),sp
    ld hl,16384
    ld ix,.loop
    ld ... de,some_constants1 ;de and bc store the most common graphic bytes ... in a font
    ld bc,some_constants2 ... containing 'letter addresses'
    ld bc,string
    jp ...
    R-Tape R-Tape June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... find out four most common bytes first (or maybe just ... br /> ld hl,16384
    ld ix,loop
    ld de,(someconstants1 ... ) ;de and bc store the most common graphic bytes ... in a font
    ld bc,(someconstants2) ...
    R-Tape R-Tape June 2012 Development
  • 'Spectrum Play' ErrorI always wondered why the screen sometimes filled with 'SPECTRUM PLAY' if I loaded a 48k game in 128k mode (using my 128k+2B). Colditz Story in parti…

    ... to "bounce" the display file bytes up & down by a ... /> ;33001
    ACTIVATE: LD A,$80
    LD I,A
    IM ... )
    xor 1
    ld (23606),a
    pop af ...
    Battle Bunny Battle Bunny June 2012 Games
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> LD H,0 LD H,0
    LD L,A LD L ... Print matrix
    PRMTX LD DE,(DFCC) LD DE,(ATTCC) ; DE=current ... Get current attributes
    LD (HL),A LD (HL),A ; Set screen ... br />
    ; 49 bytes 41 bytes
    ; 524T per char ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> LD H,0 LD H,0
    LD L,A LD L ... Print matrix
    PRMTX LD DE,(DFCC) LD DE,(ATTCC) ; DE=current ... Get current attributes
    LD (HL),A LD (HL),A ; Set screen ... br />
    ; 49 bytes 41 bytes
    ; 524T per char ...
    Baggers Baggers June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...

    ld a,'-'
    ld (de),a ; write negative ... max stack depth is 34 bytes for base 2
    bytes of memory
    ... 2 to write n bytes to memory
    ... /> ; maximum 16 bytes

    ld (hl),a
    ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    ld de,2 ; each item in array is 2 bytes (pointer ... to string)
    ld ix,strcasecmp_callee ; use ... O(lg n). Only four bytes per recursive iteration is reserved ... /> ld e,c
    ld d,b
    ld c,l
    ld b ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... clever solution. This is 30 bytes, I suppose using djnz ... in d,e
    ld de,30792 ;nice white and ... paper in de
    ld hl,22528 ;start of attributes ...
    row1 ld (hl),d
    inc hl ... jr nz,row1
    row2 ld (hl),e
    inc hl ...
    R-Tape R-Tape July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... solution. This is 30 bytes, I suppose using djnz ... paper in de
    ld hl,22528 ;start of ... attributes
    row1 ld (hl),d
    inc ... start of attributes
    row1 ld (hl),d
    inc ... swap ld a,d
    ld d,e
    ld e,a ...
    Dr BEEP Dr BEEP July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> xor a 1
    ld b,24 2
    fill2 ... : ld c,b 1
    ld b,32 2 ...
    cpl 1
    ld b,c 1
    djnz ... ret 1

    19 bytes
    [/code]
    ccowley ccowley July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    [QUOTE=ccowley;639968][code]
    ld hl,22528 3
    xor ... 2
    cpl 1
    ld b,c 1
    djnz ... /> ret 1

    19 bytes
    [/code][/QUOTE]

    Dr BEEP Dr BEEP July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> ld sp,23296
    ld hl,$7848
    ld d,l
    ld e ... ,h
    ld a ... quite the shortest at 27 bytes. But I'd thought I ...
    ccowley ccowley July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... Dr.Beep's 23 bytes is the shortest so ... CHEQUE: ld a,%01111000
    ld de,22528
    ld c ... ,12
    LOOP0: ld hl,32
    ld ... xor %00110000
    ld (de),a
    inc ...
    Battle Bunny Battle Bunny July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... So Dr.Beep's 23 bytes is the shortest so far ... 22!
    [code]
    ld de,$7848
    defb 33 ... br /> inc hl
    ld (hl),e
    djnz ... samerow
    ld a,e
    ld e,d
    ...
    Dr BEEP Dr BEEP July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... /> [code]
    ld hl,22528
    ld de,$7848
    ld c,24 ... fill1
    ld a,d
    ld d,e
    ld e,a ...
    [/code]

    23 bytes
    ccowley ccowley July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    20 bytes:
    [code] ld a,%01111000
    ld e,%00110000
    ld hl,23295 ...
    LOOP0: ld ...
    SkoolKid SkoolKid July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... code]
    ld hl,$5800
    ld de,$3008
    ld a,$78 ...
    loop3: ld c ... br /> loop2: ld b,8
    loop1: ld (hl),a< ... djnz loop1

    ld b,8
    space: inc ... this a lot smaller in bytes.

    Edit:
    ...
    FrankT FrankT July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    17 bytes when compiled at 30768
    < ... />
    CHEQUE: ld a,b
    ld hl,$5800
    ld b,$18 ...
    loop1 xor c
    ld (hl),a
    inc hl ...
    Dr BEEP Dr BEEP July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    [QUOTE=Dr BEEP;640082]17 bytes when compiled at 30768
    < ... />
    CHEQUE: ld a,b
    ld hl,$5800
    ld b,$18 ...
    loop1 xor c
    ld (hl),a
    inc hl ...
    Dr BEEP Dr BEEP July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... .

    [CODE] ld hl, $5b00
    loop0 ld a, l
    jp pe, loop1
    ld (hl), $48
    loop1 dec ... ][/QUOTE]


    17 bytes with a return added, and ...
    spud spud July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    16 bytes. Now we have a ... org $7848
    ld hl, $5aff
    loop0 ld a, (bc)
    and l
    ld (hl), b
    jp pe ... , loop1
    ld (hl), c
    loop1 ...
    antoniovillena antoniovillena July 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