home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / apple2 / 17736 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  2.4 KB

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