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.056s
<1…28293031323334>
  • Change JPs by JRsIs there any (easy) way to replace all long jumps with relative ones in assembler code? Of course, I can replace all in text editor, and then place …

    ... takes 10 T-states and a regular JR takes 12 T-states (if there ...
    Bedazzle Bedazzle September 2016 Development
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... /> Then again, that's 11 T-States to get the two shifted ... that's only 2*4 T-States to get the values.
    gp2000 gp2000 October 2016 Development
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... to fit within the available t-states while the loader takes a ... /> Hopefully the whole thing won't increase in size too much ...
    jamorski jamorski October 2016 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... using integer addresses there isn't much point in using a ... 10101010 will save you 548 t-states per loop.

    Try ...
    GReW GReW October 2016 Sinclair Basic
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... " - ld sp, (nn) is 20 t states compared to just 10 for ...
    AndyC AndyC October 2016 Development
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... " - ld sp, (nn) is 20 t states compared to just 10 for ... . On the spectrum you don't often care about these two ... his main code and couldn't figure out why he was ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ld hl,(xx) uses 20 T-States. POP uses 10 and PUSH ... involve using up even more T-States and would require extra code ...
    chriswyatt chriswyatt November 2016 Assembler
  • The state of source level debuggingI was just wondering if we can put on a table everything we collectively know about source level debugging for ZX Spectrum to get an overview of curr…

    ... /> sprintf(buffer + strlen(buffer), "%04X\t", addr); /* Addr. */
    if ... feel better). I included t-states into the decoding tables. ... { opcode, opcode mask, mnemonic, size, t-states, t-states fail }
    { 0x00000001, 0x00040301, "LD ...
    tstih tstih November 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    ... /> POP HL
    }
    ;; 46 t-states[/code]

    Is there ... first time. I need 46 t-states for 2 bytes. Or 736 ... scan lines hence 29.440 t-states. If I can spend the ... rest up to 60k t-states filling emptied column and drawing ...
    tstih tstih December 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    [code]
    rlc (hl)
    dec l
    [/code]

    Should be only 19 t-states per byte, as opposed to your 23 per byte? Unless I'm missing something.
    Kayamon Kayamon December 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    ... ]
    Should be only 19 t-states per byte, as opposed to ... /> RL (HL) ; 15 t-states
    DEC HL ; 6 t-states
    32 times ... faster.
    Timings are 21 t-states x 32 cols = 672 per ... be 40 scan lines ... 26880 t-states.

    As for pre ...
    tstih tstih December 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    ... ]
    Should be only 19 t-states per byte, as opposed to ... affects flags. DEC HL doesn't. But it is still the ... as it only adds 2 t-states.[/quote]

    Nope. DEC ... L doesn't affect the carry flag!
    Einar Saukas Einar Saukas December 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    ... /> Should be only 19 t-states per byte, as opposed to ... flags. DEC HL doesn't. But it is still ... as it only adds 2 t-states.[/quote]
    Nope. ... DEC L doesn't affect the carry flag![/quote ...
    You just saved 2650 t-states in one scroll pass. That ...
    tstih tstih December 2016 Development
  • How would you approach parallax?So ... there is this trick by Joffa that we all know...of waiting for the ULA to reach certain pattern on the screen using the IN command. And then s…

    ... it does it in 18 t-states. So if I store a ...
    tstih tstih December 2016 Development
  • New Game - Pietro Bros [z88dk/Nirvana+][b]PIETRO BROS[/b] Pietro and Luizo were transported to pipe world after eating some rancid mushrooms on his pizza. Help them to escape from th…

    ... drawn for you. Sprites don't interfere with interrupts and they ... don't take any CPU time from ... reduced it from 6500 t-states to 130 t-states. [b]LITERALLY 50x FASTER ...
    colonel32 colonel32 December 2016 Brand new software
  • New Game - Pietro Bros [z88dk/Nirvana+][b]PIETRO BROS[/b] Pietro and Luizo were transported to pipe world after eating some rancid mushrooms on his pizza. Help them to escape from th…

    ... drawn for you. Sprites don't interfere with interrupts and they ... don't take any CPU time from ... reduced it from 6500 t-states to 130 t-states. [b]LITERALLY 50x FASTER ...
    Einar Saukas Einar Saukas December 2016 Brand new software
  • HELP!I'm trying to replace a bit in a byte as follows, but having some sort of brain freeze trying to get it to do what I want. A=00 if bit to replace …

    ... . And all this in 29 t-states. Not bad. Not bad at ...
    tstih tstih February 2017 Development
  • HELP!I'm trying to replace a bit in a byte as follows, but having some sort of brain freeze trying to get it to do what I want. A=00 if bit to replace …

    ... . And all this in 29 t-states. Not bad. Not bad at ...
    Hikaru Hikaru February 2017 Development
  • HELP!I'm trying to replace a bit in a byte as follows, but having some sort of brain freeze trying to get it to do what I want. A=00 if bit to replace …

    And if you align your sprite data (i.e. make sure it doesn’t cross the 256-byte boundary), you can use INC L instead of INC HL, which is two T states faster.
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    ... only possible in about 180 t-states.

    I'm now ...
    FrankT FrankT February 2017 Assembler
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    ... ROM), this gets you 358 T states 'for free' according to [url ... difference of few tens of T states is tiny compared to actual ...
    Hikaru Hikaru February 2017 Assembler
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    ... worked out I have 366 t-states in the delay loop of ...
    FrankT FrankT February 2017 Assembler
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    ... longest route down to 122 t-states, with printing the whole counter ... get it to under 85 t-states if I store only the ... x rra, then I don't need to mask off the ... , printing in two passes. Saving t-states and memory.
    FrankT FrankT February 2017 Assembler
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    ... the counter down to 85 t-states. Storing the bytes to be ...
    FrankT FrankT February 2017 Assembler
  • Scrolling loader counter in 85 T-States?Would it be possible to write a scrolling loader counter in 85 T-States? I have a custom screen load routine that loads attribute first, then the …

    [quote="FrankT;897326"]I've got the printing of the counter down to 85 t-states[/quote]

    Congratulations!
    Bedazzle Bedazzle February 2017 Assembler
  • New Game: A Yankee in Iraq (2017). A shoot-em-up.Last year, I [url="https://www.worldofspectrum.org/forums/discussion/53207/new-game-2016-revival-a-yankee-in-iraq-1992"]resurrected my old shoot-em-u…

    ... . I might sacrifice a few T states for that.

    [quote ...
    Ast_A_Moore Ast_A_Moore February 2017 Brand new software
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... very small difference of 7 T states. YMMV but personally I think ... this sort of tradeoff isn't worth it to keep 2 ...
    Hikaru Hikaru March 2017 Announcements
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... /> looking at the t-states
    Pushing HL takes 11 t-states whereas
    t-states

    so Pushing is ...
    slenkar slenkar April 2017 Development
  • z80 Helper?When you are programming with z80 do you get 'lost' you are in the middle of making a routine and you can't remember which registers are holding val…

    ... at the t-states
    Pushing HL takes 11 t-states whereas
    t-states

    so ... in stack order. Don't forget PUSHing saves two bytes ... temporaries. But you don't just use it, you ... structures where code can't be written to walk ...
    Alcoholics Anonymous Alcoholics Anonymous April 2017 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... below at 111bytes. I didn't use the ixl/h modification ... /> It takes 1,275,473 t-states to decompress the full screen ...
    TomD TomD April 2017 Development
<1…28293031323334>

Latest Posts

  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • i am currently listening to........
    saddestmoon on 10:58AM
  • 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
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7

HitBox

Word Docs Hits
wait 12.3K 13.6K
t 295.2K 486.4K
states 4K 5.3K

Related Threads

  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • S.W-T-H.W.T.N.M.A.T.E.O.Q-E?Erm, what I was trying to say was..<br /> So, why the hell was there no monster at the end of Quartermass experement?<br /> <br /> They did it in the…
  • SDP Project Started, Can't Wait ;-)Hi folks,<br /> <br /> I can't stand it any longer, I'm just gonna lob what I have on the SDP page with respect to disks that are needed. I've manua…
  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • How many T-states takes PUSH DE ?Hi.<br /> <br /> Just a quick one.<br /> According to z80.info docs, a PUSH DE should take 11 T-States to be executed.<br /> <br /> But WHAT if SP is…
  • Two new Terry Gilliam films on the way ... I can't wait!As you may or may not know, I am a huge fan of Terry Gilliam's films. There are without equal. :)<br /> <br /> He has two new ones coming out over th…
  • Why doesn't somebody who isn't me make a blahdiblahdiblahThere have been many interfaces, and suggestions for plugging a PC keybourd into a 48K, but reading the forum, what people really need (instead of ha…
  • 14:41 = 25/08/07 = K T B = T J Q[URL="http://alistairsserver.no-ip.org/augustcodesheet.png"]Codesheet[/URL]<br /> <br /> [code]LBADH NCWQG HLQKJ FEHQX RJJFC<br /> WVRTQ QJELM PEORW …
  • Parents huh, Can't live with em..... can't live with em...Parents huh??<br /> <br /> Isn’t it strange, annoying yet twinged with a little sadness when you realise your parents aint quite what they used to be…
  • Mrs.T is currently taking her C.B.T motorbike test.She just phoned me from the training centre, it's out in the sticks on the edge of town, down a crumby, designed to test the skills of the best rider…

Related Searches

  • harlequin wait
  • refresh wait disable interupts
  • wait for refresh
  • t states per scanline
  • every t states generate an interrput
  • every t states generate an interrput writing emulator
  • measure t states
  • measure t states fuse
  • t states 48k
  • t states per line border
  • t states
  • t states delay
  • prefix t states
  • wait a number of t states
  • t states calculation
  • multiple t states per operation
  • two t states per operation
  • calculate t states
  • t states jumping
  • jr nz t states

Copyright © 2024 World of Spectrum