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.008s
<1…3456789…34>
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... ,counter_addr
    dec (hl)
    jr nz,loop
    ...
    counter_addr:
    Einar Saukas Einar Saukas October 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ...
    cp low(NUMERO)
    jr nz,BucAdd
    ret
    endp ...
    cp low(NUMERO)
    jr nz,BucPrint2Dig
    ret
    endp ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... end of the list?
    jr nz,cerrar ; it is, going to ... points to next block
    jr bucle ; closing the loop
    Zup Zup December 2013 Development
  • Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…

    ... />
    sla h
    jr c, loop_12

    sla ... />
    sla h
    jr c, loop_16

    ... br /> rla

    jr nc, loop_12

    ... e
    dec e
    jr nz, no_swap

    ex ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... 65075: OR L
    65076: JR NZ, 65071
    65078: CALL 65188 ... AF'
    65125: JR NZ, 65140
    65127: JR NC, 65150
    65129 ... AF'
    65368: JR NZ, 65385
    65370: JR NC, 65395
    ... /> 65449: DEC A
    65450: JR NZ, 65449

    65452: ...
    Speccy_James Speccy_James February 2014 Development
  • Unusual custom turbo loaders - with sourcesI have always been fascinated by turbo loaders; my games all feature a TZX version with one of such schemes implemented, and I have been experimentin…

    ... br /> OR L
    JR NZ,65380
    CALL 65481
    OR E
    JR NZ,65433
    RET
    ...
    OR L
    JR NZ, 65380
    CALL 65481
    INC H
    JR NZ, 65392
    LD B, 201 ... D
    OR E
    JR NZ, 65433
    RET
    ...
    Alessandro Grussu Alessandro Grussu May 2014 Development
  • Currah ?Speech channelIt seems to me that it would be nice to be able to send words to the ?Speech with PRINT #5;"Speak English to me, Jimmy" or some such. There really i…

    ... /> or l ; zero
    jr nz, speak_2 ; jump if not

    cp ' ' ; space?
    jr z, say_it ; jump to say ... cp 13 ; carriage return
    jr z, say_it ; jump to say ... ), a ; done

    jr done

    allophones:
    chev chev June 2014 Development
  • Help with Manic Miner tweaksPlease. :) This is the Software Projects version, simply as I had it to hand. [B]Problem 1:[/B] I've learned a bit (actually quite a bit) and manag…

    ... DEC C ; 37104 13
    JR NZ, L_90E2 ; 37105 32 239
    JR NZ, L_9109 ; 37115 32 12
    JR NZ, L_8FEA ; 36823 32 17
    JR NZ, L_8FEA ; 36829 32 11
    spider spider July 2014 Games
  • Problem Reading the KeyboardHi Folks, I'm working my way through Toni Baker's rather good book and thought I'd write some code to scan the keyboard and store the results so tha…

    ... key in segment
    JR NZ,_storeKey2 ;If the bit ... key in segment
    JR NZ,_storeKey3 ;If the bit is ... key in segment
    JR NZ,_storeKey4 ;If the bit ... key in segment
    JR NZ,_storeKey5 ;If the bit is ...
    KrazyKattapilla KrazyKattapilla July 2014 Development
  • Machine Code in 30 minutes - car gameWotcha folks, 30 years on and I'm still struggling with Machine Code. I'm going through the 30-minute tutorial on the Chuntey blog and it's all made…

    ... ,(c)
    cp 191
    jr nz, moveright
    inc l
    cp 191
    jr nz, dontmove
    dec l
    JR NZ MOVERIGHT? This really infuriates me ...
    Tobo Tobo August 2014 Development
  • Kempston joystick detectionIn both [url="http://skoolkit.ca/disassemblies/manic_miner/asm/34252.html#34332"]Manic Miner[/url] and [url="http://skoolkit.ca/disassemblies/jet_set…

    ... connected (bit 5 reset)?
    JR NZ,NOJOY ; Jump if not
    SkoolKid SkoolKid October 2014 Hardware
  • ROM Calculator TrigHello, These Christmas holidays I finally have time to devote myself a little to the speccy . I have a question about how the ROM calculator implem…

    ... be the counter for dec-jr-nz
    CALL GEN_ENT_1 ;In effect ... be the counter for dec-jr-nz
    CALL GEN_ENT_1 ;In effect ... FP_ADDITION
    DEFB FP_DEC_JR_NZ ;dec-jr-nz

    DEFB SINELOOP - $ ;;to ...
    rtunes rtunes December 2014 Development
  • Return to basic from sna created by Z80 compilerHow can I go back to basic when running sna created using Z80 Assembler ([url] http://www.worldofspectrum.org/utilities.html#crossass [/url])? For e…

    ... ,(254)
    and 1
    jr nz, skok
    ret
    [/code ...
    princm princm January 2015 Development
  • ZERO Emulator - BugsI have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger. However I believe I found a few b…

    I have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger.
    However I believe I found a few bugs, some in "zero" application, and some on emulation itself.

    The following example ...
    RMartins RMartins July 2015 Emulators
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... top of screen yet?
    jr nz,loop ; no, carry on.
    jr nz,loop ???
    ret - returns to ...
    antonyjones101 antonyjones101 September 2015 Development
  • Text scroller and custom fontYesterday I was testing this text scroll routine taken from Jonathan Cauldwell's Intro Maker (labels have been inserted to allow partial code relocab…

    ... 00654
    INC E
    JR NZ, L_35381
    L_35387: HALT
    INC E
    RET NZ
    CALL L_35414
    JP ... DE)
    AND C
    JR Z,L_35464
    INC (HL ... HL)
    AND A
    JR NZ,L_35485
    LD HL, MESSAGE ...
    Alessandro Grussu Alessandro Grussu January 2016 Development
  • 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
  • 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 …

    ... /> and 7
    jr nz,loop1 ; jr if not 8 pixels
    cp $5b
    jr nz,loop2 ;

    ret ... ; 07ts
    jr nz, lddelay ; 07/12ts ; jr if not 8 pixel ... dlyloop: dec a ; 04ts
    jr nz, dlyloop ; 07/12ts
    ; ...
    FrankT FrankT February 2017 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
<1…3456789…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
clock 3.1K 4.7K
cycle 1.8K 2.6K
jr 3.2K 12.2K
nz 2.2K 5.2K

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 /> <…
  • 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…
  • speaking clock anyone?[url="http://www.limmy.com/speakingclocks/yoda/"]http://www.limmy.com/speakingclocks/yoda/[/url]
  • Z80 cycle contentionHi,<br /> Does anybody knows exactly when the ula halts the Z80 clock during a memory r/w cycle?<br /> I mean which Z80 clock cycle, T1 or T2?<br /> …
  • Burn cycle installation on xp?Has anyone an idea how to install this game on windows xp please.
  • I just can't get up with my furry alarm clockSorry... just had to say it.
  • BONG! 02:00 AM Auckland, NZ...Has anybody heard of the musician "Kevin Ayreles(?)" before......?
  • Gregory Loses His Clock: the movieAnyone seen this before?<br /> <br /> [url]http://www.youtube.com/watch?v=Mx5F3wXS0CQ[/url]
  • Has WOS's clock gone mental?For 3 days now on the main forum page WOS has been saying that I last visited 27 mins ago at 1.45. No matter what time I log in, also it displays the…
  • 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…

Related Searches

  • harlequin cpu clock
  • harlequin clock
  • system clock
  • clock
  • clock conditioning circuit
  • clock circuit
  • clock square
  • clock not square
  • donkey kong jr corrected jump tap
  • clock basic
  • jp nz
  • divmmc clock signal
  • donkey kong jr
  • cycle
  • cycle counting
  • cycle exact
  • cycle exact routine
  • clock cycle counting
  • jr nz timing
  • jr nz t states

Copyright © 2024 World of Spectrum