home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!purdue!yuma!csn!copper!slate!gdesroch
- From: gdesroch@slate.mines.colorado.edu (DESROCHERS GARY FREDERIC)
- Newsgroups: comp.sys.apple2
- Subject: Re: multi-tasking GNO
- Message-ID: <1992Jul22.152611.10122@slate.mines.colorado.edu>
- Date: 22 Jul 92 15:26:11 GMT
- References: <fmlin.0ufq@terapin.com>
- Organization: Colorado School of Mines
- Lines: 42
-
- fmlin@terapin.com (Frank M. Lin) writes:
- : I remember reading from ORCA manuals about the new Finder allocate 4k of
- : stack... but I guess switching among 3 or 4 application is still not
- : impossible, right?
- :
- : I still don't understand about "where stack and direct pate space can be access
- : by the processor"... little more detail?!
-
- O.K. A brief rundown is as follows:
-
- The stack register is a 16 bit register. What this means is that it
- can only run from 0000 -> FFFF. This means it needs to stay in bank 0.
- The stack cannot run into, lets say, 010000 because of it's size. On the
- 8 bit 65XXX processors it was only 8 bits and limited from 00 -> FF. The
- 01 page was set already for it. The direct page register is essentially
- the same thing. Of course, the direct page is only one page long (unless
- you move it) and stack can run the whole range. When a program is loaded
- it is given a 4k stack and direct page with the stack growing torward the
- direct page.(That is unless you have your own direct page segment in your
- program.) This is the best way to think about it without getting into
- all the addressing and page aligned stuff.
-
- : btw, does every NDA, CDev require some stack from bank 0?
-
- They are definitely going to have a direct page and a stack. This is a
- processor requirement. They are always set to something. They are also
- going to require it because every call to a tool needs some and for that
- matter every jsr or jsl needs it. Where they get it? How much is
- allocated for them on entry or wether they need to allocate it themselves?
- Not sure, never looked into it or written one. Someone else......? Of
- course, you can always see where the stack is by doing a tsc.
-
- : Thanx.
- :
- : frank m. lin
- : internet: fmlin@terapin.com
- : symmetrix...
- --
- ---------------------------------------------------------------------
- Gary F. Desrochers INTERNET: gdesroch@slate.mines.colorado.edu
- GENIE: G.Desrochers
- Any comments/complaints on Disk Witch tell me. Apple II Forever!!
-