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.003s
<1234567…34>
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code] dec bc ld a, b or c jp nz, loop can be replaced (bc starts >255, short jump) by: dec bc inc b djnz loop [/code] …

    yesterday i saw nice trick:[code]

    dec bc
    ld a, b
    or c
    jp nz, loop

    can be replaced (bc starts >255, short jump) by:

    dec bc
    inc b
    djnz loop
    [/code]
    ..nice
    Fikee Fikee February 2005 Development
  • Happy Birthday JP!Happy Birthday JP! (Though taking the time difference into account it may no longer be your birthday) Happy hacking all the same :smile:

    Happy Birthday JP!

    (Though taking the time difference into account it may no longer be your birthday)

    Happy hacking all the same :smile:
    R-Tape R-Tape April 2013 Chit chat
  • JP (HL) confusionokay.... JP nn will jump to memory address nn. JP (HL) ,I assumed would read the contents of memory address HL and jump to the location and be a gre…

    ... to memory address nn.
    JP (HL) ,I assumed would ... using a list of CP...JP nn

    or ... br /> LD HL,jumptable
    JP (HL) ; read/peek the contents ... what instructions do.
    JP nn means PC=nn
    JP (HL) means PC=nn
    JP (IX) means ...
    MatGubbins MatGubbins March 2014 Development
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding. I think that there might be more of these routines out there (where-ever-u-r). Isn…

    ... /> .......LD DE,0
    .......JP MAIN

    B2.....INC ... ; fetch highbyte (7)
    .......JP (HL) ; jump indirect to emulationroutine ... 00
    JP I03
    JP I06
    ...
    JP IFF ; last ... #83 (#8301)
    ...
    JP IFD ; last (#8300-#83FF)
    Dr BEEP Dr BEEP October 2001 Sinclair Miscellaneous
  • Games UNDERated by magazinesYep, a slight twist on the previous topic. Which were the games you thought were underrated by mags, but were really much better in your opinion. …

    ... reviewer would have thought that JP would be still so popular ...
    Arjun Arjun April 2002 Games
  • Short Z80 QuizQ1) Which program gives different result ? A) XOR A ADD A,A B) XOR A ADC A,A C) SCF ADD A,A D) SCF ADC A,A Q2) What is the equivalent of NEG …

    ... L
    DEC B
    JP NZ,LOOP
    RET
    Dr BEEP Dr BEEP July 2002 Games
  • Z80 Emulator Source?Found a link to this on comp.sys.amstrad.8bit. i havent been with the discussion long but supposedly this is the source for a Z80 emulator. Forgive m…

    ... hl,hl ;hl=84xxh
    jp (hl)
    fetchend:
    .ds ...
    Amigo Amigo August 2003 Emulators
  • Not just a pretty [inter] face!Hi everybody, I've got a DK'Tronics Light Pen up for grabs (see [url="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DK%27Tronics+Light+Pen$&mo…

    ... /> [ This Message was edited by: jp on 2004-03-09 21 ...
    jp jp March 2004 Sales
  • TASM, Z80 and Spec emusHi! Having some novice questions here regarding TASM and writing machine code for the Speccy emus... Now I have configured TASM into my EditPlus and…

    ... .e for using absolute calls - JP, CALL etc - instead of relative ...
    ekoman ekoman July 2004 Development
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    ... to 0056 in ROM
    jp 56 ;for smooth return to ... /> ld hl,58853 ;Create a JP NN at address
    ld ...
    ekoman ekoman July 2004 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... where you could put a JP to your 'real' interrupt routine ...
    Philip Kendall Philip Kendall July 2004 Development
  • Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before! It's all about how to …

    ... gets into IM1 and calls JP 56
    jr loop
    ekoman ekoman July 2004 Development
  • Mysterious bit of codeHi everyone, I found the follow piece of code in a game and was wondering what it does. ld bc,40ffh ld e,40h loop ld a,r …

    ... ,(c)
    cp e
    jp nz,loop
    ret
    dmsmith dmsmith August 2004 Sinclair Miscellaneous
  • need help with speed optimization. this procedure draws a sprite with mask from memory onto the screen with x-coordinate in pixels. it doesn't shift sprites in realtime, it just uses …

    ... ,(SPRXCO) ;
    AND 7 ;
    JP Z,DRAWNOX ;this part doesnt ... line on the screen.
    JP DRAWSPY
    DRAWCH1
    INC ...
    moroz1999 moroz1999 August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... to 0056 in ROM
    jp 56 ;for smooth return to ...

    ORG 0FDFDH
    JP MainLoop

    END
    robpearmain robpearmain August 2004 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



    ORG 0FDFDH
    JP MAINLOOP


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

    ... A


    JP MAIN

    RET
    CP 0
    JP Z,INTEND

    ... +1),A

    JP NZ,gob

    ... />
    ORG 0FDFDH
    JP MAINLOOP


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

    ... A ;increase scroll position
    JP NZ, MLOOP
    RET< ... ;decrease loop counter
    JP NZ, MODHLB ;and jump back ... />
    DJNZ CLEARLP2

    JP ZERO ;Skip the next bit ... ;decrease row loop counter
    JP NZ, ROWLOOP ;jump back to ...
    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…

    ... at end of table
    jp z,#1ff8 ; Do last carriagereturn ...
    Dr BEEP Dr BEEP September 2004 Development
  • Highly OT:unless the topic is pc arcade games :p did you know you can play classic arcade games in microsoft excel???? i didnt i do now :) [url="http://www.…

    ... />
    [url="http://www.geocities.jp/nchikada/pac/"]http://www.geocities ... .jp/nchikada/pac/[/url]

    ...
    mel the bell mel the bell January 2005 Sinclair Miscellaneous
  • Help needed to speed up functionCan anyone help me to re-factor this code snippet. The "MAP" section holds information about which tiles go where on the screen (handled by another f…

    ... DE
    DEC C
    JP NZ,LOOP1
    RET
    Mr Millside Mr Millside February 2005 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... NXTROW3 DEC C
    JP NZ,PRTTILELOOPY
    EI ... /> AND 7
    JP NZ,TILERENDEREND
    LD ... LD E,A
    JP C,TILERENDEREND
    LD ...
    Mr Millside Mr Millside February 2005 Development
  • Lerm MicroMate - SDPHi All, I'm having a go at preserving a microdrive version of Lerm MicroMate. I?ve got a few problems, though, as the software has been unbelievably…

    ... /> [ This Message was edited by: jp on 2005-06-22 11 ... /> [ This Message was edited by: jp on 2005-06-22 11 ...
    jp jp June 2005 MIA/STP/SDP
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ...
    AND 31
    JP Z,NPRESS
    INC D ... br /> SRL H
    JP NC,KLOOP
    RET ... /> RLC B
    JP C,NXHALF
    CP ...
    Mr Millside Mr Millside July 2005 Development
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384) I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory. I then want to cop…

    ... ,h
    AND 7
    JP NZ,C2S_2
    LD A ... ,h
    AND 7
    JP NZ,C2SC_2

    LD ... /> LD L,A

    JP C,C2SC_2
    LD A ... ,h
    AND 7
    JP NZ,DRAWBEG
    LD A ...
    LD L,A
    JP C,DRAWBEG
    LD A ...
    robpearmain robpearmain November 2005 Development
  • SupadriveHere's an MDR image of Supadrive. Works with Spectaculator, but I haven't tested it with any other emulators. [url="http://www.superfudge.demon.co.u…

    ... /> [ This Message was edited by: jp on 2006-01-08 04 ...
    jp jp January 2006 MIA/STP/SDP
  • Machine Code: quicksort optimisationI came across this z80 quicksort implementation when going through the wikipedia article on the same. It's 44 bytes long. I was wondering if any of …

    ... sbc hl,de
    jp c,next1 ;loop until ... sbc hl,bc
    jp c,next2
    ld ... hl ;restore pivot
    jp fleft
    next2 pop ... ;bc=lo,de=right
    jp qsloop

    < ...
    Arjun Arjun January 2006 Development
  • Problem with rotating procedureHi folks! I wrote a proc in z80 asm, based on: x' = x * cos (z) - y * sin (z) y' = x * sin (z) + y * cos (z) I used a precalculated table of sin a…

    ... /> ;============================================================================
    start: call rotator
    jp start
    ;============================================================================
    ;mult21 - mnozenie ...
    xor xor July 2006 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 …

    ... , game not start with JP 36000, than wants to ...

    ORG 65024
    JP START
    HIL DEFS 2 ... EI
    CALL 1366
    JP 36000
    LFED5 INC D ... br /> DJNZ LOPP
    JP KRAJ
    KRAJ EXX
    JP KRAJ
    RP EXX< ...
    Pegaz Pegaz August 2006 Games
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    ... address

    madp_poke:
    jp madp_move
    madp_move:
    ; xmove ...
    robpearmain robpearmain September 2006 Development
<1234567…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • 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

HitBox

Word Docs Hits
jp 4.7K 8.4K

Related Threads

  • 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…
  • happy birthday jpyup<br /> <br /> happy birthday
  • Happy Burfday jp!Happy Burfday!<br /> <br /> Drink Beer (your avatar implies you may already be ;))<br /> <br /> Have a Gudden!
  • Happy Birthday JPHave a pleasing old time.
  • Happy Birthday jphope it's a good 'un
  • Happy Birthday JP!Happy Birthday JP!<br /> <br /> (Though taking the time difference into account it may no longer be your birthday)<br /> <br /> Happy hacking all the…
  • JP (HL) confusionokay.... JP nn will jump to memory address nn.<br /> JP (HL) ,I assumed would read the contents of memory address HL and jump to the location<br /> …
  • Happy birthday jp!Hope you've had a great day! :)

Related Searches

  • fast jp table
  • jp
  • jp nz
  • jp impossible mission
  • jp impossible mission tweak
  • tweak jp
  • head over heels jp
  • bleepload jp
  • jp speedlock
  • alkatraz jp
  • skate crazy jp
  • king valley jp
  • maketzx jp
  • jp maketzx
  • jp dos
  • jp alkatraz
  • jp hl
  • jp format
  • interface version jp
  • ultimate 3 underwurdle jp

Copyright © 2024 World of Spectrum