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>
  • 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…

    ... cp d
    jp z,or_fim
    jr nc,dxm
    ... /> XOR %00000111
    jr z,part_meio ;if bit 7 then ... br /> or 0
    jr z,part_dir

    ... /> or 0
    jr z,fim_horz

    ...
    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…

    ... cp e
    jp z,or_fim2
    jr nc,dym
    ... ld b,l
    jr startver
    dym: sub ... /> AND 7
    jr nz,nexty
    ld ... ld a,1
    jr z, or_pixel3 ; pixel is at ...
    rtunes rtunes November 2001 Sinclair Miscellaneous
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... conditional jumps (e.g. JP Z) for that.
    You ... You can also replace
    JP Z, returntobasic

    with ... RET Z
    in this code ( ... a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... 0, a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... 0, a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... 0, a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ...
    add a,6
    jp airloop
    ret
    nal24 ... 0, a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... br /> cp 31
    jr nc,wearefine
    sub ... 23 ;check row
    jr c,wearefine
    sub 24 ... add a,6
    jp airloop
    jr z,cltoe31

    ... a

    jp z, returntobasic
    jr mainloop

    returntobasic ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... or >= checks
    jr c,wearefine
    sub 32 ... before calling text_out
    jr nc, cltoe31
    call ... ), a
    jp airloop
    ;jr z,cltoe31 this instruction cannot ... a

    jp z, returntobasic
    jr mainloop

    ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... or >= checks
    jr c,wearefine
    sub 32 ... before calling text_out
    jr nc, cltoe31
    call ... ), a
    jp airloop
    ;jr z,cltoe31 this instruction cannot ... a

    jp z, returntobasic
    jr mainloop

    ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... , wait
    jp afttt ;start game
    jr inpstrt
    < ... 0
    call sprite8x8a
    jp sound1

    ;a ... a

    jp z, returntobasic
    jr mainloop

    ... b
    inc b
    jr .outerloop

    ; ...
    Kotek Kotek July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    Collision detection player vs. electrodes and electrode ... ixl ; num_electrodes
    ret z
    jr .nextelectrode

    ... first, stack empty
    jr .nextloop

    call check_electrode_overlap
    jr c, .doitagainx
    pop ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... HALT


    JP MAIN

    RET
    CP 0
    JP Z,INTEND

    < ... br /> CP 8
    JR NZ,ok1

    CP 23
    JR NZ,ok2
    LD ...
    robpearmain robpearmain September 2004 Development
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... br /> CP 255
    JR NZ,prelp

    CP 8
    JR NZ,lp2

    ... /> CP 22
    JR NZ,ok2
    LD ... OKTOFLIP)
    CP 0
    JP Z,INTEND


    robpearmain robpearmain September 2004 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... SHIFT POSITION 0-3
    JR Z,Z2
    INC C ... br /> AND 3
    JR Z,Z1
    LD B,A ... /> OR A
    JP Z,COLMODB ;Last tile wasn't ... OR A
    JP Z,ZERO

    JP PUTBLOCK ;don't ... A
    OR A
    JR Z,ZERO


    dmsmith dmsmith September 2004 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... ,table-1 ; Use JR value for high B- ... end of table
    jp z,#1ff8 ; Do last carriagereturn ... by testing carry
    jr c,prtab ; The last ... so DEC B
    jr nc,nline ; Ready when ... and calculate screen
    jr prbyte ; Print byte from ...
    Dr BEEP Dr BEEP September 2004 Development
  • Screen LoaderCouple days ago i find very interesting loader routine in ex Yugoslavia magazine "Svet Kompjutera" from january 1987. Authors of article, calls this …

    ... /> LFEEB CALL LFF66
    JR NC,LFEEA
    LD HL ...
    CALL LFF62
    JR NC,LFEEA
    LFEFF LD ... /> CP &D4
    JR NC,LFF0E
    CALL LFF66 ... /> AND &20
    JR Z,LFF6C
    LD A,C ... /> CP 8
    JP Z,PR
    JP KRAJ
    PR LD ...
    Pegaz Pegaz August 2006 Games
  • Currah MicroSource emulationIt appears to be impossible to emualte the MicroSource in software on the ZX Spectrum SE as hardware polling is required. The following patch is not …

    ... dec sp ; $1901
    jp $2bb1 ; $1902
    l1905 ... /> xor a ; $1908
    jr l1905 ; $1909

    ... br />
    ZX_patch:
    jp $386e ; $18f3
    ldir ; ... bit 2,(hl)
    jp z,$1909
    set 3 ... 3,(iy+$30)
    jp z,$1909
    ld a ...
    chev chev March 2007 Emulators
  • 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 ... posn to be copied
    jr nextblock
    addone
    jr nz,nextblock ;if not, ... to be copied to)
    jr nextline
    subtract
    jp z,endroutine ;finish if we've ...
    bigjon bigjon February 2008 Development
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... 0
    OR H
    JP Z,writefinish ;finished if trying to ... Carry
    POP HL
    JR C,gfxdraw2 ;X/Y ok ... $80 ;check bit 7
    JR Z,$+4 ;=0 so dx is ... $80 ;check bit 7
    JR Z,$+4 ;=0 so dx is ...
    Jimmy Jimmy August 2008 Development
  • 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…

    ... $00 ;IS IT NOTHING?
    JP Z, KEYSCAN_FUN ;KEEP LOOPING UNTIL A ... IS THE OPTION GOTO
    JR NZ, LOAD_COMPARE ;IF NOT SAVE ... ;WAS THERE A CHANGE
    JR Z, SCAN_KEY_1 ;JUMP BACK IF THERE ... WAS THERE A CHANGE
    JR Z, SCAN_KEY_7 ;JUMP BACK IF THERE ...
    Robin Robin August 2011 Announcements
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... ;end of GOSUB stack?
    JR Z, NOGSUB ; 40 16
    ... ;+2A/+3/+3e fix
    JP Z, $1F36 ;REPORT_7 ; 202 54 ... 31
    JP $1E73 ;GO_TO_2 ; 195 115 30 ... code at the relevant JP address.
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Invalid combination of operands and opcodesIt says the error in the title, why is this?? [CODE] ORG 0000 LD HL, 63000 ;LOAD HL WITH STACK LOCATION LD SP, HL ;SET STACK POINTER TO HL LD A, …

    ... , (1) ;RETRIVE KEYBOARD
    JP Z, KEYBOARD_SCAN_MENU ;IF NOTHING PRESSED, WAIT ... br /> CP 1
    JP Z, NEW ;IF OPTION NEW, GOTO ... br /> CP 5
    JP Z, LOAD_ ;IF OPTION LOAD, GOTO ... PRINT_HEX
    CP $0A
    JR C,ZEROTONINE
    ADD A ...
    Robin Robin December 2011 Sinclair Miscellaneous
  • 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…

    ... days?
    9edc 2802 jr z,9ee0h
    9ede e1 ... 'S'?
    a4ac ca2e9f jp z,9f2eh ; if so, restart ... N'?
    a4b6 20e7 jr nz,0a49fh ; otherwise wait ... 'N'?
    a4b6 2804 jr z,0a4bch ; if so, reset ...
    Einar Saukas Einar Saukas January 2012 Infoseek database
  • 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 …

    ... ; decrement to 1.
    JR Z,L11EF ; forward to RAM-DONE ... increment for next iteration.
    JR Z,L11EA ; forward to RAM- ... ; decrement to zero.
    JP Z,L11E2 ; back to RAM-READ ...
    antoniovillena antoniovillena April 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…

    ... defb 210 ;3 bytes nop (JP NC)
    exo_setbit:
    ...
    dec c
    jr z, exo_goforit
    dec c ; ... defb 210 ;3 bytes nop (JP NC)
    exo_setbit:
    ...
    antoniovillena antoniovillena November 2012 Development
  • 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…

    ... jr z,6218
    61EB FEBA cp BA
    61ED CA8962 jp z ... ,6289
    61F0 FEB8 cp B8
    61F2 284A jr z ... B9
    61F6 284E jr z,6246
    61F8 FEB7 ... B7
    61FA 2838 jr z,6234
    61FC FEB6 ...
    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…

    ... org $9490 ; 38032
    jp $aef0 ; 195 240 174 < ... 7 ; 254 7
    jp z,$9566 ; 202 102 149
    9605: jr nc,$9601 ; repeat forever!
    9605: jr nz,$9601
    9607: ...
    Einar Saukas Einar Saukas July 2013 Infoseek database
  • Assembly code auto optimiserFor my Finders Keepers Plus project I'm considering writing an Assembly code auto optimiser. Way back when I wrote the original FK I considered optim…

    ... /> cp 20
    jp z,found20
    cp 30
    jp z,found30 ; ##OPT ... /> jr z,found20
    cp 30
    jp z,found30 ; ##OPT-

    jp not20or30 ... bytes and avoiding optimising the jp z,found30 line

    I ...
    David Jones David Jones 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…

    ... h
    dec h
    jp z, l_mulu_16_8x8

    ... l
    dec l
    jr z, reduced_tail_0

    ; ... d
    dec d
    jr z, reduced_0

    ... h
    dec h
    jr z, reduced_1

    ; ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
<1234567…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
jp 4.7K 8.4K
z 4.6K 11.6K
vs 4.1K 5K
jr 3.2K 12.2K

Related Threads

  • metallica vs. anthrax vs. megadeth vs. slayera/k/a "the big four". lets face it we're all from the 80's (ish), they used to tour every year as "the big four"...who was the greatest? - non-metal …
  • Tekken 6 Vs Street Fighter 4 Vs Virtua Fighter (is it 4?) Vs Soul CalibourI really miss playing a cool fighting game... the last one I bought was soul calibour for PS2, and I've tried the demo for ps3 and didn't see that mu…
  • Speccy vs C64 vs Amstrad - Make your vote count![url]http://www.retrofusiononline.com/fusion/[/url]<br /> <br /> You know it makes sense. We're winning at the moment, too...<br /> <br /> D.
  • Q. on copyrights vs. walkthroughs vs. "derivative work"I remember quite a while ago I asked for assistance on this topic and the only thing I do remember (and has held me back somewhat since then) is the …
  • Wii vs 360 vs PS3Wii takes the lead<br /> <br /> Wii = 10.57 mil sales<br /> 360 = 10.51 mil sales<br /> PS3 = 4.11 mil sales
  • XBox vs. PS2 vs. GamecubeWhich of the three machines did you prefer? Personally I prefer the XBox, with the PS2 second and the Gamecube third, for the following reasons.<br …
  • Playstation vs. N64 vs. SaturnIn another thread ( [URL]http://www.worldofspectrum.org/forums/showthread.php?t=20482&amp;highlight=xbox+360[/URL] ) we discussed the virtues and q…
  • Google Chrome vs IE8 vs Firefox 3.5Hi experts<br /> <br /> It's time for me to upgrade my browser. Which of these three should I go for? Is there one in particular that I should avoid?…
  • Cartridges vs. Discs vs. Digital downloadFollowing a discussion in another thread, I thought a poll about cratridge vs. disc vs. digital download might be interesting (well, compared to the …
  • Screenshots May Vary book - ZX vs C64 vs CPC[IMG]http://www.parkproductions.btinternet.co.uk/images/bookpreview1.jpg[/IMG]<br /> <br /> [URL="http://www.youtube.com/watch?v=94jpuWsOdns"]http://…

Related Searches

  • jp peter
  • divmmc vs divide
  • compliment z flag
  • fast jp table
  • x y z
  • donkey kong jr corrected jump tap
  • jp
  • jp nz
  • donkey kong jr
  • pets vs aliens
  • z exemplar
  • pets vs aliens prelude
  • dogs vs aliens
  • jp impossible mission
  • jp impossible mission tweak
  • tweak jp
  • midi play z
  • ice slider z
  • head over heels jp
  • jr z integer out of range

Copyright © 2024 World of Spectrum