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>
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... some call to ROM
    dec sp
    dec sp
    pop hl
    ld (LABEL1),sp
    ld sp,LABEL1
    push de ... l8900+4
    l88eb: dec hl
    dec de
    ld a ...
    push de
    dec c
    dec b
    exx
    robpearmain robpearmain November 2006 Development
  • 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 …

    ...
    di ; $18ff
    dec sp ; $1900
    dec sp ; $1901
    jp $2bb1 ...
    chev chev March 2007 Emulators
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    ... LOCATE

    ADJUST: dec sp
    dec sp
    pop hl ;HL=actual ...

    PUT_SP: ld (STACKP),sp ;save stack pointer
    ld ... hl,bc
    ld sp,hl ;point SP to list of changes ...
    Battle Bunny Battle Bunny August 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... />
    ld sp,35468 ; Point SP to address table

    dec sp ; Point SP back one scanline for next ... time round 6+6
    dec sp

    ldi ; ... />
    ld sp,(32859) ; Restore SP & registers then return ...
    Zoltar Zoltar September 2011 Development
  • 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…

    ... but
    ADD HL, SP ; 57 ;STMT_RET & ... (ERR_SP)
    LD SP, HL ; 249 ;from m/ ... NOGSUB ; 40 16
    DEC SP ; 59 ;entry is 3 ...
    Battle Bunny Battle Bunny December 2011 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…

    ... 65071: DJNZ 65071
    65073: DEC HL
    65074: LD A ... : INC IX
    65157: DEC DE
    65158: EX AF ... 65244: PUSH BC
    65245: DEC SP
    65246: POP HL
    65314: DEC HL
    65315: LD A ... : INC IY
    65404: DEC DE
    65405: EX AF ...
    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…

    ... di
    ld (temp_sp),sp
    ld sp,hl

    ... push hl
    dec sp
    dec sp

    dec c
    jr ... ld hl,(temp_sp)
    ld sp,hl
    ei
    ...
    rtunes rtunes March 2003 Sinclair Miscellaneous
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... e
    ccf
    dec sp
    jr c,l8ce5 ; ... inc c
    dec bc
    dec bc
    ld ... /> ld b,#ca
    dec e
    ret
    ... l8d2a:
    ret
    dec de
    call z,#ca1b ... jp z,#d018
    dec d
    jp z ...
    robpearmain robpearmain November 2006 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…

    [QUOTE=rahtgaz;328421]LD SP seems one heck of a ... ]
    LD (END+1),SP
    LD SP,SOMEDATA
    ... ; do something ... the data
    END: LD SP,0
    RET
    [/CODE ... of RET in ROM
    DEC SP
    DEC SP
    POP DE
    Patrik Rak Patrik Rak 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…

    ... of RET in ROM
    DEC SP
    DEC SP
    POP DE
    add hl,sp
    ld sp,hl
    ret
    Dr BEEP Dr BEEP 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…

    ... of RET in ROM
    DEC SP
    DEC SP
    POP DE
    DEC SP following the call and execution ... the address of the first DEC SP command? I guess with this ...
    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…

    ... ROM
    HERE
    DEC SP
    DEC SP
    POP DE
    LD ...
    Patrik Rak Patrik Rak January 2009 Development
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... jr z,nop_back_done ;Yep
    dec sp ;Adjust
    pop af ... HL'
    ld sp,hl ;Restore SP
    ret ; ...
    Chris Pile Chris Pile November 2009 Games
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... jr z,nop_back_done ;Yep
    dec sp ;Adjust
    pop af ... HL'
    ld sp,hl ;Restore SP
    ret ; ...
    Retrobrothers Retrobrothers November 2009 Games
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... add edi,[VRAMMODULO]
    dec edx
    jne .slow_down ... nz,.lz3

    dec sp
    pop af
    ... z,.lz4

    dec sp
    pop af
    ... z,.done

    dec sp
    pop af
    ... 1],a

    dec sp
    pop af
    ...
    ASM ASM October 2010 Development
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... />
    start: di
    ld sp,copy_tab ; **MUST RELOCATE**

    pop hl
    dec sp
    pop de
    out ... ,c
    ldir

    dec a
    jr nz,remap ... /> inc hl
    ldir
    dec a
    jr nz,patch ...
    ASM ASM November 2010 Announcements
  • Help Wanted: Playtest BUGFIXED games!There's an ongoing effort at WoS to fix classic Spectrum games with serious bugs that make them impossible to complete, crash frequently, etc. More d…

    ... ,last-first
    dec sp ; repeat last return address
    dec sp
    jp ...
    Einar Saukas Einar Saukas June 2011 Games
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    ... interrupt will cause havoc (to SP and the SEED variable).
    call 0052
    dec sp
    dec sp
    pop hl[/code]
    mheide mheide August 2011 Development
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    [code]
    ADJUST: dec sp
    dec sp
    pop hl ;HL=actual ... /> halt
    di
    dec sp
    dec sp
    pop hl ; hl = address ...
    Alcoholics Anonymous Alcoholics Anonymous August 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... address. 10

    dec sp ; Point SP back one scanline for next ... time round 6+6
    dec sp

    ldi ; Using LDI ... scanline!!!

    ld sp,(stackptr_temp) ; Restore SP & registers then return ...
    R-Tape R-Tape September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... address. 10

    dec sp ; Point SP back one scanline for next ... time round 6+6
    dec sp

    ldi ; Using LDI ... scanline!!!

    ld sp,(stackptr_temp) ; Restore SP & registers then return ...
    Metalbrain Metalbrain September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... address. 10

    dec sp ; Point SP back one scanline for next ... time round 6+6
    dec sp

    ldi ; Using LDI ... scanline!!!

    ld sp,(stackptr_temp) ; Restore SP & registers then return ...
    Zoltar Zoltar September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... I can remove the two DEC SP instructions saving 12 ticks per ...
    Zoltar Zoltar September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... I can remove the two DEC SP instructions saving 12 ticks per ...
    Fikee Fikee September 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…

    ... /> call 82
    ret82 dec sp
    dec sp
    pop hl
    add ...
    Dr BEEP Dr BEEP October 2011 Sinclair Basic
  • how can we convert .z80 to .tap ?is there some way to convert a .z80 file (specially 48k) to .tap, in a similar result as saved from Multiface1? (i'm asking this because i imagine th…

    ... 205 82 0
    DEC SP ; 23960 59
    DEC SP ; 23961 59
    DI ; 23979 243
    LD SP, 49152 ; 23980 49 0 192 ...
    Battle Bunny Battle Bunny November 2011 Development
  • 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…

    ... br /> ADD HL, SP ;(ERR_SP)
    LD SP, HL ;from m/ ... br /> JR Z, NOGSUB
    DEC SP ;entry is 3 bytes
    EX (SP), HL ;restore (ERR_SP)
    ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
<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
dec 2.5K 6.3K
sp 1.7K 4.2K

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…
  • Rome on BBC2 Wed 28th Dec - Titus Pullo kicks assDid anybody watch Rome last Wednesday?<br /> <br /> Did Pullo over-react when that slave-guy told him he intended to marry his girl or what?<br /> <b…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • Nintendo Wii launch date - Dec 8th?179, and comes bundled with Wii Sports.<br /> <br /> A shed load of games for launch too, including Zelda - Twilight Princess<br /> <br /> [url]http…
  • RssCheck going offline 20th Dec - advanced warningI'm moving house next Friday, so the computers will be in boxes for at least a couple of days. I'm meant to be having a shiny new phoneline and broad…
  • 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…
  • Gameboy Advance SP -> UK PAL TV?Was a Gameboy Advance SP -&gt; UK PAL TV converter ever produced - to put up the console's screen display on a regular TV? The only one I can find in…
  • SP and IM2 woesI have a function that writes the backbuffer to the screen using the method by which SP is stored, I "POP" a load of registers and then chnge SP to t…
  • Everiss in court on Dec 14th - sort of[URL]http://www.bruceongames.com/2009/12/03/i-am-in-court-with-evony-on-14-december/[/URL]<br /> <br /> Let the entertainment begin.

Related Searches

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

Copyright © 2024 World of Spectrum