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.009s
<1…891011121314…34>
  • r-type in development for the sam coupehttp://cookingcircle.co.uk/ we need z80 coders graphics artists and audio this is the amstrad cpc 6128 version: https://www.youtube.com/watc…

    ... rom routine to use the stack pointer and push graphics to video ...
    rogerjowett1 rogerjowett1 October 2015 Development
  • r-type in development for the sam coupehttp://cookingcircle.co.uk/ we need z80 coders graphics artists and audio this is the amstrad cpc 6128 version: https://www.youtube.com/watc…

    ... with push and using the stack pointer as a reverse cursor - i ... rom routine to use the stack pointer - unless it offered a selection ...
    rogerjowett1 rogerjowett1 October 2015 Development
  • Help! I'm learning Machine Code...Having decided to take the plunge and learn to machine code a while ago, I have started in earnest using the much recommended 'Mastering Machine Code…

    ... locations will work - changing the stack pointer does not alter the contents ... of the stack itself. However, first you must ... find out where that stack is located! Can you work ...
    utz utz February 2016 Development
  • Help! I'm learning Machine Code...Having decided to take the plunge and learn to machine code a while ago, I have started in earnest using the much recommended 'Mastering Machine Code…

    ... you want to get the stack pointer in BASIC, there's an ... a bit fiddly with the stack pointer as you can't copy ... /> The routine will put the stack pointer into BC, and on returning ...
    joefish joefish March 2016 Development
  • 48K Memory MapHi, I'm having some trouble understanding the top of the 48K Memory Map. From reading elsewhere I have this as the memory map: 0 to 16383 - …

    ... />
    SP is the Z80 stack pointer register i.e. the machine ... stack

    See [url="http:// ...
    dbolli dbolli March 2016 Development
  • Let's copy buffers!Figured I'd do some double buffered graphics, so I can render for several frames before displaying stuff. Yes, I mean on a 48k speccy, so no 128k spe…

    ... bytes, then you do a stack-based shift using AF,BC ... a whole extra pair of stack re-allocations. But on the ... any faster, as hard-coded stack pointer re-allocations are pretty quick ...
    joefish joefish April 2016 Development
  • New Game: Vallation.Okay, this has been hinted at by both Redballoon and me a couple of times, but the damn thing is finally done now. :-D [b][url="http://tardis.dk/w…

    ... eating away at a table/stack pointer. Tried a few strange things ...
    MatGubbins MatGubbins July 2016 Games
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... the consequences of moving the stack pointer like that!

    You ... will be pushed onto the stack (i.e. into the screen ...
    joefish joefish October 2016 Development
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... the consequences of moving the stack pointer like that!

    ... will be pushed onto the stack (i.e. into the ... ; self modifying code to save stack pointer

    ld sp ... 0000h ; self modifying code restore stack pointer
    ei ;re-enable ...
    JamesD JamesD October 2016 Development
  • Why doesnt this work???Simple piece of code wont do as it should, just want to fill the top 22 lines of screen with an attribute value (150) but it wont have any of it. Som…

    ... ; self modifying code to save stack pointer
    ...
    restorestack:
    ld ... ,0000h ; self modifying code restore stack pointer
    ei ;re-enable interrupts ...
    tstih tstih October 2016 Development
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... bit numbers in memory. The Stack Pointer (SP) remembers the address ... the address in the Stack Pointer is decreased by two and ... INC SP to manipulate the stack pointer directly. For example, if ... so some programmers hijack the stack pointer, point it into screen ...
    joefish joefish November 2016 Assembler
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... HL ; store 16384 to stack, change stack pointer by -2 bytes
    LD ... value, that is on the stack, change stack pointer by +2 bytes
    RET ; get 2 bytes from stack, change stack pointer ...
    Bedazzle Bedazzle November 2016 Assembler
  • What should your speccy have come with ?:) I was thinking about this earlier. What changes should of been made to the Speccy when you purchased yours ? Realistically this topic really…

    ... /> But the Z80 had better stack handling. The 6502 had a ... Z80 had a 16-bit stack pointer that could be set anywhere ...
    Bad Horsey Bad Horsey January 2017 Sinclair Miscellaneous
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... ,0000h ;restore base position of Stack Pointer

    ret

    Arkannoyed Arkannoyed March 2017 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... ,0000h ;restore base position of Stack Pointer

    ret

    Arkannoyed Arkannoyed March 2017 Development
  • Memory questionsQuestion 1: PRINT PEEK 23732+256*PEEK 23733 returns 65535 for a 48K Spectrum and 32767 for a 16K Spectrum. PRINT PEEK 16388+256*PEEK 16389 return…

    ... the BASIC ROM sets the stack pointer to the top of available ...
    GReW GReW March 2017 Sinclair Miscellaneous
  • Memory questionsQuestion 1: PRINT PEEK 23732+256*PEEK 23733 returns 65535 for a 48K Spectrum and 32767 for a 16K Spectrum. PRINT PEEK 16388+256*PEEK 16389 return…

    ... the BASIC ROM sets the stack pointer to the top of available ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Miscellaneous
  • More basic assembly stuff!I've been figuring out some more stuff using CALL and DEFB but this has me a bit stumped. [code] ORG 33000 LD BC, 16384 PUSH BC CALL GO RET …

    ... top of the stack and decrements SP (stack pointer) by two ( ... on top of the stack[/i] and decrements SP ... the top of the stack now contains the address ... increments[/i] the stack by two. The stack now points to ... from the top of the stack (16384) and increments ...
    Ast_A_Moore Ast_A_Moore March 2017 Assembler
  • Xmas present from Hood:))Dear MB-02+ users, on my site[url="http://hood.speccy.cz"] http://hood.speccy.cz[/url] I have made quite significant update in download section. B…

    ... run another BASIC file, because stack pointer was not set. Now OK ...
    Hood Hood April 2017 Brand new software
  • shadow regs musingIn the process of optimising some assembler, it occurred to me how great it would have been if the Z80's shadow reg opcodes had been a bit more fully…

    ... useful would be a shadow stack pointer, It would be very handy ...
    Mysterion Mysterion August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... is impossible to store stack pointer value on stack, and retrieve back in ...
    Bedazzle Bedazzle August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... />
    ld sp,(quit_sp) ; restore stack pointer and interrupts, then return to ...
    Mysterion Mysterion September 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... /> You can also use the stack pointer to speed up restoring the ...
    Mysterion Mysterion September 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... a ;reset the index pointer
    ld (hl_store ... a ;update the index pointer
    calc_data_addr:
    Stack Pointer

    ret ...
    Arkannoyed Arkannoyed October 2017 Development
  • Loadsa bullets on screen (silkworm)Did games like silkworm just draw everything to the screen or did they have complicated optimisations? and the types of games where sprites can occu…

    ... just because we know about stack copying. Two LDIs take 32 ... to keep re-loading the stack pointer every 16-20 bytes. The ...
    joefish joefish October 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... a ;reset the index pointer
    ld (hl_store ... a ;update the index pointer
    calc_data_addr:
    Stack Pointer

    ret ...
    Arkannoyed Arkannoyed November 2017 Development
  • Other than using attributes what other ways to detect collisions, when using char based movement?So I'm slowly working out the bits and pieces to write a game completely in assembly. I've been using attributes when writing in BASIC to detect whet…

    ... changed (well, except the stack pointer), so A still holds the ... return address of the stack and jumps back to ... return address off the stack into a register you' ... on the top of the stack before calling RETurn. Just ... of values off the stack afterwards as you don' ...
    joefish joefish November 2017 Development
  • Witchcraft: Nirvana, Bifröst and such[url="http://www.rgcd.co.uk/2011/10/buzzsaw-zx-spectrum.html"]"When considering this next to nearly every other ZX Spectrum game though, Buzzsaw is l…

    ... a safe copy of the stack pointer for later, then point the ... stack alternately at your data and ...
    joefish joefish January 2018 Sinclair Miscellaneous
  • Machine code routine neededHello! Please i'm looking for a short routine that can write the same value in a range of continous memory locations. For example, to write 255 val…

    ... +1),sp ; save stack pointer
    ld sp,41000 ; set stack pointer
    ld ... ; put 255,255 on the stack 5 times
    push hl ... /> savesp: ld sp,0 ; restore stack pointer
    ei ; enable interrupts
    FrankT FrankT January 2018 Assembler
<1…891011121314…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
stack 7.2K 10.4K
pointer 1.7K 3K
location 3.5K 4.8K
asm 3.8K 6.7K

Related Threads

  • Location, Location, Location.Guys,<br /> <br /> Quick question.<br /> <br /> Im starting to plan my game (as stated in a previous post). You are trapped in a house with zoombies …
  • Solution for overwritten stack in 48k SNA filesIt has been known for quite some time now that the 48k SNA file format has one serious fault, which is described in the file formats section on the W…
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23.<br /> <br /> Any ideas on …
  • saving to asmMy another question...<br /> I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt …
  • Getting attribute location from a screen coordinates (x,y)I am having trouble figuring out how to convert an x,y coordinate pair (pointing to a specific pixel) to the location of the attribute for the block …
  • CLEAR does not RESTORE the DATA pointer??According to the Spectrum manual, one of the things that a CLEAR command does RESTORE the DATA pointer. <br /> <br /> Either it doesn't actually do t…
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as <br /> "Grabbed" by SmallC. I can see the assembler implementation …
  • Wanted: z80 asm routines...for the Sam.<br /> <br /> This call goes out to Colin and others who know how it should be done.<br /> <br /> If you look on the Sam C disk you ca…
  • Spectaculator and favorites location helpI am using Spectaculator and i have a fair few favorites bookmarked with the menu in the emulator.<br /> <br /> I have recently moved all my games fr…
  • Stack Up - level 13: anyone want a challenge?okay I swear this level is not humanly possible. if anyone doesn't know Stack-Up it's a simple Tetris type game - match 3 blocks of the same colour i…

Related Searches

  • stack
  • print a char in asm
  • asm draw character
  • circle in asm
  • asm examples
  • asm
  • asm zx7
  • http clrhome org asm
  • asm tzx
  • room location
  • game location code
  • location updating
  • bverstee stack zx spectrum
  • asm poke function
  • asm text print
  • calculator stack
  • stack pointer location
  • change stack pointer location asm
  • keyboard asm
  • gosub stack

Copyright © 2024 World of Spectrum