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>
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ...
    or c
    jr nz, DrawLine

    ... /> or c
    jr nz,NextAttr ;Finished with this ... /> or a
    jr nz,NextPass ;Finished with all ...
    HexDump HexDump April 2007 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... /> dec b ;decrease counter
    jr nz,loadloop ;repeat 8 times
    jr nz,loop1 ;repeat for all rows ... movements in one byte
    jr nz, loop1 ;repeat 8 times, ... to move graphic
    jr nz,loop1 ;repeat until d is ...
    Rickard Rickard May 2007 Development
  • Help hacking Split PersonalitiesI`ve been hacking away at Split Personalities for the purpose of putting new screens and graphics (items). The current screen is at 41187 and is 160…

    ... /> rra ; 54563 31
    jr nz, 54599 ; 54564 32 33
    ret nz ; 54616 192
    nop ; 54617 ... /> nop ; 54619 0
    jr l_d55e ; 54620 24 0
    l_d55e: jr l_d560 ; 54622 24 0
    FrankT FrankT July 2007 Games
  • Question on Z80 R/W cycles.Snipped from the complete spectrum ROM disassembly: [CODE] Now the memory is checked. 11DA RAM-CHECK LD H,D Transfer the value…

    ... 3FFF.
    CP H
    JR NZ,11DC,RAM-FILL
    11E2 ... Update the pointer.
    JR NC,11EF,RAM-DONE Jump ... 01 goes to +00.
    JR Z,11E2,RAM-READ Step ...
    wilsonsamm wilsonsamm August 2007 Sinclair Miscellaneous
  • Airwolf debuggingI've been trying to fix a couple of things in Airwolf. 1. To pause after death so as to avoid the multiple deaths. As it regenerates the helicopter…

    ...
    CP 31
    JR NZ,back
    JR pause

    back ...
    FrankT FrankT December 2007 Games
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... reached line2 yet?
    jr nz, nextbyte ;carry on if ... of 8 pixels
    jr nz,nextblock ;if not, carry ... be copied to?
    jr nz,subtract ;if not, carry ... cop[ied from?
    jr nz,nextline ;if not, carry ... the top yet?
    jr nz,nextline ;no, still some ...
    bigjon bigjon February 2008 Development
  • Probing the variables in 128K modeHello again! Briefly, I'm writing an m/c routine to read some BASIC variables. So, before I start, I try to get an idea for the structure of how var…

    ... BIT 5,A
    JR Z,STRINGARRAY
    SUB 128 ... /> ADD HL,DE
    JR NEXTVAR
    STRINGARRAY
    ... )
    INC HL
    JR PRINT
    NEXTBIT
    ... /> BIT 7,A
    JR NZ,LASTCHAR
    RST $10
    BIT 5,A
    JR NZ,JUMP
    ADD A,32 ...
    Digital Prawn Digital Prawn March 2008 Development
  • Speccy sound on tv show - againRemember the spectrum loading noise in two CSI shows? Well, fuzzix on c.s.s. has found what seems to be another clip of Speccy goodness: [url]http:/…

    ... LBITS CALL #5E3
    130 JR NC,LBYTE
    140 LD ... BIT 7,L
    200 JR NZ,LBITS
    210 LD A ...
    zxbruno zxbruno March 2008 Sinclair Miscellaneous
  • Spin send to assemblerIn the Spin (v0.666) debugger window, the view is something like this (with a symbols.txt file for labels/formating): [code][color=blue]LD_EDGE_2:[/…

    ... ]LD_DELAY:[/color] DEC A
    JR NZ, [color=magenta][u]LD_DELAY[/u ...
    l_05e9: dec a
    jr nz, l_05e9[/code]

    Without ... , $16
    dec a
    jr nz, ld_delay[/code]

    Would ...
    FrankT FrankT June 2008 Emulators
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... l ;L é y

    jr nc,end_circle ;While


    exx

    jr nz,fneg

    ; f positive ...
    rtunes rtunes September 2008 Development
  • So... you want to format your 3.5" as 720K eh?Well, i've been trying to get hold of an application to make proper use of my 3.5" +3 floppy disks but i haven't been able to find any. I stumbled up…

    ... on track 160 already?
    JR NZ,FOR2 ; If not, keep formatting ... the data to disk
    JR NC,FERR ; Jump if there ...
    NaMcO NaMcO December 2008 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... br /> cp 191
    jr nz, moveright
    inc l
    cp 191
    jr nz, dontmove
    dec l< ... br /> cp 255
    jr nz, checkright
    inc hl
    cp 21
    jr nz, newroadposn
    dec hl
    or c
    jr nz, wait
    jp principalloop
    bigjon bigjon December 2008 Development
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ... HL)
    JR NZ,nofnd
    ... HL)
    JR Z,colfnd
    Dr BEEP Dr BEEP December 2008 Development
  • Thinking in Assembly (first efforts)The following is one small routine to educate myself on a few concepts (jumps, flow control, routines, CPI): [code]searchmem xor a …

    ... /> search: cpi ; a-(HL)
    jr z, found
    [COLOR=DimGray ... bc==0 here[/COLOR]
    jr nz, search
    [B]ret ; not ...
    rahtgaz rahtgaz January 2009 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... ; address that was called.
    JR NZ,interrupts_off

    ;Switch interrupts ... ;04t => 022t
    jp nz,interrupt_delay_loop ;10t => 032t per ...
    joefish joefish May 2009 Development
  • FLASH EPROM programming on ZXExist any other software for rewriting FLASH EPROM or EEPROM chips on real ZX ? I know only: EEPROM flasher for original DivIDE [url]http://85.132.…

    ... /> and $1f ;
    jr z, l_5cd7 ; wait for any ... 6, h ;
    l_5ce5: jr nz, l_5cf9 ;

    ... ; verify byte
    jr z, l_5ce2 ; continue in ...
    velesoft velesoft July 2009 Hardware
  • 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 ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • 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…

    ... C ;Next Character
    2006 JR NZ,LOOP2 ;Goto LOOP2 if not ... B ;Next Line
    201B JR NZ,LOOP1 ;Goto LOOP1 if not ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • 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
  • 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
<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