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>
  • Help pleeease "Proving Emulator OpCode flags are correct"So I had a cunning plan... I wanted to write a test harness for Emulators that could "prove" that all opcode flags were correct. I wanted something m…

    ... need to put 16 million bytes somewhere - how about on a ... ]
    DI
    LD (st+1),SP
    LD HL,0 ;poke ... 0 - 65535
    LD SP,0

    LD B,8
    DJNZ lp2

    st: LD SP,0
    EI
    Stefan Drissen Stefan Drissen April 2012 Emulators
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ...
    ld sp, ix
    pop af ; read 16 bytes
    ... />
    ld sp, iy
    push hl ; write 16 bytes
    push ... /> incbin "screen.bmp" ; 6144 bytes of in order bitmap
    incbin "screen.atr" ; 768 bytes of attributes

    org ...
    R-Tape R-Tape April 2012 Development
  • about Back to SkoolHi All, Back to Skool today! :) [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0000362[/url] I got original tape and make samples for side a …

    ... offset by 48 bytes and a few bytes of data being different ... /> your WAV side A
    LD L, 80 ; 29130 46 80 ... />
    WoS original TZX
    LD L, 79 ; 29130 46 79 ...
    Battle Bunny Battle Bunny May 2012 MIA/STP/SDP
  • ISO-Copy - Individual Software revisitedHi folks In another thread about Supertape: [url]http://www.worldofspectrum.org/forums/showthread.php?t=36203[/url] ... we touched on ISO-Copy by th…

    ... block I got was 6 bytes, but the 10 byte ... of data, so 4 bytes of some form of pilot ... /> 5CE0 PUSH IX
    5CE2 LD BC, 5CE5 ; A little pause ... to the exact point were bytes are loading, and loads an ... indeterminate number of bytes. Yes, it is an ...
    jlsoler jlsoler May 2012 MIA/STP/SDP
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... ,16 area of screen, 256 bytes I think?!

    I ... /> push bc
    ld bc,16 ;16 bytes is the distanc to ... /> ldi
    ldi ;move 16 bytes from the buffer to the ... /> defs 256 ;define space 256 bytes = 0,0 to 16,16 ...
    R-Tape R-Tape May 2012 Development
  • about Back to SkoolHi All, Back to Skool today! :) [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0000362[/url] I got original tape and make samples for side a …

    ... TZX did you find had 'LD L,79' at 29130 and ... 'Original release' TZX, I see 'LD L,80' and 'DEC L ... header, and which has the bytes "2E 4F 0F 38 10 ...
    Battle Bunny Battle Bunny May 2012 MIA/STP/SDP
  • about Back to SkoolHi All, Back to Skool today! :) [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0000362[/url] I got original tape and make samples for side a …

    ... 28, 1997 and is 82500 bytes long. But the one currently ... and is 82639 bytes long. And if it has 'LD L,79 ...
    SkoolKid SkoolKid May 2012 MIA/STP/SDP
  • ISO-Copy - Individual Software revisitedHi folks In another thread about Supertape: [url]http://www.worldofspectrum.org/forums/showthread.php?t=36203[/url] ... we touched on ISO-Copy by th…

    ... /> 16384 INC D
    16385 LD E,004
    16387 EX ... AF,AF'
    16388 LD (HL),D

    Jose ... /> 16388 INC D
    16389 LD E,004
    16391 EX ... AF,AF'
    16392 LD (HL),D

    ... if LD E,004, means it's looking to load 4 bytes ...
    Andrew Barker Andrew Barker May 2012 MIA/STP/SDP
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... REM initialise: dd needs 512 bytes
    POKE 23660,FN ... rr c
    ld hl,22528
    ld de,(23660) ;(S ... de,hl
    COPY: ld bc,512
    ldir
    bytes
    DIM s$(512): ...
    Battle Bunny Battle Bunny May 2012 Development
  • Outrun Europa - In colourAre there any coder's willing to see if we can put the colour into this game as originally intended?

    ... ) read attribute
    b) 24905: LD A,7 -overwrite just read ... format is:
    [B]8 bytes of graphics in the char ...
    Ralf Ralf May 2012 New game ideas
  • What if there was no memory or space limitation?What if there was no memory or space limitation? We've had topics about the limitations of the Speccy's hardware, topics where we discussed how good …

    ... , say each node is 200 bytes long. I have 1000 names ... few quick instructions:

    ld e,(hl)
    inc hl ...
    ld d,(hl)

    and ... this:

    32768:
    ld hl,60000
    BCALL print_string ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Sinclair Miscellaneous
  • DK Tronics Compilation Tapes....MIA ??I have two tapes (no inlays) of compilaitons of DK Tronics games. One is from DK Tronics themselves, has a white label with black text, and contains…

    ... has block 6 with 93 bytes and block 7 with 39621 ... bytes.
    Block 5 appears to ... : 2.028s
    3- 164: Bytes : JUMBLY Length: 19 Normal Speed ... 39620 bytes of block 7 (16402):
    [code]
    16384 LD D ...
    Andrew Barker Andrew Barker May 2012 MIA/STP/SDP
  • Need to scroll one column using m.c.I've used many of the available routines to scroll the entire screen in any direction, but I'm not being able to find one that would allow me to scro…

    ...
    ld ix,16384
    ld h,192
    ld l,0 ... ld e,a
    ld b,192+24 ; move 192 pixel bytes and ... 24 attribute bytes
    ld c,32
    loop:
    ld a,( ...
    ub880d ub880d May 2012 Development
  • Need to scroll one column using m.c.I've used many of the available routines to scroll the entire screen in any direction, but I'm not being able to find one that would allow me to scro…

    ...
    org 32768

    ld hl,(23670) ; randomize address: randomize ... ld e,a
    ld b,192+24 ; move 192 pixel bytes ... and 24 attribute bytes
    ld c,32
    loop:
    ld a, ...
    ub880d ub880d May 2012 Development
  • Need to scroll one column using m.c.I've used many of the available routines to scroll the entire screen in any direction, but I'm not being able to find one that would allow me to scro…

    ... fixed steps, so the bytes are not moved in ... br /> push hl
    ld a,(bc) ;A =old ... ,NORESET
    ld a,(23693) ;ATTR_P
    ld (bc),a ... ;$58
    ld b,a
    ld c,l
    ...
    Battle Bunny Battle Bunny May 2012 Development
  • Open and read a file using +3DOS in MCForgive me if this has been asked and answered before, I've spent a fair few hours searching the forums and looking for books on the subject, all wit…

    ... will read the first 100 bytes from the disk file just ... /> [code]
    ld bc,$0302
    ld de,100
    ld hl,32768 ...
    Battle Bunny Battle Bunny May 2012 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... line of the screen in bytes, using LDI, but at ... stack pointer as your offset: LD SP,-32 then just ADD ... copy a row starting 3 bytes into it, then before ... and copy the remaining 3 bytes.

    Remember one ... /> And afterwards you can do LD SP,32 and ADD HL ...
    joefish joefish May 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... pop ix ;IX=(DEFADD)
    ld a,"E"
    call FINDA ... br /> pop hl
    ld c,"."
    call COPYDIG ;copy ...
    dec b ;B =bytes (including minus)
    ret
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    This routine (48 bytes) provides a BASIC replacement for STR$ which fixes those two bugs; use "FN s$(numeric_expression)" instead of "STR$ numeric_expression". I copied the ROM's method used in CIRCLE & DRAW for checking -1
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…

    ... set

    ld hl,ENOMEM
    ld (_errno),hl
    jp ... br />
    stdio_error_zc:

    ld hl,0
    scf

    [code]
    ld hl,len ; gather param from ... the z88dk function saved 9 bytes and about 25 cycles.
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
  • Beginner questionThis might sound and be daft.... I've just been reading J Cauldwell's "how to write a Spectrum game" but was thinking of writing something in C as I…

    ... score;

    #asm
    ld hl,(_score)
    inc hl ...
    ld (_score),hl
    #endasm
    bytes at _spritedata to be individually ... is the location of two bytes where a memory address is ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Development
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... these changes will save 9 bytes, although I don't ... HL,BC=# of bytes to transfer

    ld hl,(OldSP)
    ld sp,hl ;Make HL bytes of room in ... stack (subtracting BC bytes from SP)

    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... and the last three bytes of the routine.[/QUOTE ... I posted is 58 bytes (assuming I calculated it ... NextChar: inc hl
    ld a,(hl)
    cp 0eh ... This should save another 4 bytes, thus reducing it to ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... INC HLs followed by a LD A, (HL); RET so that ... so there are now 7 bytes available to fix any new ...
    chev chev May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... possible to save another 3 bytes:
    [CODE]
    ... ,BC=# of bytes to transfer

    ld hl,(OldSP)
    ld sp,hl ;Make HL bytes of room ... in stack (subtracting BC bytes from SP)

    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... , HL,BC=# of bytes to transfer

    ld hl,(OldSP)
    ld sp,hl ;Make HL bytes of room in ... stack (subtracting BC bytes from SP)

    ;add ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... , HL,BC=# of bytes to transfer

    ld hl,0
    ld sp,hl ;Make HL bytes of room in ... stack (subtracting BC bytes from SP)

    push ...
    Einar Saukas Einar Saukas May 2012 Sinclair Basic
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... 0001h to FFFFh

    ld l, 81h ; Exponent
    ; At ... the mantissa highest byte
    ld a, l ; exponent in A ... following scheme:
    [code]
    ld b, 4
    LOOP:
    bytes into HLDE, if I use ...
    boriel boriel May 2012 Development
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... this instruction
    ld b,h
    ld c,l ;DE= ... HL,BC=# of bytes to transfer

    ld hl,0[/CODE ... FN parms, HL,BC=# of bytes to transfer

    ...
    Einar Saukas Einar Saukas June 2012 Sinclair Basic
  • Moving a line down the display in assembler?...It's not a "[I]how can I do it[/I]" question, it's more a "am I missing something in trying to do it a new way" kinda question. What I've been doing…

    ... /> REPT 2 ;4 bytes
    POP DE
    LD (HL),E
    REPT 3 ;6 bytes
    POP DE
    LD (HL),E
    REPT 3 ;6 bytes
    POP DE
    LD (HL),E

    DrawEnemy3_3
    LD (HL),D ;3 bytes
    INC H
    Ralf Ralf June 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