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…9101112131415…34>
  • 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…

    ... /> ld (savesp+1),sp ; save stack pointer
    ...
    savesp: ld sp ... ,0 ; restore stack pointer
    [/code][/quote]

    thricenightly thricenightly January 2018 Assembler
  • That bombing map on Deathwake..Did it make a difference? If you target the enemy airfields, you still seem to get the same number of aircraft attacking. And targetting the enemy po…

    ... incorrect, every play shifts the stack pointer.

    Solution: POKE 34883 ...
    Pgyuri Pgyuri June 2018 Games
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... was going on at the stack+1 label, it appears to ... variable to store the original stack pointer - injecting directly into the instruction ...
    ST1 ST1 November 2018 Development
  • Raster effects - quick questionHi Guys Just a quick question regards what the ULA is doing as its drawing each scan line. Assuming the beam has finished drawing the border, am I…

    ... 11T if you aim the stack pointer into video RAM.

    joefish joefish August 2019 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... , I prefer to redirect the stack temporarily to where the tile ... sure that you store the stack pointer at the beginning of your ... tile we would redirect the stack pointer to HL (which is pointing ...
    dmsmith dmsmith March 2020 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... , I prefer to redirect the stack temporarily to where the tile ... sure that you store the stack pointer at the beginning of your ... tile we would redirect the stack pointer to HL (which is pointing ...
    Luny Luny March 2020 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... it later. You have a Stack pointer (SP) which is a ... the memory address at the Stack Pointer.

    But POPPING ... br />
    So if the stack pointer is pointing to the first ... /> Each POP BC advances the stack pointer 2 bytes through your tile ...
    dmsmith dmsmith March 2020 Development
  • Zynaps scrolling - anyone ever reverse enginnered this?Zynaps has IMO some impressive scrolling - it utilises 18 character rows of the display file, so quite a large active play area, and scrolls 2 pixels…

    ... at some points using the stack pointer to point to the data ...
    dmsmith dmsmith August 2020 Games
  • Is it possible to make the Z80 execute a bizarre instruction?What happens when it gets an unrecognised instruction OP Code, I mean something following a #ED that isn't one of the undocumented instructions eithe…

    ... going to be moving the stack pointer or using interrupt modes. That ...
    The Mighty Dopethrone The Mighty Dopethrone March 2022 Development
  • Is it possible to make the Z80 execute a bizarre instruction?What happens when it gets an unrecognised instruction OP Code, I mean something following a #ED that isn't one of the undocumented instructions eithe…

    ... going to be moving the stack pointer or using interrupt modes. That ...
    dmsmith dmsmith April 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... that. You could stash the stack pointer if you want to return ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... that. You could stash the stack pointer if you want to return ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... that. You could stash the stack pointer if you want to return ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> push hl ; push data pointer
    cp WALL
    ... to play with the stack pointer, and self modifying code ... br /> ld (.stack+1), sp ;store current stack pointer
    ld ... hl, 0 ;this value will be stored on stack ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> ld (.stack+1), sp ;store current stack pointer
    ld ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... ret


    ; de pointer to 8 bytes graphic data ... of sprite16x16a
    ; de = pointer to 32 bytes graphic data ... ret

    ; de = pointer to 32 bytes graphic data ... br /> ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... of sprite16x16a
    ; de = pointer to 32 bytes graphic data ... a
    ; increment data pointer twice to double stride
    ret

    ; de = pointer to 32 bytes graphic data ... br /> ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... ret


    ; de pointer to 8 bytes graphic data ... of sprite16x16a
    ; de = pointer to 32 bytes graphic data ... ret

    ; de = pointer to 32 bytes graphic data ... br /> ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... (self modifying code, changing the stack pointer).

    You can use ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... interrupt
    ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Kotek Kotek July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... again) and mess with the stack without setting it back to ... to go off when the stack pointer was being messed with everything ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... interrupt
    ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Kotek Kotek July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... br /> ld (.stack+1), sp ;store current stack pointer
    ld ... push hl ;store hl on stack
    push hl ; ... push hl ;store hl on stack
    push hl ; ... by ld (.stack+1), sp ;store current stack pointer
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... interrupt
    ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Kotek Kotek July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... /> ld (.stack+1), sp ;store current stack pointer
    ld ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ...
    Kotek Kotek July 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... ret


    ; de pointer to 8 bytes graphic data ... of sprite16x16a
    ; de = pointer to 32 bytes graphic data ... ret

    ; de = pointer to 32 bytes graphic data ... br /> ld (.stack+1), sp ;store current stack pointer
    ld sp ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Robospec (new project, hopefully useful as a tutorial as well)Starting a new project after my graphics investigations. * It's gonna be a Robotron clone since that's not too ambitious (although I'd like to hav…

    ... /> ld (.stack+1), sp ;store current stack pointer
    ld ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ...
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • SCF/CCF flags - new discoveryI can't believe that no one is interested in discussing the additional, previously undocumented internal state of the Z80 CPU I have discovered recen…

    ... it doesn't increment the stack pointer.

    (SP) L; (SP ...
    dmsmith dmsmith October 2022 Emulators
  • SCF/CCF flags - new discoveryI can't believe that no one is interested in discussing the additional, previously undocumented internal state of the Z80 CPU I have discovered recen…

    ... /> ld (.stack+1), sp ;store current stack pointer
    ld ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ... hl ;store hl on stack
    push hl ; ...
    Paradigm Shifter Paradigm Shifter October 2022 Emulators
  • SCF/CCF flags - new discoveryI can't believe that no one is interested in discussing the additional, previously undocumented internal state of the Z80 CPU I have discovered recen…

    ... it doesn't increment the stack pointer.

    (SP) L; (SP ... would end up with the stack pointer value or something. I'll ...
    Paradigm Shifter Paradigm Shifter October 2022 Emulators
<1…9101112131415…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