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

    ... you become an expert asm programmer, you will still ... z88dk can accommodate your asm code for the heavy ... hash table, heap, queue and stack.
    - im2 support has ... you can specify the location in memory of its ... can make the graphic pointer point at 0 and ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 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…

    ... /> #pragma output STACKPTR=53248 // place stack at $d000 at startup
    long heap; // malloc's heap pointer
    void *u_malloc(uint size ... Variable to data Declared in ASM at End of File
    Timmy Timmy January 2012 Development
  • z88dk sp1lib with fzxThe numbers dont seem to display properly? fzx by itself works [quote] // for targets supporting fzx // zcc +zx -vn -startup=31 -O3 -clib…

    ... = 0 // no exit stack
    #pragma output ... Graphics Declared in external ASM File
    < ... br /> void *joyfunc; // pointer to joystick function
    # ... /> // Move Sprites to Initial Location

    for ( ...
    slenkar slenkar June 2017 Development
  • 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…

    ... SP1.LIB update list tail pointer
    ; * d4ee - d4ef ... br /> ; d100 - d2ff ------- z80 stack (512 bytes) set SP=d300 ... requires us to specify the location of the interrupt vector ... br />
    [code]
    #asm
    XDEF _im2_vtable
    DEFC ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Possibly a little OT: Exporting ROM function addresses to the Z88DKOK, so I'm using the Z88DK. It's entirely possible that some documentation has bypassed me. But assume I have a function in ROM, say, at address 0xF0…

    ... #define _MYROMADDR_H

    #asm
    defc bar = $0f00
    location in memory -- these ... does not clean up the stack -- your function does. ... />
    void *f; // function pointer
    ...
    strtol("3456789", 0 ...
    Alcoholics Anonymous Alcoholics Anonymous April 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…

    ... 23606/23607, thus changing the location of the character set. On ... :

    [code]
    #asm
    XDEF _std_seed
    #endasm ... not allow properly declaring function pointer prototypes so I simply ... variables are popped off the stack and are no longer ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 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…

    [QUOTE=ASM;488199]
    [code]

    ; ...
    inc hl ; Next attribute location

    dec bc ; Length ... .


    ; > DE = Pointer to sprite definition
    ; > ... for SP change
    ld (stack+1),sp ; Store SP using ...
    sekrets sekrets November 2010 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…

    ... /> #pragma output STACKPTR=53248 // place stack at $d000 at startup
    long heap; // malloc's heap pointer
    void *u_malloc(uint size ... Variable to data Declared in ASM at End of File
    AndyOaks AndyOaks March 2012 Development
  • Cross platform developmentI'm just vaguely considering supporting a few more retro 8 bit platforms for something I have in mind to do. Just Z80 and 6502 really, but that cove…

    ... header file in the standard location for stuff that comes with ... .c" L:103 Warning:#13:Pointer/pointer type mismatch
    sccz80:"ex1 ... meant to be close to asm and the culture is the ... compiler needs to clear the stack of function parameters passed in ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... can correspond to a memory location holding a value.

    pointer should be straightforward for asm programmers because that ... ... And you have buffer overflows, stack overflows, memory leaks and lot ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... type something like mc30mintut.asm into the save box ... showing where the machine stack is in the RAM ... push'. To write from the stack we use 'pop'. What ... algorithm -
    Choose a location in ROM where the are ... score
    pop hl ;empty stack
    ei
    ret ...
    bigjon bigjon November 2009 Development
  • Z80 'EXX' ConfusionI was working on a little Z80 routine last evening, and, having run out of registers, resorted to sticking one of the values into a memory location a…

    ... the values into a memory location and doing a little pushing ... use of a memory location and the stack for some careful EXXing ... as both a memory buffer pointer and as a loop counter ...
    RoseCotton RoseCotton November 2009 Development
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…

    ... reference the m/c stack at the old location, so this little ... are preserved, but the GOSUB stack still gets reset, as it ... enhanced to preserve the GOSUB stack as well, but then it ...
    Battle Bunny Battle Bunny November 2011 Sinclair Basic
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…

    ... the top of the calculator stack. I've been trying ... to adjust the machine stack and then a call ... string details onto the calculator stack before they can be ... FN statement using the DEFADD pointer; but that needs two ... code to set up a location for the name of ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Where do you stick the stack?...OK, so I've got a fair chunk of ASM code assembled from 24000 mark. The stack shouldn't get very big, just a few PUSHes and POPs of the main regis…

    ... chunk of ASM code assembled from 24000 mark. The stack shouldn't ...
    Morkin Morkin July 2013 Development
  • z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…

    ... br />


    #asm



    ... 1);

    #asm
    LD BC,37000
    #asm
    rst 56
    ... ; high byte of pointer table location.
    ld i, ...
    slenkar slenkar October 2013 Development
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... (112 values). The location of the BLOCK set ... .co.uk/~jg27paw4/pourri/dumpvars.asm[/url]
    NOTES:
    stack correctly prior to ... .co.uk/~jg27paw4/pourri/scrdol0.asm[/url]
    NOTES:
    ASM and DumpVARS.ASM give examples ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • Help me with this Stack overflow Freak Show.I am asking a simple question on Stack overflow and once again, the closed minded morons a pointing and tutting. I'm asking a question about C point…

    ... asking a simple question on Stack overflow and once again, the ... asking a question about C pointer.

    I simply asked ... value from a pointer, and to declare a pointer (i,e, *). Instead ...
    Scottie_uk Scottie_uk January 2014 Chit chat
  • I think my stack is in the wrong placeHi Im using SDCC and my game crashes for no apparent reason in the compilation arguments I put --stack-loc 60000 but im printing SP to the screen and…

    ... the compilation arguments I put --stack-loc 60000
    but im ...
    SP is the location of the stack right?

    I ... a way of getting the stack location using an emulator?
    slenkar slenkar February 2015 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... store_c=store; // control byte pointer -> start of storage< ... code]

    and the asm unpacker

    [code ... hl,screen ; 10t - start location of the compression
    ... :

    INCLUDE "scr.asm"
    ;;
    ;; code for ...
    TomD TomD April 2017 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... up a good C/asm development environment can take ... void __FASTCALL__ scroll_left()
    {
    #asm
    db 6,191,33 ... /> {
    scroll_left();

    #asm
    halt
    #endasm
    stack and input and output ...
    Timmy Timmy September 2020 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... y

    300 REM Location of fill pattern
    310 ...
    Volker Volker February 2021 Software
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... sets
    ---------------------------------------

    The location of the charset being used ... 23607,194

    The location of the UDG set is ... the address on the machine stack where the appropriate return data ...
    na_th_an na_th_an April 2005 Development
  • 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…

    ... library. Copy it to "customize.asm", which will be the customization ... to sp1\spectrum\updater\SP1GetUpdateStruct.asm

    Making the ... 't need it, set its location to $0000. The rotation table ... in the table is a pointer to a UDG character indexed ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • 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…

    ... this is the suggested location of the stack in the memory map ... will point at the embedded asm label "_frame02". In this way ... start.

    [code]
    #asm
    di
    #endasm
    asm programmers to do the same ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • 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…

    ... copied into the correct location to replace already existing ... sp1[/B]_PreShiftSpr.asm
    parameter fetching from stack changed
    asm[/B]
    rewrote ... \sp1\spectrum\updater\SP1RemoveUpdateStruct.asm[/B]
    incorrect ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... (by way of a pointer in IX) so that ... /libsrc/adt/heap/ADTHeapify.asm?revision=1.2& ... /libsrc/adt/heap/ADTHeapExtract.asm?revision=1.2& ... /z88dk/libsrc/stdlib/Lqsort.asm?revision=1.1& ... information is stored in the stack. Quicksort (even the misnomered ...
    Alcoholics Anonymous Alcoholics Anonymous August 2006 Development
  • Help understanding some z80 asmI'm trying to work out how to represent the structure of a "sprite" in the SAM as "Grabbed" by SmallC. I can see the assembler implementation but I …

    ... with function pointers since function pointer invocation assumes regular call linkage ... responsible for cleaning up the stack. So instead of this for ... have to be written in asm -- if you depend on ... is particularly scary, even for asm programmers as cpu speed is ...
    Alcoholics Anonymous Alcoholics Anonymous January 2007 Development
  • Noob to Z80 needing +3 helpI'm quite new to z80 programming, but i'm attempting to write some kind of windowing system that will run alongside BASIC on my +3 with Kempston mous…

    ... where i would put my stack).
    [/quote]

    location to bring along stuff ... to simply including text asm files in a project ... and rewrite everything in asm, giving options to include ... z88dk allows mixing C and asm code at will. This ...
    Alcoholics Anonymous Alcoholics Anonymous January 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…

    ... should know that C and asm are very similar and close ... it would be done in asm and the thinking behind an ... asm-equivalent solution.

    Now ...
    Alcoholics Anonymous Alcoholics Anonymous June 2007 Development
<1…10111213141516…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