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.006s
<1…45678910…34>
  • Help! I'm learning Machine Code...Having decided to take the plunge and learn to machine code a while ago, I have started in earnest using the much recommended 'Mastering Machine Code…

    ... AF
    CP 32h
    JR NZ, 5
    LD SP, (5CB0 ...
    namtip namtip February 2016 Development
  • Must be missing the point - machine code... Hi Folks, Trying my hand at machine code again but falling at the first hurdle. I hand crafted the following to run at address 62000 and the co…

    ... H
    DEC C
    JR NZ, Loop2
    LD H, & ... /> NOP
    DEC B
    JR NZ, Loop1
    RET
    [/code ...
    Paddy Coleman Paddy Coleman September 2016 Development
  • Fast way to clear the screen ?So I was wondering fastest way to clear the screen. I've tried this and this works but is it better than CLS ? LD HL,16384 LD BC, 6144 Loop…

    ... ,B
    OR C
    JR NZ, Loop
    RET

    ivanb303 ivanb303 December 2016 Assembler
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... a ;is it zero?
    jr z,msl_skip_shift ;okay, no shifting ... will be 0 then
    jr nz,msl_shift_done ;if not, we're ... it back in L
    jr c,msl_shift_done ;if ADD A ...
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • Copying a single character from one place to another?[code] ORG 33000 LD A,8 LD HL,16384 LD BC,256 LD DE, 18432 LOOP: PUSH AF LD A,(HL) LD (DE),A ADD HL, BC POP AF DEC A JR NZ,LOOP REST […

    ... AF
    DEC A
    JR NZ,LOOP
    REST
    [/code ...
    ivanb303 ivanb303 March 2017 Assembler
  • 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…

    ... ; 13t - into later code
    jr _ulzfa020 ; 12t
    ;;
    ;; ... then need next byte
    jr nz,_ulzfa030 ; 12/7t - 7 ... inc hl ; 6t - next
    jr _ulzfa020 ; 12t - back to the ... *** loaded from above
    ret nz ; 11t - if not equal to ...
    TomD TomD April 2017 Development
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... a 60020 B7
    jr z,goright 60021 28 ... 98 EA
    jr nz,seekleft 60029 20 F4< ... d 60033 14
    jr z,rightedge 60034 28 12 ... e 60051 1C
    jr seekright 60052 18 E9
    jr nz,nextrun 60057 20 CC
    Paddy Coleman Paddy Coleman August 2017 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... 32 ;is it SPACE?
    jr nz,enter_key ;if not, check if ... 13 ;is it ENTER?
    jr nz,ss_key ;if not, check if ... ;is it SYMBOL SHIFT?
    jr nz,cs_key ;if not, check if ... ;is it CAPS SHIFT?
    jr nz,as_is_key ;if not, then print ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • Other than using attributes what other ways to detect collisions, when using char based movement?So I'm slowly working out the bits and pieces to write a game completely in assembly. I've been using attributes when writing in BASIC to detect whet…

    ... ,bc
    dec a
    jr nz,LOOP
    pop bc
    ivanb303 ivanb303 November 2017 Development
  • No-tearing (“vsync”) Full Screen FadeSeeing as most screen fades exhibit visible tearing, I wrote my own routine which does away with that problem. Simple, effective, short, and fully re…

    ... timings of different machines
    jr nz,1$ ;before we start drawing ... ,a ;copy into C
    jr z,f1 ;leave it alone ... /> and $38 ;isolate PAPER
    jr z,f2 ;leave it alone ... end of attr area?
    jr nz,fade1 ;repeat if not
    Ast_A_Moore Ast_A_Moore December 2017 Development
  • Prportional Ascii text scrollerA couple of years ago I wrote a little scroller that nestles at the top of RAM (FFCA - 65482) and scrolls standard Ascii encoded text from anywhere y…

    ... ,a ;get bit 7
    jr nc,scroll ;if set, jump ... line down
    db 18h ;(jr scr_lp0)
    ;use F3h from ...
    Arkannoyed Arkannoyed August 2018 Development
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... br /> dec e
    jr NZ, fastwidthloop
    jr chardone

    ...
    dec e
    jr NZ, widthloop

    ... /> or a, a
    jr NZ,nextchar
    lastchar:
    ... inc -4 (ix)
    jr NZ,dataadd16
    inc -3 (ix ...
    Sol_HSA Sol_HSA December 2018 Development
  • Help With infinite music on 128KHi :) I'm trying to play infinite simple music on 128K , but i don't know what is wrong with the loop I tried this routine but doesn't work I…

    ...
    ei

    jr $ ; infinite loop only waits for ... hl)
    or a
    jr nz,waitSound
    inc hl
    cp $FE
    jr z,jumpNotes
    ld bc ... a
    inc hl
    jr bucle

    waitSound
    maeloterkim maeloterkim July 2019 Development
  • type in to learn about IM2I'm trying to mess around with learning about IM2 and I found a nice little article in Sinclair User September 1988, issue 78, Page 70-71 [url="https…

    ...

    clock_on:
    jr INT_ON ;on entry point
    inc L
    jr nz, INT10
    inc H
    dec (HL)
    jr nz, PRINT_TIME
    ld (HL), 50 ... HL)
    cp (HL)
    jr nc, PRINT_TIME
    ld (HL ...
    andydansby andydansby July 2020 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    Pity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the ZX Spectrum 48K. It was for a text/graphic adventure I'm working on. The algorithm is based on [url="http ...
    Volker Volker February 2021 Software
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... 8
    dec c
    jr nz, .nextbyte
    ENDIF
    ... e
    or a
    jr nz, .somethingpressed
    inc a ; clear ... =0)
    or a
    jr nz, .nothalfline0
    ld a, ... /> ld a, (hl)
    jr nz, .getkeyval
    bit 1, a ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... ,A
    ........DEC E
    ........JR NZ,bit
    ........OR (HL)
    ........AND 7
    ........JR NZ,cnt ; only 1 every 8 ... AF
    ........DEC D
    ........JR NZ,vloop
    ........RET

    Dr BEEP Dr BEEP October 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... it
    ........DEC E
    ........JR NZ,bit
    ........LD E,A ... adrescalculation
    ........DEC D
    ........JR NZ,vloop
    ........RET
    Dr BEEP Dr BEEP October 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... ,d
    and 7
    jr nz,filltab
    ld a,d ...
    ld e,a
    jr nz,filltab
    ld a,d ... ,a
    cp #58
    jr nz,filltab
    ld sp,(sstack ...
    Mikie Mikie November 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... /> jp z,or_fim2
    jr nc,dym
    ld a ... /> ld b,l
    jr startver
    dym: sub e ...
    AND 7
    jr nz,nexty
    ld a,l ... /> ld a,1
    jr z, or_pixel3 ; pixel is at ...
    rtunes rtunes November 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... rrca
    inc l
    jr nz,lp_mpt1
    inc h
    inc l
    jr nz,lp_mpt2
    inc h
    and #07
    jr nz,$+12
    ld a,e ...
    SerzhSoft SerzhSoft January 2002 Sinclair Miscellaneous
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    hi arjun and look again. there is 'JR NZ' so the results would be 81h, 85h, 0dh and 80h unless there is more after the label change...
    Mikie Mikie August 2001 Sinclair Miscellaneous
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    umm..but the JR NZ would be exectued only if ... will result in a failed JR NZ (since comparison fails) and will ...
    Arjun Arjun August 2001 Sinclair Miscellaneous
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    ... to machine code basics:
    jr nz would be executed always, but ... with the instruction after the jr nz
    if the zero flas ... />
    and you've mistaken jr nz for jr z which acts inversely...
    Mikie Mikie August 2001 Sinclair Miscellaneous
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    Right. I had indeed gotten the JR NZ and JR Z mixed up!
    Happens to me all the time! [img]/__forums/images/smiles/icon_frown.gif[/img] .
    My mistake!
    Arjun Arjun August 2001 Sinclair Miscellaneous
<1…45678910…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
timing 3.3K 4.1K

Related Threads

  • 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 /> <…
  • 5C Horizontal timing vs 6C horizontal timing.Hi all,<br /> <br /> Just considering the timing difference in the video signal between the 5C and the 6C where the 6C ULA seems to have 50% longer…
  • TimingHey All,<br /> <br /> Is their away of obtaining timing information on ZX128k other than addresses 23672-&gt;23674. Basically I would like to identi…
  • 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…
  • BONG! 02:00 AM Auckland, NZ...Has anybody heard of the musician "Kevin Ayreles(?)" before......?
  • Contention and floating bus timingHello,<br /> <br /> I was recently playing a bit with memory contention and floating bus stuff in ZXDS and there is one thing which puzzles me a bit.…
  • Pentagon floating bus timingI wanted to take a little break from working on the ZXDS UI yesterday, so I added support for Pentagon timing instead, so I can finally enjoy the lik…
  • Miss IN31 Jr has entered the buildingBorn four hours ago Imogen Murray weighed in at 6 pound and 15 ounces. Mother doing fine and father about to hit the white wine. <br /> <br /> :smil…
  • Timing... in the CSS faqI was looking at the CSS faq for something completely unrelated and noticed:<br /> <br /> [quote]<br /> Then the 192 screen+border lines are displaye…
  • Atarisoft's Donkey Kong Jr, for Spectrum?I've recently written in my blog a quotation about what it seems a withdrawn project, a "Donkey Kong Jr" conversion to be published by Atarisoft.<br …

Related Searches

  • 2a timing
  • tk90x and timing
  • zx 128k timing
  • zx 128k timing test program
  • 128k timing test program
  • zx spectrum 128k timing
  • ram timing
  • 128 timing
  • test 128 timing
  • 128 48 timing
  • donkey kong jr corrected jump tap
  • jp nz
  • donkey kong jr
  • timing
  • donkey kong jr 2
  • 128k paging timing
  • timing test failing
  • cycle timing
  • clock cycle jr nz
  • jr nz t states

Copyright © 2024 World of Spectrum