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.011s
<1…45678910…34>
  • 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

    ... a ; a =a-1
    cp 0 ; not needed, dec will ... becomes 0
    jr [B]N[/B]z,loop
    ret ...
    Dr BEEP Dr BEEP September 2010 Development
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... 15)
    3) Your operands (n and m) are all contained ... . You mentioned about having your n instruction giving the ability to ... , AND, XOR, INC, DEC, JP, CP etc.) and 3 bits for ...
    BloodBaz BloodBaz September 2010 Chit chat
  • Your favourite tetris piece?Just playing on my turnarcade machine and suddenly got back into gameboy tetris. I love the little T shaped pieces, but cannot stand the z shaped on…

    ... &q=brick+game&cp=7&safe=off& ... &source=og&sa=N&tab=wi&biw ...
    Shiru Shiru September 2010 Chit chat
  • Your favourite tetris piece?Just playing on my turnarcade machine and suddenly got back into gameboy tetris. I love the little T shaped pieces, but cannot stand the z shaped on…

    ... &q=brick+game&cp=7&safe=off& ... &source=og&sa=N&tab=wi&biw ...
    thx1138 thx1138 September 2010 Chit chat
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... =INT (RND*50)+1: LET n=INT (RND*50)+1:
    n): LET v$(n)=o$:
    NEXT i ... t ADDRESS
    cp (hl) ;A=l$ cp (hl)=v$(t)
    ld a,1
    cp (IX+2)
    ret z ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... deliberate mistakes such as 'CP 0'... there is only ... ENTER
    ; 127 B N M SS SPACE
    ; ... /> ld a,c
    cp a,0
    jr z ... br /> ld a,c
    cp a,SCRWTH-SPRWTH
    jr ... /> ld a,c
    cp a,SCRHGT-SPRHGT
    jr ...
    ASM ASM October 2010 Development
  • Override AUTOLINE start?Hi there, Is there a poke that prevents a BASIC program from auto running, when it was previously saved with the LINE command? Cheers, Steve

    ... 23370: READ A: POKE N,A: NEXT N
    50 RANDOMIZE USR ... compare with 0 - identifier
    cp $00 ; for type 'Program'
    stefrobb stefrobb November 2010 Sinclair Basic
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... L ENTER
    ; 127 B N M SS SPACE
    ; < ...
    ld a,c
    cp a,0
    jr z ...
    ld a,c
    cp a,SCRWTH-SPRWTH
    jr ...
    ld a,c
    cp a,0
    jr z ...
    ld a,c
    cp a,SCRHGT-SPRHGT
    jr ...
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... ENTER
    ; 127 B N M SS SPACE
    ; ... /> ld a,c
    cp 0
    jr z,no_left ... br /> ld a,c
    cp SCRWTH-SPRWTH
    jr z ... /> ld a,c
    cp 0
    jr z,no_up ... br /> ld a,c
    cp SCRHGT-SPRHGT
    jr z ...
    ASM ASM November 2010 Development
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... /> jr z,caps
    cp SYMOFFS ; symbol shift?
    jr ... ; increase end of buffer
    cp KBDBUFFSIZE ; end of buffer?
    .byte 0x20,0x02,'m','n','b'

    ;; with ... '
    .byte 0x04,0x03,'M','N','B'

    ;; with ...
    tstih tstih March 2011 Development
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... behind a trail of partial "n"s.[/QUOTE]

    No ... /> to:
    LD A,(ATFLAG) : CP 2 : JR NC,GETXP
    Battle Bunny Battle Bunny May 2011 Sinclair Basic
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... the connection is 115200-8-N-2 (2 stop bits ... rs232 into buffer @ 115200-8-N-2
    ;; input
    ;; ... ;; add 21 t-states
    cp 0
    dec a
    cp 0

    in a ... e) |8 t-states
    cp 0

    in ...
    tstih tstih May 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... POP HL in LD A,n
    print pop hl ; fetch ...
    ld a,(hl)
    cp 165 ; allow all codes + udg ...
    Dr BEEP Dr BEEP June 2011 Development
  • JK Rowling launches 'mystery' websiteI'm surprised no one has posted this yet, but (from [url]http://www.bbc.co.uk/news/entertainment-arts-13805346[/url] ) [SIZE="6"]JK Rowling launch…

    ... &q=emma+watson&cp=6&client=firefox-a ... &source=og&sa=N&tab=wi[/url]
    mel the bell mel the bell June 2011 Chit chat
  • JK Rowling launches 'mystery' websiteI'm surprised no one has posted this yet, but (from [url]http://www.bbc.co.uk/news/entertainment-arts-13805346[/url] ) [SIZE="6"]JK Rowling launch…

    ... &q=emma+watson&cp=6&client=firefox-a ... &source=og&sa=N&tab=wi[/url][/QUOTE ...
    ewgf ewgf June 2011 Chit chat
  • JK Rowling launches 'mystery' websiteI'm surprised no one has posted this yet, but (from [url]http://www.bbc.co.uk/news/entertainment-arts-13805346[/url] ) [SIZE="6"]JK Rowling launch…

    ... &q=emma+watson&cp=6&client=firefox-a ... &source=og&sa=N&tab=wi[/url][/QUOTE ...
    mile mile June 2011 Chit chat
  • A standard emulator "hardware" for console outputAlmost every day, I want to copy text from zx spectrum format, yet, without peeking in the memory spending a lot of time, or typing it by hand, it is…

    ... thread. You can test under CP/M with SERIAL.FID, or ... INPUT a$
    20 FOR n=1 TO LEN a$
    n)
    40 NEXT n
    [/CODE]
    John Elliott John Elliott July 2011 Emulators
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... ]
    1 DEF FN i(n,t$,s$)=USR 23296
    5b52 be CP (HL)
    5b53 2006 JR ... FN n(n$)=CODE n$-CODE "0"-(7 AND n$>"@")-(32 AND n$> ... h(h$)=16*FN n(h$(1))+FN n(h$(2)): REM ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... )":
    DEF FN n(n)=n-CODE "0"-(7 AND n>=CODE "A ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 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?

    ... .
    ADD A,n Add value n to accumulator.
    ... Complement carry flag.
    CP s Compare operand s with ... with input from device n.
    IN r,(c ... br /> OUT (n),A Load output port (n) with accumulator.< ...
    Ralf Ralf 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…

    ... ;# values: CPL=C, NEG=N, RLC=(,RRC=), SLA=, RL={, RR ... ;step over "s
    cp $22
    jr z,NEXTQ1 ... opcode for BIT n (uses AND 2^n)
    inc ...
    OPTIONS:defb "C","N","(",")","","{","}","]"
    defb "A","X","O ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • 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…

    ...
    LD A, D
    CP $3E ;end of GOSUB stack ... NZ, $1E73 ;GO_TO_2 ;return through 'n' levels
    EX AF,AF ...
    JP NZ, $1F36 ;REPORT_7 ;'n' was too many levels
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Create a new microdrive cartridge image formatHi there, I'm working to emulate the IF1+Microdrives in JSpeccy.I've found what the "classic" MDR format ins't capable to store all the required inf…

    ... formats (as Jiri's Lamac CP/M v2.2 does).
    n < 255]
    * FIRST GAP ...
    zx81 zx81 December 2011 Emulators
  • 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…

    ... br /> a4b4 fe4e cp 4eh ; pressed uppercase 'N'?
    a4b6 ... br /> a4b8 fe6e cp 6eh ; pressed lowercase 'n'?
    a4ba 20e3 ... br /> a4b8 fe6e cp 6eh ; pressed lowercase 'n'?
    a4ba 20e3 ...
    Einar Saukas Einar Saukas January 2012 Infoseek database
  • 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.…

    ... WAWZ for all matches on (CP), the character at the ... pointer CN by incremental step 'n' from CP.
    4. Mark each ... and where the character (PB+n)=(CN).
    5. Repeat ... WA,WZ and Coding Position CP by PL+1.
    ... parameters WA,WZ,PL,PB,CP,CN (and some more) ...
    Battle Bunny Battle Bunny March 2012 Development
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    This routine (48 bytes) provides a BASIC replacement for STR$ which fixes those two bugs; use "FN s$(numeric_expression)" instead of "STR$ numeric_expression". I copied the ROM's method used in CIRCLE & DRAW for checking -1
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... adc a,$40

    cp '0'
    ret
    [/ ... />
    call divide
    cp '0'
    jr nz, write ... ;
    ; uses : af

    cp 10
    jr nc, alpha ... ;
    ; call l_setmem-n*2 to write n bytes to memory
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... )
    call asm_tolower

    cp c ; *s1 - *s2
    jr ... there will still be O(n^2) comparisons
    ;
    ; when ...
    ; usage at O(lg n). Only four bytes per recursive ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
<1…45678910…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