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.015s
<1234567…34>
  • 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…

    ... /> I'm currently studying the stack and wrote the little program ... viewer to inspect the stack contents and pointer location.

    [CODE]ld ... essentially a stack (duh!) of 16-bit elements, the pointer is still ...
    rahtgaz rahtgaz January 2009 Development
  • [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…

    ... I'm learning Z80 asm on Speccy 48K, and to ... it is, the first asm I've ever written using ... [url=http://clrhome.org/asm/]the excellent ORG web ide ... Remember this is my first asm code so be gentle :)< ... , it was abusing the stack pointer and using push/pop to ...
    ST1 ST1 November 2018 Development
  • Installing Z88DK Z88DK INSTALLATION Z88DK is distributed in two parts. The first part is the platform independent bits (including source and z80 libraries) and th…

    ... /> extern struct sp_Rect *sp_ClipStruct;
    #asm
    LIB SPCClipStruct
    ._sp_ClipStruct ... the stack pointer to be moved
    to a new absolute location when ... [];
    extern uchar col3[];
    #asm
    ; window frame sprite 2x2 ...
    Alcoholics Anonymous Alcoholics Anonymous April 2005 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ... are destroyed by moving the stack pointer upward in memory (ie they ... will load SP appropriately). The location of the IM2 vector table ... /> main()
    {
    ...

    #asm
    di ; make sure no ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • Compiler conventions for passing args/return valuesI've been mulling over this for a while, but I can't spot it covered anywhere. There are various methods for passing args and return values between …

    ... describe below. It allows z80 asm code to call C libraries ... its own frame pointer), restore stack pointer, restore frame pointer

    Stack frame (small ... * (current write location)
    ; a = first digit
    ; stack = char *string, list ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 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…

    ... " - very good, preserving the stack pointer so you can retrieve it ... when specifying a memory location with a 16-bit constant ... will likely jump to memory location #469c!

    Anyway ... Windows) do "pasmo --tap yourcode.asm creativename.tap" - like this, ...
    utz utz February 2016 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... the other holds the asm stuff. The compile lines ... per-node200000 demo.c graphics.asm -o demo
    appmake ... pragma output REGISTER_SP = 0xd000 // place stack at $d000 at startup
    asm file "graphics.asm"

    ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • Z88DK v1.99B ReleasedAt Sourceforge: https://sourceforge.net/projects/z88dk/ It's been a year since the last release so it was time for another. This is another tran…

    ... declared somewhere else and its location will be resolved by the ... CmGonzalez/pietro_bros/src/3fb63168d9ac0441bee705550c9c88502a6cde32/pietro_ay.asm?at=master&fileviewer= ... input parameter from the stack without altering the stack pointer.

    ...
    Alcoholics Anonymous Alcoholics Anonymous January 2017 Announcements
  • 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…

    ... SCREEN EQU $4000 ; Location of screen
    ATTRIBS ... EQU $5800 ; Location of color array
    ... /> ld (.stack+1), sp ;store current stack pointer
    ld ... you are comfortable with asm
    tbl_rows dw ...
    Kotek Kotek July 2022 Development
  • Xecutor (BUGFIX)This is a bugfix for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0005783"]Xecutor[/URL], please add the following "known errors" desc…

    ... Alkatraz protection incorrectly points the Stack Pointer to a data table after ... (tap version) at a certain location. The problem is corrected restoring ...
    Einar Saukas Einar Saukas June 2011 Infoseek database
  • 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; …

    ... pop hl ;HL=actual runtime location of ADJUST
    ld de ... ,LOCATE ;DE=assembled location of ADJUST
    and a ... /> GET_SP: ld sp,(STACKP) ;restore stack pointer
    ret

    ...
    Battle Bunny Battle Bunny August 2011 Development
  • Kiwi OS for z80 computerHi everyone, Nearly made my z80 computer with 2K ROM 32K RAM. It has an OS im still writing called Kiwi (apple, blackberry, you get the idea ;D) he…

    ... WITH STACK POINT LOCATION
    LD SP, HL ;SET STACK POINTER TO ... LOAD HL WITH ADDRESS STRING LOCATION
    CALL ASCII ; ... /> POP HL ;RETRIVE THE ADDRESS LOCATION

    NEW_ADDRESS
    LOCATION
    CALL ASCII ;PRINT ...
    Robin Robin August 2011 Announcements
  • Invalid combination of operands and opcodesIt says the error in the title, why is this?? [CODE] ORG 0000 LD HL, 63000 ;LOAD HL WITH STACK LOCATION LD SP, HL ;SET STACK POINTER TO HL LD A, …

    ... HL WITH STACK LOCATION
    LD SP, HL ;SET STACK POINTER TO HL
    LOCATION OF KIWI OS
    LD ... ;LOAD HL WITH Z80 POWERED LOCATION
    LD B, 11 ;LOAD ...
    Robin Robin December 2011 Sinclair Miscellaneous
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... save all registers and the stack pointer
    push bc
    location (no stack available)
    ld (endcall), ... br /> ld sp, (sp_cache) ; resotre stack pointer and all registers
    pop ... blit 16 from location in IX to location in IY ...
    chev chev April 2012 Development
  • Double Buffer UtilityHi Folks, I've been experimenting with double buffering on a 48k Speccy for a small project I'm working on. After reading lots of good advice here…

    ... code that will write the ASM for me based on a ...
    #-To automatically generate Z80 Asm that will enable double buffering ... address to store the stack pointer', self.spStorageAddr,16) #Stack pointer storage

    KrazyKattapilla KrazyKattapilla August 2014 Development
  • Unpublished spectrum gameHi there I have a Spectrum PDS development environment and before I get rid of my old PC which has an ISA slot I thought I should ask this question i…

    ... rest of the machine state (stack pointer, pc, etc) won't be ... that includes z80 state info (location of stack, pc, register contentsm, etc ...
    Alcoholics Anonymous Alcoholics Anonymous March 2006 Games
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... a new value for the stack pointer is used (#pragma output STACKPTR ... /sprites/software/sp1/spectrum-customize.asm?revision=1.9&view ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... );
    sbuf = scroll_buffer;

    #asm

    ////////////////////////////////////////////////////////////////////
    // Scroll the ... "uchar l". The z80's stack pointer will, therefore, be pointing at ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • 68000 programming.Anyone here know anything about this? My question is: how does the programmer know how long hisinstructions are? Do determine the operands to branch …

    ... # means an absolute memory address location.[/QUOTE]
    the contents of ... ,r6 #adding 3 to the stack pointer, like pushing three zeroes, or ... (r7) #push current opcode onto stack (r7 is the program counter ...
    wilsonsamm wilsonsamm July 2007 Chit chat
  • 68000 programming.Anyone here know anything about this? My question is: how does the programmer know how long hisinstructions are? Do determine the operands to branch …

    ... #adding 3 to the stack pointer, like pushing three zeroes, ... #push current opcode onto stack (r7 is the program ... , a7 is the stack pointer and you can do ... -- Move the contents of memory location a0 + d0 + $34 to ... the memory location pointed to by a1 and ...
    Laser Laser July 2007 Chit chat
  • Looks like the spammers are here"Welcome to our newest member, Mekgqhuv"

    ... final decrypter which used the stack pointer to do saying it would ... time, and also in the location it was written. He sent ...
    Graham Turbo Mason Graham Turbo Mason January 2008 Chit chat
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... />
    On a Spectrum, the stack pointer normally points to somewhere just ... 65520, which will overwrite the stack, assuming RAMTOP is at its ... will jump to a different location than intended when the next ...
    Marko Marko April 2009 Emulators
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... />
    On a Spectrum, the stack pointer normally points to somewhere just ... 65520, which will overwrite the stack, assuming RAMTOP is at its ... will jump to a different location than intended when the next ...
    jp jp April 2009 Emulators
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... ; address to give the correct location
    ; in the streams ... 128*char_row) ; set the stack pointer to the data
    ... />
    ; restore the stack pointer, then all the registers:
    ; cache for the stack pointer
    sp_cache
    defw 0 ...
    chev chev May 2009 Development
  • 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…

    [QUOTE=ASM;487749]
    I also use ... no need for a hardware stack if you have an ... PUSH, using r4 as a stack pointer). That way instead of being ... restricted to the one hardware stack provided, you can have ... (IIRC, MIPS does have a stack, but the original MIPS may ...
    Winston Winston October 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…

    ... code to store/restore the stack pointer. I choose to use ... br /> inc hl ; Next screen location

    dec bc ; ... br /> inc hl ; Next attribute location

    dec bc ; ... />

    ; > DE = Pointer to sprite definition
    ; > ...
    ASM ASM October 2010 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... the stack pointer which is causing the problem (or, more correctly, the location ... two stacks, and eventually the stack pointer gets pushed down into the ...
    Battle Bunny Battle Bunny May 2011 Games
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... the stack pointer which is causing the problem (or, more correctly, the location ...
    Jimmy Jimmy May 2011 Games
<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
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