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.005s
<1234567…34>
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... ;DE=$0000
    inc sp
    inc sp
    pop hl ... ;HL=$000D
    ex (sp),hl ... push hl
    inc hl
    inc hl
    call ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • 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…

    ... 65063

    65095: INC H
    65096: JR NZ ... : RET NZ
    65155: INC IX
    65157: DEC DE ... : POP DE
    65249: INC SP
    65250: POP BC
    65400: INC IX
    65402: INC IY
    65404 ... L
    65485: INC A
    65486: INC A
    65487: ...
    Speccy_James Speccy_James February 2014 Development
  • Horizontal scrollDoes anyone know how to do a 2 or 4 pixel left or right horizontal scroll of the spectrum screen. I can make a 1 one pixel scroll with: ... rl (hl…

    ... just thought of something, point SP to the screen location POP ... HL back onto the screen INC SP x 2. Increase efficiency by ... ,16 LD L,A LD SP,HL using A to store ...
    cyborg cyborg March 2003 Sinclair Miscellaneous
  • Who want to remake Double Dragon?Seeing as the Speccy version was crap (see my review: [url="http://www.gamestyle.net/retro.php?article=31"]http://www.gamestyle.net/retro.php?article…

    ...
    ldi

    inc sp
    inc sp

    jp pe, next_line ...

    restore_sp: ld sp, 0 ...
    Fikee Fikee July 2003 Games
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... question,

    The command INC SP (increment stack pointer):
    - Does ... command increment the value in SP by 1 or 2 (I ... PUSH and POP alter the SP by 2).

    Secondly ... .e. PC, SP, IX, IY) when we use the INC command and ...
    MadDoc MadDoc September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... , MadDoc wrote:
    The command INC SP (increment stack pointer):
    - Does ... command increment the value in SP by 1 or 2 (I ... ).
    [/quote]

    INC SP increments SP by 1.
    PUSH and ... .e. PC, SP, IX, IY) when we use the INC command and ...
    Woody Woody September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... ,

    The command INC SP (increment stack pointer):
    - ... command increment the value in SP by 1 or 2 ... PUSH and POP alter the SP by 2).
    [/quote ...
    1. You're treating SP as if it were any ... PC, SP, IX, IY) when we use the INC command and ...
    Dunny Dunny September 2004 Development
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    I've tried to beat 12 bytes and the best I can do is 13. My 11 byte attempt doesn't fulfill all the criteria (doesn't clear the last
    Jimmy Jimmy September 2008 Games
  • Speech reproduction on the Speccy - 2009 style?Thanks to Chapter 33 of [url="http://www.worldofspectrum.org/infoseekid.cgi?id=2000388"]Super Charge Your Spectrum[/url] by David Webb - "Speech Repr…

    ...
    GO
    LD SP,#6000
    LD HL,#4000 ... LD (HL),A
    INC H
    DJNZ MKTB_4
    POP HL
    INC L
    JNZ MKTB_L< ... REPPLY
    LD (PLQSP),SP
    LD HL,TJMP0+#80 ...
    Shiru Shiru January 2009 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... for this when using LD SP instructions.
    [/quote]
    INC instructions has unpredictable results. ... whatever shape I leave SP, that's what the ... maybe LC C,(SP); INC SP; LD B,(SP);).I hope I'm ... of POP. If your SP is truly pointing to ...
    Arjun Arjun January 2009 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... (or maybe LC C,(SP); INC SP; LD B,(SP)[/quote]

    Nah ... only possible instruction: LD (nn), SP.

    In any ... ]Say your stored SP was $80FF - your double INC (HL) would change ... -bit maths to manipulate the SP.[/quote]

    Whoa! Advice ...
    rahtgaz rahtgaz January 2009 Development
  • Understanding the StackSorry folks. I guess I'm going to be a pain for a little while. Hope it's ok with everyone. I'm currently studying the stack and wrote the little pr…

    ... (or maybe LC C,(SP); INC SP; LD B,(SP)[/QUOTE]
    Nah. ... Would always have to store SP somewhere with the only possible ... instruction: LD (nn), SP.[/QUOTE]

    You ... ...

    LD SP,HL ;Restore the original SP[/CODE]

    Chris Pile Chris Pile January 2009 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 …

    ... /> start di
    ld sp,#8181

    ld ... 4

    inc sp
    inc sp
    ei
    ...
    Bob Stains Bob Stains May 2009 Development
  • Mistake in the 128K technical FAQ?[url]http://www.worldofspectrum.org/faq/reference/128kreference.htm[/url] [quote]Memory banks 1,3,5 and 7 are contended.[/quote] Really? I thought i…

    ... (hl), a ; 7 T
    inc bc ; 6 T
    jr ... :
    [CODE] di
    inc sp
    inc sp
    ei
    reti[/CODE ...
    ajmoss ajmoss April 2010 Hardware
  • Arkanoid - Hit Squad ReleaseInfoseek (and the [URL="ftp://ftp.worldofspectrum.org/pub/sinclair/games/a/Arkanoid(TheHitSquad).tzx.zip"]TZX[/URL] itself) identifies the Hit Squad …

    ... ; e536 18 f1
    l_e538: inc de ; e538 13
    ld ... ; eebc 12
    inc hl ; eebd 23
    inc d ; eebe 14 ... e6
    l_e084: inc de ; e084 13
    ld sp, hl ; e085 ...
    add hl, sp ; e096 39
    inc sp ; e097 33
    scf ...
    jp jp December 2011 Infoseek database
  • Help pleeease "Proving Emulator OpCode flags are correct"So I had a cunning plan... I wanted to write a test harness for Emulators that could "prove" that all opcode flags were correct. I wanted something m…

    ... DI
    LD (st+1),SP
    LD HL,0 ;poke ... with 0 - 65535
    LD SP,0

    LD ... br /> PUSH AF
    INC SP
    INC SP
    DJNZ lp2
    ...
    st: LD SP,0
    Stefan Drissen Stefan Drissen April 2012 Emulators
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... de ;DE=$0000
    inc sp
    inc sp
    pop hl ;HL=$000D ...
    ex (sp),hl ;HL=$106E ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 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
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... ,0
    ADD HL,SP ; HL equ SP

    LD D ...

    LD SP,HL ; load the SP by the new value ... ; write in SP the first cell

    INC SP
    INC SP

    Raydac Raydac June 2012 Development
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... ,0
    ADD HL,SP ; HL equ SP

    LD D ...

    LD SP,HL ; load the SP by the new value ... ; write in SP the first cell

    INC SP
    INC SP


    EX (SP),HL ; the return address restored ...
    Einar Saukas Einar Saukas June 2012 Development
  • Help needed...I am at my wits end with this pigs ear of a routine, can anyone simplify it and make it work as it should? Basically it should make the characters '…

    ... de ;DE=$0000
    inc sp
    inc sp
    pop hl ;HL=$000D ...
    ex (sp),hl ;HL=$106E ...
    Battle Bunny Battle Bunny October 2012 Development
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... /> ld a, b
    inc sp
    inc sp
    call eg2
    ex ... /> gbthl: ld a, (de)
    inc de
    get_bit_to_hl: adc a ...
    antoniovillena antoniovillena January 2013 Brand new software
  • The Disciple clone... doable?Hi. As a spectrum user in the 80's this was the dream interface all-in-one for me. I have a 48k+ and planning on get a 128K toast-rack later. Anyway…

    ... /> 0 0321 LD SP,(#5CB2)
    0 0325 INC SP
    0 0326 ...
    zub zub February 2013 Hardware
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... de),a
    inc hl
    inc de
    djnz ... ;DE=$0000
    inc sp
    inc sp
    pop hl ... ;HL=$000D
    ex (sp),hl ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    ... ;DE=$0000
    inc sp
    inc sp
    pop hl ... ;HL=$000D
    ex (sp),hl ... ld (de),a
    inc de
    ret
    ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... hl
    ld (23670),sp
    ld sp,16384
    ld c ... de
    inc sp ;can't do "pop bc"
    inc sp ; as it ... 32
    add hl,sp
    ld sp,hl
    dec c ...
    Battle Bunny Battle Bunny August 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…

    ... make_room ; make space
    inc hl ; point to limit ...
    look_p_1:
    inc hl ; most significant byte ...
    inc h ; increase it
    ex (sp), hl ; ... swap with error address
    inc sp ; reclaim one location
    chev chev October 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... de ;DE=$0000
    inc sp
    inc sp
    pop hl ;HL=$000D ...
    ex (sp),hl ;HL=$106E ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • Simple memory transfer routineI'm looking for a simple memory transfer routine that shifts 32 bytes of data from the address HL is set to 55143, I have tried using LDIR, but cant …

    ... Party?
    Me : opcode #33 INC SP

    Press: Do you ...
    Dr BEEP Dr BEEP November 2013 Development
  • Full-screen 32 columns bicolor engine NIRVANA+I'm glad to announce the release of [b]NIRVANA+ ENGINE[/b], providing support for bicolor graphics (multicolor 8x2) in 32 columns for all standard Sp…

    ... with something like "push af; inc sp". This means you have to ...
    Alcoholics Anonymous Alcoholics Anonymous December 2015 Brand new software
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
inc 3.8K 14.1K
sp 1.7K 4.2K

Related Threads

  • Adventures Inchi!<br /> <br /> I'm a BIG fan of adventures. I have a huge collection of them on my PC. By this I mean of course, games for Speccy, Amstrad, C64, At…
  • WANTED Se BUSCA: ** TREASURE *** of ANDROMEDA INC.quisiera saber quien me puede ayudar a encontrar el juego<br /> TREASURE de la compa??a Andromeda inc.<br /> El juego trata de un buzo que saca perla…
  • Loads of speccy bits for auction inc. a boxed rubber keyed and 128k heatsinkCheck it out, only a day to go on some of the stuff!!!<br /> <br /> [url="http://cgi6.ebay.co.uk/aw-cgi/eBayISAPI.dll?ViewSellersOtherItems&amp;useri…
  • Stacks of Spectrum tapes for sale - 50p start - inc. Ultimate gamesI have a load of Spectrum games that I've listed on EBAY at the moment, all of which start at 50p, mostly first generation early titles.<br /> <br />…
  • FA: Masses of mags, inc complete set of YS!I've now sorted out the rest of my magazines, and posted them up on eBay, as follows:<br /> <br /> Crash (94 issues): [URL="http://cgi.ebay.co.uk/ws/…
  • A dual tuner PVR for ?15.00 not inc HDI have just recieved an email from Bigpockets saying they have dual tuner PVR's for sale at £8.99 but with postage its £15.00, u basically have to p…
  • What emulators open/execute .sp files?I've come across ZX Spectrum files with the extension ".sp". It's like Spectrum Profile archive or something. Does it contain the game itself or what…
  • GBA SP - recommendationsIt seems that over the last year this is the third thread I've started regarding my buying of a new games system. First it was the Game Cube, then an…
  • Thieves School - New Game from World XXI Soft Inc.After aprox. 2 years of hard work, World XXI Soft Inc. announces the release of [I][B]Thieves School[/B][/I], a platformer multi-level for Spectrum 1…
  • Thieves School - New Game from World XXI Soft Inc.After aprox. 2 years of hard work, World XXI Soft Inc. announces the release of [B][I]Thieves School[/I][/B], a platformer multi-level for Spectrum 1…

Related Searches

  • reset sp ffff
  • flash inc
  • sp format
  • snapshot sp format
  • clear sp
  • sp 1000
  • sp 800
  • dec sp
  • ex sp hl
  • ex sp ix
  • ex sp iy
  • sp
  • sp dos
  • extension sp
  • andromeda inc
  • screen buffer pop bc ld sp hl
  • sp 24000
  • sp register stays on printer buffer
  • inc hl
  • udg sp

Copyright © 2024 World of Spectrum