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.010s
<1234567…34>
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ...
    ld (hl),a
    jr nz, kontroll2

    inc h ...
    ld (hl),a
    jr nz, kontroll3

    inc h ...
    ld (hl),a
    jr nz, kontroll4

    inc h ...
    ld (hl),a
    jr nz, kontroll7

    jp writetext ...
    Rickard Rickard October 2010 Development
  • Help needed with simple MCode routineI'm trying to code a routine to clear the screen and I can't figure out why it's not working: ld hl,16384 ld bc, 6144 loop:ld (hl),0 inc hl dec bc l…

    ... ,b
    or c
    jr nz,loop
    ret

    Rebelstar without a cause Rebelstar without a cause November 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... DE
    DEC HL
    JR NZ,loop

    RET
    trellis trellis December 2010 Development
  • CrusoePlease add the following "known errors" description for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0002872"]Crusoe[/URL]: [QUOTE]Bu…

    ... $80E5 ; jump correction
    JR $8149 ; 80E5 18 62
    JR $8706 ; 8736 18 CE
    JR NZ, PATCH ; B8FD 20 F7
    Einar Saukas Einar Saukas June 2011 Infoseek database
  • (part of) screen to UDGHere is a routine to copy a Y,X-position on screen to a UDG. 0<=y<=23 0<=x<=31 144<=udg<=165 (UDG "A" to UDG "U") [code] ; start code with ; PRINT …

    Here is a routine to copy a Y,X-position on screen to a UDG.
    0
    Dr BEEP Dr BEEP June 2011 Development
  • Cobra (improved BUGFIX)This is an improved BUGFIX for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000996"]Cobra[/URL], please replace the "known errors" de…

    ... /> 9604: cp b
    9605: jr nc,$9601 ; repeat forever!
    9604: nop
    9605: jr nz,$9601
    9607: ret[/CODE ...
    Einar Saukas Einar Saukas June 2011 Infoseek database
  • Kiwi OS for z80 computerHi everyone, Nearly made my z80 computer with 2K ROM 32K RAM. It has an OS im still writing called Kiwi (apple, blackberry, you get the idea ;D) he…

    ... ;IS THE OPTION NEW
    JR NZ, RUN_COMPARE ;IF NOT NEW, JUMP ... ;IS THE OPTION RUN
    JR NZ, GOTO_COMPARE ;IF NOT RUN, JUMP ... ;IS THE OPTION GOTO
    JR NZ, SAVE_COMPARE ;IF NOT RUN, JUMP ... ;IS THE OPTION GOTO
    JR NZ, LOAD_COMPARE ;IF NOT SAVE, JUMP ...
    Robin Robin August 2011 Announcements
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ... /> 5B16 CP FF
    5B18 JR NZ,5B11
    5B1A LD IX ... /> 5B24 CALL 0556
    5B27 JR NC,5B1A
    5B29 LD ... /> 5B33 CALL 0556
    5B36 JR NC,5B29
    5B38 JP ...
    djgarf djgarf August 2011 Sinclair Miscellaneous
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ...
    and a
    jr nz,do_the_redefine
    ; ok, lets ... go check next key
    jr gk_exit
    gk_key_is_pressed: set ... do it all again
    jr get_defined_key
    ret ; ...
    or c
    jr nz,d_loop
    ret
    ...
    polomint polomint September 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... DEC DE
    20 05 JR NZ,5h
    C9 RET[/CODE ...
    Paddy Coleman Paddy Coleman October 2011 Development
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... check code
    jp nz,ERRORA ;return on error
    push bc
    jr c,EVALOP ;1st 9 ... need no mod
    jr nz,RESSET
    ld ... br /> djnz SETBIT
    jr LDOPC2
    RESSET: sla ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • 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
  • Amazonia (BUGFIX)This is a bugfix for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0027280"]Amazonia[/URL], please add the following "known errors" des…

    ... uppercase 'N'?
    a4b6 20e7 jr nz,0a49fh ; otherwise wait for another ... 'n'?
    a4ba 20e3 jr nz,0a49fh ; otherwise wait for another ... 'n'?
    a4ba 20e3 jr nz,0a49fh ; otherwise wait for another ...
    Einar Saukas Einar Saukas January 2012 Infoseek database
  • 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
<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
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