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>
  • Canny use of the 'r' register?Seeing Sokurah's code in the [URL="http://www.worldofspectrum.org/forums/showthread.php?p=583188#post583188"]crunch sound thread[/URL] has made me th…

    ... />
    ld a,r
    cp n
    jp m,this_place
    R-Tape R-Tape November 2011 Development
  • BIT/RES/SET b,r where b is variableWhat's the best way to use the bit flag group of commands if it's not known in advance which bit should be referenced; ie. where it's dependent upon …

    ... (hl)" or a series of "cp n : jr cc,d";
    * code ...
    Battle Bunny Battle Bunny March 2012 Development
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    ... too.

    Effectively what "CP n" does is, internally, take away ... the number n from the A register and ... are equal, A=n, so A-n=0, so Z ... A is less than n, A-n requires a carry operation ... A is greater than n, A-n gives a positive number ...
    joefish joefish September 2010 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... HL,nn
    LD A,n
    CP n
    etc....
    Dr BEEP Dr BEEP October 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... HL,nn
    LD A,n
    CP n
    etc....[/QUOTE]
    antoniovillena antoniovillena October 2011 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... position [b]mod[/b] [i]N[/i]" means either.
    ... at the coding position 'cp', then each of those ... a subsequent match on (cp+1), then each of ... those checked against (cp+2), and so on, ... matching (cp+n-1), plus the unmatched character at (cp+n), are ...
    Battle Bunny Battle Bunny March 2012 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... /> Just tonight I used a CP n to skip a XOR A ... A,3
    DEFB 254 ; CP n
    entry2 XOR A
    Dr BEEP Dr BEEP March 2013 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... /> Just tonight I used a CP n to skip a XOR A ...
    BloodBaz BloodBaz March 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... location
    cp 64 ; all ... 00100000 ; 'N' or
    cp 'n' ; 'n'?
    ...
    chev chev November 2013 Development
  • 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…

    It's always worth remembering that JP (HL) takes only 4 t-states to run, where as the usual JP nn takes 10. It's therefore very useful for coding jump tables where a succession of CP n/JP nn would take far longer to process.
    bobs bobs March 2014 Development
  • 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…

    ... tables where a succession of CP n/JP nn would take far ...
    PokeMon PokeMon March 2014 Development
  • 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…

    ... replaced a long list of CP n / JP Z,nn within Bomb ...
    MatGubbins MatGubbins March 2014 Development
  • 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…

    ... :

    [CODE]

    cp 0
    jp z, COLLIDE_DONOTHING ...
    cp 2
    jp z, COLLIDE_FLOOR ...
    jp z, COLLIDE_WALL
    cp 6
    jp z, COLLIDE_BOTTLE ... />
    Each one of those cp n/jp nnnn pairs takes 17 ...
    bobs bobs March 2014 Development
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    ... 't

    [code]
    CP n
    JR NZ, next_cond2
    handle_cond1 [...]
    next_cond2 CP n2
    JR NZ, next_cond3 ...
    handle_cond3
    next_cond3 CP n3
    [/code]

    dbolli dbolli August 2015 Development
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... 255.

    'cp n' subtracts the value 'n' from the value in ...
    Battle Bunny Battle Bunny September 2015 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... sees non-printable characters, only \n, \\, \', \" work properly ... tabledone
    .notpressingcaps
    cp 64
    jr c, .noshift ... jp z, .handleCURLEFT
    cp CURSOR_RIGHT
    jp z, ... jp z, .handleCURUP
    cp CURSOR_DOWN
    jp z, ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... back a position
    \n does a newline
    ... jp z, clr_pixels_homecursor
    cp HOME
    jp z, ... carriage_return_cursor
    cp HORZ_TAB
    jp z, ... horizontal_tab_pow2
    .doneskipcheck
    cp CR
    jr z, . ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> jp z, carriage_return_cursor
    cp HORZ_TAB
    jp z, horizontal_tab_pow2 ... jr .errorcharliteralbadlength
    .checkfordblquote
    cp '"'
    jr nz, .notquote
    cp 'n'
    jr z, .unescapewithD
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... 'p' is valid, '\n' is valid, '\j' is ... jp z, clr_pixels_homecursor
    cp HOME
    jp z, ... carriage_return_cursor
    cp HORZ_TAB
    jp z, ... #CE, #C6, #C6, #00 ; N
    db #38, #6C, #C6 ... 66, #66, #66, #00 ; n
    db #00, #00, #3C ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... jp z, clr_pixels_homecursor
    cp HOME
    jp z, ... carriage_return_cursor
    cp HORZ_TAB
    jp z, horizontal_tab_pow2 ... , #CE, #C6, #C6, #00 ; N
    db #38, #6C, #C6 ... , #66, #66, #66, #00 ; n
    db #00, #00, #3C ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... jp z, clr_pixels_homecursor
    cp HOME
    jp z, ... carriage_return_cursor
    cp HORZ_TAB
    jp z, ... /> jr z, .cantendwithsinglequote
    cp '''' ; '
    jr z, ... #0D = FORM_FEED+1
    cp 'n'
    jr z, .unescapewithC
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... jp z, clr_pixels_homecursor
    cp HOME
    jp z, ... carriage_return_cursor
    cp HORZ_TAB
    jp z, ... /> jr z, .cantendwithsinglequote
    cp '''' ; '
    jr z, ... #0D = FORM_FEED+1
    cp 'n'
    jr z, .unescapewithC
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Ghosts n' Goblins loaderI'm trying to put Ghosts n' Goblins onto a +3 disk but struggling to understand the mc loader. Basic loader [code] ink 7 : clear 25000 : load "" cod…

    ... trying to put Ghosts n' Goblins onto a +3 ... LD C, A
    65062: CP A

    65063 ... A, 198
    65092: CP B
    65093: JR ... A, B
    65106: CP 212
    65108: JR ... C, A
    65303: CP A
    65304: CALL ... /time hack
    65432: CP 2
    65434: JP ...
    Speccy_James Speccy_James February 2014 Development
  • Quiz V - the revenge of D`n`C Ok, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game. Ther…

    Ok, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game.
    There are 63 points available this time.

    You can either email your completed answers (along ...
    MatGubbins MatGubbins May 2002 Games
  • Frank'n'stein - Help !!!Hi! Did ANYONE of you EVER complete Level 25 of the platform game Frank'n'stein? I think its impossible... But as the Crash Magazine review mentions…

    Hi!
    Did ANYONE of you EVER complete
    Level 25 of the platform game Frank'n'stein?
    I think its impossible...
    But as the Crash Magazine review mentions 50 levels...
    Nuno Nuno July 2002 Games
  • P'n'P Site NewsPeek 'n' Poke October 2002 Latest site news If you like this site, then why not head over to Peek 'n'Poke? It covers Atari 2600, Spectrum, C64 and …

    Peek 'n' Poke
    October 2002
    n'Poke?
    It covers ... forum, join us at Peek'n'Poke

    [url=" ... url]


    Peek 'n'Poke site created by Lee ... by
    LeeT
    ( Peek 'n' Poke Reviewer/forum moderator)
    LeeT LeeT October 2002 Announcements
  • Load'n'Run per gli Spectrumisti Italiani.Se non sbaglio stavate cercando o provando a ridurre in file adeguati i vecchi nastri di Load'n'Run ecc., ma , tirate un sospiro di sollievo, qualcun…

    ... i vecchi nastri di Load'n'Run ecc., ma , tirate un ...
    WhenIWasCruel WhenIWasCruel October 2002 Games
  • The Your Sinclair Rock'n'Roll Years TV ShowComing soon... by the end of 2003... Way back in 1997, I put together the Your Sinclair Rock'n'Roll Years. The idea was a simple one, inspired by th…

    ... together the Your Sinclair Rock'n'Roll Years. The idea was ... by the BBC's Rock'n'Roll Years TV series. The ... />
    The Your Sinclair Rock'n'Roll Years took that idea ... for The Your Sinclair Rock'n'Roll Years TV show!
    NickH NickH February 2003 Announcements
  • Play The Last Ever Shaw Brothers NEW Spectrum Game - Hop 'n' Chop ...it's in the WoS Archives now!The last ever Shaw Brothers Spectrum game is now available to download in the World of Spectrum archive section, it's called... Hop 'n' Chop it's p…

    ... 's called...

    Hop 'n' Chop

    it's ...
    sickhappyidle sickhappyidle March 2003 Games
  • Question about CP Z80 instructionSorry if this is the wrong folder, but it seems the most appropriate. When performing a CP instruction, is the P flag set when the compared values …

    ... .

    When performing a CP instruction, is the P flag ... />
    LD A,3
    CP 3
    JR P,9999 ...
    Quirky Quirky March 2003 Emulators
<1234567…34>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
cp 2.6K 6.8K
n 12.4K 23.2K

Related Threads

  • N, E, E, NE, E, E, NE and N.Discuss.....
  • Helpa by Ian N Stewart and Robin N JonesI collect Shiva software ([url="http://www.worldofspectrum.org/forums/discussion/52120"]three down, one to go![/url])...<br /> <br /> ...and on che…
  • Fire 'N Ice authors n-Discovery, any of them is here in the forums of WoS?I have been playing this great game and I would like to contact you :)
  • Ghosts 'n Goblins vs Ghouls 'n Ghosts - Which Is Best?Hi everyone and welcome to the January 2018 edition of the "Which Is Best?" and the first of the 3rd series (started back in Dec' 2015).<br /> Last …
  • Quiz V - the revenge of D`n`COk, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game. <br /> …
  • Frank'n'stein - Help !!!Hi! <br /> Did ANYONE of you EVER complete<br /> Level 25 of the platform game Frank'n'stein?<br /> I think its impossible...<br /> But as the Crash …
  • P'n'P Site NewsPeek 'n' Poke<br /> October 2002<br /> Latest site news<br /> <br /> <br /> If you like this site, then why not head over to Peek 'n'Poke?<br /> It c…
  • Load'n'Run per gli Spectrumisti Italiani.Se non sbaglio stavate cercando o provando<br /> a ridurre in file adeguati i vecchi nastri di Load'n'Run ecc., ma , tirate un sospiro di sollievo, q…
  • Spectrum 2003 News and Info Special at PEEK N' POKE[url="http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.html"]http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.h…
  • The Your Sinclair Rock'n'Roll Years TV ShowComing soon... by the end of 2003...<br /> <br /> Way back in 1997, I put together the Your Sinclair Rock'n'Roll Years. The idea was a simple one, in…

Related Searches

  • signed cp
  • cp m user
  • n e i l
  • h n links
  • n e i l android
  • cp m
  • load amstrad games cp m
  • cap n rescue
  • zx spectrum side scrolling hack n slash dungeon crawler wip
  • load n run
  • n
  • pete n barry
  • ghosts n goblins frobush
  • ghosts n goblins scroller
  • ghosts n goblins scroll
  • z88dk cp
  • your sinclair rock n roll years
  • rock n roll
  • juli n albo
  • oleg n cher

Copyright © 2024 World of Spectrum