home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.sys.amiga.demos
- Path: sparky!uunet!lysator.liu.se!marvil
- From: marvil@lysator.liu.se (Martin Vilcans)
- Subject: Re: Writing a StarField. Which method is best?
- Message-ID: <1948@lysator.liu.se>
- Sender: news@lysator.liu.se
- Nntp-Posting-Host: robin.lysator.liu.se
- Organization: Lysator Academic Computer Society, Linkoping University, Sweden
- References: <1992Nov7.104910.60476@cc.usu.edu> <1992Nov11.131803.1276@ifi.uio.no>
- Date: Wed, 11 Nov 1992 19:34:13 GMT
- Lines: 19
-
- larshaug@ifi.uio.no (Lars Haugseth) writes:
-
-
- > move.l a7,SAVEA7
- > lea $1000.w,a7
-
- Hey, DON'T DO THAT! You will probably destroy some OS structures or buffers.
- If you really want to create your own stack for some reason, do it like this:
-
- move.l a7,savea7
- lea stacke,a7
- .
- .
- .
- section stack,data
- stack:
- ds.b stacksize ;A few hundred bytes is more than enough for
- ;assembler programs
- stacke:
-