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…78910111213…34>
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... inc hl ; next byte
    jr .loop
    [/code]
    < ... 2 bytes and requires 7 T-states. AND A requires 1 ... byte and takes 4 T-states. What AND A does ... 4 T-states, instead of 2 bytes and 7 T-states for ... that you (eventually) won't be able to live ...
    Winston Winston December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... right away, and it won't bugger it up if it ... a
    and a
    jr nz,loop
    ;
    dec hl ...
    and a
    jr nz,loop2
    ld a,l ...
    and a
    jr nz,loop2
    ret
    ... z
    rst 10h
    jr WrtMsg
    [/CODE]
    ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... call to 6683 doesn't destroy the BC pair ... flag[/COLOR][/B]

    jr nz,loop
    ;

    or l
    jr nz,loop2[/B]

    t be long before you ... faster! What, you don't believe me?! Just wait and ...
    Chris Pile Chris Pile January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... to make sure you don't lose your original source code ... br /> out (254),a
    jr nz,loop
    ;
    dec hl ... ,h
    or l
    jr nz,loop2
    ret
    ;
    t come natural... it ain't intuitive.. at least ...
    xyzzy xyzzy January 2010 Development
  • What are the keys for Penetrator?Q - Up, A- Down, O-Left P- Right Space - Bomb. So what's fire? When I press the P button, it fires bullets, but that's the 'right' key. Surely they…

    ... br /> ; $FB = Q to T
    ; $F7 = 1 to ... for 'P' key
    JR NZ, KEY_L ; Jump if not ... A, $FB ; Keyboard row 'Q-T'
    IN A, ($FE) ... for 'Q' key
    JR NZ, K_BOMB ; Jump if not pressed ... for 'SPACE' key
    JR NZ, K_FIRE ; Jump if not pressed ...
    FrankT FrankT January 2010 Games
  • Anybody got a hack for PAW'd games?Has anybody got a hack to browse the text in PAW'd games?

    ...
    cp $a5
    jr nc, token
    cp $20 ... h
    or l
    jr nz, aaa
    ret
    ...
    cp $80
    jr nc, fff

    ... rst $10
    jr ddd

    fff sub ... 80
    rst $10
    jr bbb


    ...
    Bandit Bandit January 2010 Sinclair Miscellaneous
  • Bit functions speedI just stared nonplussed at the documentation for the bit functions. Apparently, if you're using the accumulator, using AND and OR is faster than se…

    ... imm, OR imm take 7 T states, if this documentation is right ... /> The one tip I didn't figure out for myself (and ...
    or c
    jp nz, loop
    [/code]

    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... complained that he couldn't use my compiled .TAP ... br />
    I didn't change much: Loop2 now reads ... viewer_loop2
    cp 'Q'
    jr nz, viewer_loop3
    ld a, ( ... EDITED: Added (was previous)
    jr viewer_loop6
    viewer_loop3
    ...
    kgmcneil kgmcneil February 2010 Development
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... making it so it doesn't auto repeat a keypress?
    jr z, moveright

    bit ... ; Test for 'o' key
    jr z, moveleft ; Jump if pressed ... ; Test for 'p' key
    jr Nz, releaseright
    [/code]
    Dr BEEP Dr BEEP February 2010 Development
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... the dirtybuffer, which I don't touch in the ISR). ... .beepdelay
    dec c
    jr nz, .beep
    .nosfx
    ... br /> ld (tune_tick), a
    jr nz, .skipnote
    ld a, ( ... .tuneloop
    dec c
    jr nz, .tuneloop
    .skipnote
    ...
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ...
    ld a,c
    jr nz, encoderight
    cpl ; encode a ... ; de = parent.left+1
    jr nz, foundchild
    ld a,(de ... C. Of course I don't know how it all works ... dictionary compressions since I didn't think it would work too ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • Midi2ayhello, Does anyone know how to use MIDI2AY ? FABIEN

    ... your interested, and don't mind compiling stuff with Pasmo ... br /> ;; 48k ONLY - won't work in 128k ; Use PASMO ... )
    or a
    jr nz,finrsi
    inc hl
    cp 0ffh
    jr z,fin
    cp 0feh ... a
    inc hl
    jr bucle
    finrsi
    ...
    kgmcneil kgmcneil March 2010 Emulators
  • Tricks with IN 31It's generally considered unwise to use a Kempston joystick's fire button to start a game, because the floating bus effect can make arbitrary data ap…

    ... ; fire button pressed?
    JR Z, xxx ; start game with ... ; any key pressed?
    JR NZ, xxy ; start game with keyboard ... If the Kempston interface isn't connected, the floating bus will ... 31

    which won't trigger the proposed game-starting ...
    ajmoss ajmoss April 2010 Hardware
  • Tricks with IN 31It's generally considered unwise to use a Kempston joystick's fire button to start a game, because the floating bus effect can make arbitrary data ap…

    ... ; fire button pressed?
    JR Z, xxx ; start game with ... ; any key pressed?
    JR NZ, xxy ; start game with keyboard ... If the Kempston interface isn't connected, the floating bus will ... 31

    which won't trigger the proposed game-starting ...
    velesoft velesoft April 2010 Hardware
  • 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 …

    ... Print routine that doesn't rely on ROM calls ... of text that don't span lines then there' ... at the end
    jr nz,p_start ;of a line. ...
    and 31
    jr nz,p_start
    ld c,a ... b
    inc b
    jr p_start
    ;
    p_print: ...
    Turkwel Turkwel April 2010 Development
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ... for 8bit sample. I didn't try it in real, please ... /> deloop:
    dec a
    jr nz,deloop
    cpi
    jp ...
    omega omega April 2010 Development
  • Mistake in the 128K technical FAQ?[url]http://www.worldofspectrum.org/faq/reference/128kreference.htm[/url] [quote]Memory banks 1,3,5 and 7 are contended.[/quote] Really? I thought i…

    ... T
    inc bc ; 6 T
    jr loop ; 12 T

    ; 25 T-states ... (24+32) = 56 T-states, as opposed to 50 T for non-contended ...
    ajmoss ajmoss April 2010 Hardware
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... /> ret
    ;don't print character if > 191 ... br /> dec d
    jr nz,p_print2
    ;Rotate the ... br /> and 31
    jr z,p_print4
    ;Increment ... br /> dec a
    jr nz,p_print0
    ;get the ... write if we haven't reached the end yet ...
    Turkwel Turkwel June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... (ix),a ;one item (can't be less), we'll count ... , don't move
    dec (hl) ;move up otherwise
    jr showCursor ... ;if 'cursor down' key
    jr nz,.loop1
    ld a,(itemsAll ... , don't move
    inc (hl) ;move down otherwise
    jr showCursor ...
    Shiru Shiru June 2010 Sinclair Basic
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... b
    cp 200
    jr nz,loop1
    ret
    ; ... /> ret
    ;don't print character if > 191 ... br /> dec d
    jr nz,p_print2
    ;Rotate the ... br /> dec a
    jr nz,p_print0
    ;get the ... write if we haven't reached the end yet ...
    Turkwel Turkwel June 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... have become stuck with the JR NZ instruction. My little test program ... FFh
    DEC BC
    JR NZ,F9h
    RET[/FONT][/INDENT ... seems that [FONT="Courier New"]JR NZ[/FONT] is not recognising the ... missing something? My book simply states that it will branch to ...
    Fikee Fikee August 2010 Sinclair Basic
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... Decrement counter 3 15
    JR NZ,LOOP ; Loop back -6 bytes ... ; Decrement counter 2 0D
    JR NZ,LOOP ; Loop back 20F1
    JR NZ,LOOP ; Loop back 20E5
    t mind, you are learning... the ...
    Fikee Fikee August 2010 Sinclair Basic
  • Keyboard demoHere's a preview of a new keyboard for the special fx engine. Press any key to start/restart. [url]http://dl.dropbox.com/u/9498358/fire_keyboard.sn…

    ... signature.
    It doesn't eat much.

    t play your sna ... white ink + bright
    jr putcol1

    whitekey1 ...
    dec c
    jr nz, loop1

    ld ...
    dec c
    jr nz, loop2

    ret ...
    FrankT FrankT August 2010 Development
  • Keyboard demoHere's a preview of a new keyboard for the special fx engine. Press any key to start/restart. [url]http://dl.dropbox.com/u/9498358/fire_keyboard.sn…

    ... occasional, and I wasn't intially sure whether it was ... + WHITE INK + BRIGHT
    JR PUTCOL1

    WHITEKEY1: ... />
    DEC C
    JR NZ, LOOP1

    LD C ... />
    DEC C
    JR NZ, LOOP2

    NEXTPIXEL: ...
    kgmcneil kgmcneil September 2010 Development
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... your example you probably won't need to explicitly clear the ... . *Just make sure you don't need to worry about the ... 's auto DEC B & JR instruction - which is:


    [code]DEC B
    JR NZ,LOOP1[/code]

    Z80 ...
    Chris Pile Chris Pile September 2010 Sinclair Basic
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... actual value in A doesn't really change.

    Anyway ... these flags with commands like JR Z, JR NZ, JP NC, etc.
    joefish joefish September 2010 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> PRINT t;":Finish : ";ft't;":Duration : ";ft-st:
    LET t(t)=ft-st ... ) ;A=l$ cp (hl)=v$(t)
    jr c,NEXTS1

    NEXTS2: dec b
    jr nz,FORS
    ld a,1 ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... as BASIC doesn't evaluate expressions within ... is not ":"
    jr nz,Exit ;then, exit. It ... then exit.
    jr nz,Exit
    rst ... If not...
    jr nz,Exit
    rst 20h ...
    mcleod_ideafix mcleod_ideafix October 2010 Development
  • The Programmers Development System (PDS)Hi everybody, I recall this system has been mentioned several times on WoS forums. Last time was, I think, when those sources from Maz Spork (Buggy …

    ... than Z80 but it doesn't hurt to have a working ... 'bank' directive but I don't know how to use it ... ,(254)
    and 1
    jr nz,$loop

    jp zx232 ...
    ASM ASM October 2010 Sinclair Miscellaneous
<1…78910111213…34>

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
jr 3.2K 12.2K
nz 2.2K 5.2K
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…
  • 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…
  • 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…
  • E.T. didn't go home..This cheered me up :)<br /> <br /> [img]http://i.funny.sk/o/o42581-et-neodisiel-domov.jpg[/img]
  • NZ earthquake! NZ-WoSsers ok?Just heard about the terrible earthquake that hit New Zealand.<br /> <br /> I hope that any NZ-WoSsers are ok, my thoughts are with you guys.<br /> <…

Related Searches

  • t states per scanline
  • can t load tzx
  • every t states generate an interrput
  • every t states generate an interrput writing emulator
  • wait t states
  • 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
  • clock cycle jr nz
  • t states calculation
  • multiple t states per operation
  • two t states per operation
  • calculate t states
  • t states jumping
  • jr nz timing

Copyright © 2024 World of Spectrum