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
<1…78910111213…34>
  • i want to start writing my own gamesi want to start writing my own games but have no idea how. is there any downloadable dummys guides or some software that teaches u how. the only expe…

    ... how to split words to bytes and bytes to bits.
    the ... basic so i remember that LD HL,NN has opcode 33 ... , LD BC, NN has 1, RET ...
    Fikee Fikee February 2004 Development
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... a z80:

    ld sp,source
    pop af ...
    pop hl
    ld sp,dest+16
    push ... />
    which copies 16 bytes and takes 12.25 cycles ... it could copy approximately 5714 bytes in a frame using ... able to copy about 2048 bytes, I'm guessing approx. ...
    Alcoholics Anonymous Alcoholics Anonymous March 2004 Games
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    need a Table of 256 bytes stored on a 256byte boundary

    on entry: a=byte to mirror

    FlipByte:

    ld h,TableAdress/256
    ld l,a
    ld a,(hl)
    ret
    dansauk dansauk March 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... just show it :)

    ld sp,src
    pop af ... de
    pop hl
    ld sp,dest+14
    push ... />
    175 T for 14 bytes = 12.5 T per byte ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... br /> [code]
    get1 ld sp,0x8000
    pop af ... /> pop hl
    put1 ld sp,0x4010
    push hl ...
    ;repeat x16

    ld hl,get1+2 ; high byte ... of the 0x8000
    ld de,put1 - get1
    ... figure if you shift 16 bytes at a time, using ...
    gasman gasman April 2004 Development
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... ]
    sample_pos_hi: ld de,0x1234
    sample_pos_lo: ld hl,0x5678

    ld bc,sample_skip ; ... />
    ld l,h ; middle two bytes
    ld h,e ; ... lookup table
    volume_lookup_high: ld h,0x83 ; high byte ...
    gasman gasman April 2004 Sinclair Miscellaneous
  • Amiga MOD on ZX SpectrumWell, there were several question about music matters on WOS lats times, so I decided to describe some of my 'adventures', heheh, with MOD playing on…

    ... - my code assumes that the bytes of the sample are always ... volume%4)
    msbtbl:
    ld h,msbtbl ; msbtbl = volume/ ... to pitch
    pitchfrac:
    ld a,pitchfrac
    remainder:
    ld b,10
    djnz $
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Sinclair Miscellaneous
  • simple z80 rom for test my emulatorHi there! Does anyone here have a very simple rom(in Z80 format) for testing my emulator. I need a very simple one that implements few opcodes and po…

    ... some code to copy some bytes to the screen, surely you ... ,000D
    0003 LD DE,4000
    0006 LD BC,1B00
    Philip Kendall Philip Kendall April 2004 Emulators
  • VSYNC FunctionI have written a VSYNC function, so that I can clear the screen before redraw without flicker on the screen, I do this by peeking at the address 2367…

    ... create a table of 257 bytes
    ld de,0xBE01 ; so ... any address 0xBEnn
    ld (hl),0xBF ; will point ...
    ld b,e
    ld c,e ; ld bc,257 ... int_routine at 0xBFBF
    ld (hl),0xC3 ; opcode for ... JP
    ld hl,int_routine
    ld (0xBFC0),hl
    gasman gasman May 2004 Development
  • SpecEmu 2.1 betaFinally I think I've cracked all the gory contention details required by those trendy multicolour demos (48K/128K modes only, +3 contention can wait …

    ... memory so as all its bytes are located in the starting ... instruction LD IX,1234H is starting from 7FFE, so it occupies bytes ... all the docs, first two bytes should be fetched taking into ... memory contension, but another two bytes are located in non-contendable ...
    Vladimir Kladov Vladimir Kladov May 2004 Emulators
  • +D/Disciple games archive?Hi all, Having finally got my disciple to work, I'm starting to have a look at hacking multiload games. Is there any archive on the web with games t…

    ...
    cp 060h
    ld a,(0719ch)
    jr nz ... ,loadsome
    ld (0600dh),a
    scf
    cp #60
    ld a,(#719c)
    jr nz ... , loadlvl
    ld (#600d),a
    scf
    bytes option as does Warajevo) then ...
    Alcoholics Anonymous Alcoholics Anonymous May 2004 Sinclair Miscellaneous
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ...
    * If a LD A,I or LD A,R (which copy ... been confirmed) put random bytes onto the data bus at ... a table of 257 identical bytes at 256 * I and ... a table of 257 0xff bytes and place 0x18 (JR) ... However, hardware devices placing random bytes onto the data bus means ...
    Fraser Fraser July 2004 Development
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... to Sprite Data Table (10 bytes for each sprite)
    *< ... /> CDETECT LD IX,50000
    LD HL,CDFLAG

    LD D,(IX ... br /> CDLOOP PUSH BC
    LD (HL),0 ;Reset Collision Detection ... Flags

    LD A,(IX+11) ;X coord ...
    dmsmith dmsmith August 2004 Development
  • Pixel setting / general speccy codingi just started doing some cross-coding with the [url="http://www.bigfatpanda.fsnet.co.uk/z80.html"]Z80 SNA assembler[/url] and an emulator, and this …

    ... into 256 low bytes followed by 256 high bytes. This allows the ... ]
    ld h,lineptrs / 256
    ld l,d
    ld c,(hl ... )
    inc h
    ld b,(hl)
    [/code]
    gasman gasman August 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... any quicker than shifting the bytes in "real time", as ... table. for example:
    ld hl,tablestart (may be #b000 ... )
    ld a,(de) (taking from memory ... needed to shift)
    ld l,a (so we have ... in hl #b050)
    ld a,(hl) (table is precalculated ...
    moroz1999 moroz1999 August 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... ,A
    LD H,C0H ;table with preshifted mask bytes for left ... table with all bytes preshifted to all steps.
    LD H,A ... a suitable part of preshifted bytes...
    LD DE,(SPRADR) ;taking precalculated ...
    dmsmith dmsmith August 2004 Development
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... ,A
    LD H,C0H ;table with preshifted mask bytes for left ... table with all bytes preshifted to all steps.
    LD H,A ... a suitable part of preshifted bytes...
    LD DE,(SCRADR) ; taking precalculated ...
    dmsmith dmsmith August 2004 Development
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... it advances fifty
    ; bytes a second.
    storePtr .word ... br />
    ld hl, (label2addr(storePtr))
    ld a, (hl)
    ld hl, 16384+4096
    ld (label2addr(storePtr)), hl ... /> add hl, bc
    ld (label2addr(storePtr)), hl
    < ...
    Erlstoned Erlstoned August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... ,5800h
    LD DE,5801h
    LD BC,768
    LD (HL),7 ... moving 256 bytes forward in memory to FB0Ah
    LD H,(HL ... />



    ; Low Bytes of screen
    ORG 0FA00h ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... moving 256 bytes forward in memory to FB0Ah
    LD H,(HL ... moving 256 bytes forward in memory to FB0Ah
    LD H,(HL ... />



    ; Low Bytes of screen
    ORG 0FA00h ...
    robpearmain robpearmain August 2004 Development
  • Anyone know the address mappings...of the hardware resources on the speccy; From the screen display address range to all the hardware control registers. etc. Where can I get access t…

    ... 64000.
    10 bytes are alocated for each ...
    next two bytes are X and Y ... br />

    CDETECT LD HL,64010 ;address of first ...
    LD BC,10 ;number of data bytes for each ... /> COLLISION POP BC
    LD A,MAXSPRITES ;MAXSPRITES - B gives ...
    dmsmith dmsmith September 2004 Development
  • Collision DetectionHi everyone, This is my first post on WOS. Like most people here I owned a Spectrum when a teenager. At that time I was quite heavily into programmin…

    ... 64000.
    10 bytes are alocated for each ...
    next two bytes are X and Y ... ;collision

    LD DE,(64001) ;X,Y coords ...
    LD BC,10 ;number of data bytes for each ... /> COLLISION POP BC
    LD A,MAXSPRITES ;MAXSPRITES - B gives ...
    dmsmith dmsmith September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... MOVING 256 BYTES FORWARD IN MEMORY TO FB0AH
    LD H,(HL ... />
    ; SCREENTABLE

    ; HI BYTES OF SCREEN
    ORG 0FB00H ... ,0E0H


    ; LO BYTES OF SCREEN
    ORG 0FC00H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... br /> POP BC
    LD SP,HL
    PUSH ... add hl,de

    LD A,(COUNT)
    DEC A ...
    LD (COUNT),A
    JP ... which means you might copy bytes to line 8, then ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... of the screen (4096 bytes) from my Backbuffer to ... 256 BYTES FORWARD IN MEMORY TO FB0AH
    LD H,( ... br /> ; SCREENTABLE

    ; HI BYTES OF SCREEN
    ORG 0FB00H ... />

    ; LO BYTES OF SCREEN
    ORG 0FC00H ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> PP1:
    LD (HL),C ; LD (0FE00H),FDH
    ... 256 BYTES FORWARD IN MEMORY TO FB0AH
    LD ... ; SCREENTABLE

    ; HI BYTES OF SCREEN
    ORG 0FB00H ...

    ; LO BYTES OF SCREEN
    ORG 0FC00H ...
    robpearmain robpearmain September 2004 Development
  • On 48k, can I copy 4k before next screen updateFollowing on from my thread at [url="http://www.worldofspectrum.org/forums/viewtopic.php?topic=6423&forum=11"]http://www.worldofspectrum.org/forums/v…

    ... per byte copy, albeit 14 bytes per block rather than the ... more convenient 16 bytes per block that Gasman's ... /> At 12.5 T, 4096 bytes gets copied in 51200 T ... stack-copy code with the "ld sp,nn". This way you ...
    Alcoholics Anonymous Alcoholics Anonymous September 2004 Development
  • Smooth Screen ScrollingHi Everyone, Any suggestions on what is the best way to do horizontal scrolling ie. in Zynaps fashion. I am working on a routine at the moment, whi…

    ... like this:

    ld hl,winend ; point to last ... byte in window.
    ld bc,4096 ; size of ... dec bc ; loop counter.
    ld a,b ; high byte of ... a block of 256 bytes then required just the ...
    jonathan jonathan September 2004 Development
  • Can Anyone explain sprites in Jet Pac/Atic Atac etcJet Pac was 16k, and yet the sprites were impressively fast. I notice they had a slight flicker at times, but were notmally pretty flicker free. W…

    ...

    ld hl,16400
    ld a,255
    ld (hl),a ... .

    ld e,a
    ld hl,16384
    ld bc,6144 ...
    cs0: ld a,0
    ld ... .
    ; note low and high bytes swapped !

    DEFW 0801fh ...
    robpearmain robpearmain October 2004 Development
  • How can I scroll a line of text and wrap perfectlyI know this is easy for most of you but for some reason I am messing it up. In Assembly Language I want to do the following: I have 1 line of text …

    ... , then you've scrolled 12 bytes, PUSH the whole lot back ... the line (after doing 32 bytes worth of this) is place ... the line again, POP HL, LD DE,0, ADC HL,DE ...
    cyborg cyborg October 2004 Development
<1…78910111213…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