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
<1234567…34>
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    Here's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in variables (or expressions which evaluate to variables). Some of this can already be done with VAL or VAL$, ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Undefine functionHere's a routine to selectively remove variables from the VARS area and reclaim the space. This can be done partially from BASIC already by assigning…

    ...
    pop de
    jr c,CHKNXT ;variable already undefined ... $E0
    cp $E0
    jr nz,NOTFOR ;not a for...next ... variable
    call RECLAIM2
    jr CHKNXT

    ;string ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • S-S-Sample black borderI'm wanting the 'S-S-Sample' routine from YS to play the sounds without the flashing border effects. A plain black border is required. Heres the rou…

    ... , d
    or e
    jr nz, l_8043
    ld a, 0 ...
    daveysludge daveysludge January 2012 Development
  • joining lines of BASICDue to overwhelming demand - well, one demand - well, more of a suggestion, really - here's a routine to join together lines of BASIC. The vertical c…

    ... cp 7 ;EDIT
    jr nz,NOTEDIT
    set 6,(IY ... :cp $0d ;ENTER
    jr nz,NOENTER
    res 6,(IY ... CP 11 ;cursor up
    JR NZ,FINISH

    CURSUP: ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • The INPUT command routine ($2089)I was looking at the INPUT routine with a view to modifying the intro so that I could pre-load the workspace and edit an existing value, rather than …

    ... , check the INPUT for
    JR 2161,IN-VAR-4 errors ... is taken if using
    JR NZ,2174,IN-VAR-5 other ...
    Battle Bunny Battle Bunny February 2012 Development
  • AZIMUT / Frecuency spectrum[code]start DI LD HL,#7F40 LD D,#58 loop LD B,#00 bucle1 LD A,H IN A,[#FE] XOR A,C AND A,L J…

    ...
    AND A,L
    JR NZ,findA
    DJNZ bucle1
    AND A,L
    JR NZ,findB
    DJNZ bucle2
    RRA
    JR C,loop
    EI
    Z80user Z80user February 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... ,b
    or c
    jr nz,SCREEN_CLEAR_LOOP

    ld a ... />
    ld (PRT_CHR),a
    jr START

    PRT_CHR
    Morkin Morkin March 2012 Development
  • 28-character wide multicolour(ish) on 48k SpectrumLong-time lurker here... I've always been interested in rainbow effects on the 48k Spectrum, mainly from a perspective of "Just what [I]would [/I]ha…

    ... ,B
    OR C
    JR NZ,DELAY

    ld bc ...
    AMW AMW April 2012 Development
  • Inefficient code in ROM, from ram-check to RAM-DONEHere is the inefficient code: [CODE] ;; ram-check L11DA: LD H,D ; Transfer the top value to the HL register LD L,E …

    ... we reached ROM - $3F ?
    JR NZ,L11DC ; Back to RAM-FILL ... (HL) ; decrement to 1.
    JR Z,L11EF ; forward to RAM ... ; increment for next iteration.
    JR Z,L11EA ; forward to RAM ...
    antoniovillena antoniovillena April 2012 Development
  • Jelly-Vision!As threatened in the "'Spectrum Play' Error" thread, here's a ruff'n'reddy interrupt driven full screen wobbling routine which has no practical use w…

    ... printing in lower screen?
    jr nz,TESTSCROLL
    bit 1,( ... br /> cp $0e
    jr z,INSCROLL
    push bc ... ld bc,6144-256
    jr nz,MOVEUP
    MOVEDOWN: ld hl ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... br /> cp 13
    jr z,foundcr ; recognises some ... a
    inc hl
    jr nextchr

    rst16replacement ... br /> and a
    jr nz,skipoverprint
    push hl ; ...
    uglifruit uglifruit August 2012 Development
  • merging bytesPicturing three bytes with their bits identified by letters to make the visualisation easier, what's the best way to perform this transformation? [co…

    ... e
    dec a
    jr nz,N1
    N2: ld a ...
    Battle Bunny Battle Bunny August 2012 Development
  • Any ideas on speeding up this assembler segment?It copies a pixel column of a rectangle which may be anywhere in the display file to a pixel column in d$. The source column may start at any bit pos…

    ...
    and $01 ; 7
    jr z,next_d ;12
    ;** = 62 ... column scan depth remaining
    jr nz,for_d ;12
    ;** = 64
    Battle Bunny Battle Bunny September 2012 Development
  • BeepFX ProblemHi All, I'm currently trying to integrate the BeepFX engine in my 100% Assembler Game and it plays the sound fine, but then plays the sound again, a…

    ... ,b
    or c
    jr nz,SFXRTl1
    ld a,(SFXRTDUTY ... b
    or c
    jr nz,SFXRTl0
    ld c,11 ... a
    dec d
    jr nz,SFXRNl2
    ld d,e ...
    Shando Shando September 2012 Development
  • Kempston detectionI could use some help. This Kempston joystick behaviour drives me mad. I've written a game called Necrospermia recently ([url]http://www.worldofspec…

    ... )
    BIT 0,A
    JR NZ,StartAnim3

    XOR A ... )
    BIT 4,A
    JR Z,StartAnim4

    LD ... /> RET

    StartAnim4
    JR StartAnim2 [/CODE]
    Ralf Ralf October 2012 Development
  • Using R as a loop counterThis is just something silly I've found a while back. xD [b][How-to][/b] Setup your routine like this:[code] ld a,X ;see below ld r,a loop ;your …

    ...
    ld a,r
    jr nz,loop[/code]Here, X is ... the final 'ld a,r: jr nz,loop' commands) which you need ...
    ld a,r
    jr nz,.l2
    ld a,b ...
    Hikaru Hikaru October 2012 Development
  • multi-scroll m/c subroutine for BASICArising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. whe…

    Arising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. where width is
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... l
    26 8022 20e3 jr nz,mksn1
    27 8024 se ...
    g0blinish g0blinish October 2012 Development
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    hi! please, help with code:
    [PHP]For x=-100 To 100
    For y=-100 To 100
    If (x/2-25)*(x/2-25)+(y-50)*(y-50)
    g0blinish g0blinish November 2012 Development
  • Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…

    ... , hl
    dec c
    jr nz, exo_setbit
    exo_one:
    ld ... br /> ld c, 16
    jr nz, exo_get4bits
    ld de, 1 ... , hl
    dec c
    jr nz, exo_setbit
    exo_one:
    ld ...
    antoniovillena antoniovillena November 2012 Development
  • MultifaceOneCrack-Killer.tzxhi all just wondering if anyone has ever tried to use this tool? i have had a look at it and think i understand wot it's ment to do but the code loo…

    ...
    JR NZ, 24160
    JR NZ, 24162
    JR NZ, 24164
    JR NZ, 24166
    JR NZ, 24153 ... 8301
    JR NZ, 24177
    JR NZ, 24179
    JR NZ, 24181
    JR NZ, 24183
    djgarf djgarf April 2013 Sinclair Miscellaneous
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ... 6912, dec it, and use jr nz,-10 ?

    (Actually, have ...
    Tobo Tobo June 2013 Development
  • Works in Fuse & SpecEmu, not ZXSpinI decided that I wanted to change the scroll routine which I was using for compiling the Trailblazer maps, as I'd just copied it out of Andrew Hewson…

    ... cp $ff
    jr nz,PRINT2
    pop af ... /> dec a
    jr nz,PRINT1

    ... call $15de ;WAIT_KEY1
    jr PRINTMAP

    ... /> dec a
    jr nz,PATLOOP
    ret
    Battle Bunny Battle Bunny June 2013 Emulators
  • Idk>le me browsing through some game's code >..... [code]61A8 F5 push af 61A9 3EFF ld a,FF 61AB D37F out (7F),a 61AD D33F ou…

    ... cp B5
    6202 20DF jr nz,61E3
    6204 CDC362 ... br /> 6230 20F6 jr nz,6228
    6232 18AF jr 61E3
    ... ,001A
    624C 18DA jr 6228
    624E CDC362 ... or c
    6277 20F6 jr nz,626F
    6279 3D ...
    Hikaru Hikaru June 2013 Development
  • Cobra (improved again BUGFIX)This is an improved BUGFIX for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000996"]Cobra[/URL], that works better than the fix curre…

    ... /> 9604: cp b
    9605: jr nc,$9601 ; repeat forever!
    9604: nop
    9605: jr nz,$9601
    9607: ret
    Einar Saukas Einar Saukas July 2013 Infoseek database
  • Adding a pause key to ArkanoidHaving rediscovered the simple pleasure of playing 1980s games on genuine 1980s hardware, I've also remembered that emulation can provide a feature m…

    ... again
    rra
    jr nc,$ - 3 ; keep probing ... ei ; restore interrupt handler
    jr .return_to_game[/CODE]

    ... br /> dec a
    jr nz,$-1
    and a< ...
    stephenw32768 stephenw32768 August 2013 Games
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... ;a=GHABCDEF
    JR NC,SWITCH ;turn around ; ...
    JR NZ,FLIPH ;do all the columns JR NZ,fliph
    DEC C
    JR NZ,fliph
    RET
    ...
    MatGubbins MatGubbins August 2013 Development
  • MGT MOUSE - exist really ?I read disassembly of +D rom/ram code and from address #2249 is routine for read MGT MOUSE ports. I can't find any info about "MGT MOUSE". Exist real…

    ... br /> 2250 RET NZ Return if no ... br /> 2264 RET NZ Return to vertical movement ... br /> 227A RET NZ Return to signal ... D
    227D JR NZ,#2285,MOVE_UP Jump if ...
    velesoft velesoft August 2013 Hardware
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... ]
    ScrDol0:call ScrDol
    jr nz,ScrDone
    call $2bf1 ;STK_FETCH ... )
    ld (23606),hl
    jr z,ScrDone
    ld a ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
<1234567…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