Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #3303
| From | "Mark D. Overholser" <marko@markoverholser.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: running programs in aux memory |
| Date | 2017-03-02 14:18 -0800 |
| Organization | albasani.net |
| Message-ID | <ff46e544-cd18-e269-054f-cca62259d4fc@markoverholser.com> (permalink) |
| References | <5a125a37-dd5a-49d4-88c5-da0e540a06b5@googlegroups.com> |
On 02-Mar-17 12:10, Mark Lemmert wrote: > I’m about to do some experimenting (for the first time) with using > XFER ($C314) to pass control to a subroutine in AUX memory. I’m > planning having my main program (in main memory) and the aux > subroutine share the main memory stack and zero page > > > In this scenario, the material on this subject in “Inside the Apple > IIe” recommends saving the stack before passing control to the aux > program and restoring the before returning control to the main memory > program. > > I’m guessing that this is a safety net recommendation rather than a > requirement and would like to double check. > > As long as the subroutine in aux memory removes all the bytes from > the stack that it adds (and doesn’t remove more bytes than it adds), > wouldn’t the stack contents and stack pointer be in the exact same > state as when control was transferred to the aux subroutine? > > > Thanks much for any advice anyone has! > > > Mark > Tom Porter has a Sound Routine, SFX that runs from the Aux Memory... I don't know if he follows c.s.a2.p, but I will give him a "heads up".... MarkO
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
running programs in aux memory Mark Lemmert <mark.lemmert@gmail.com> - 2017-03-02 12:10 -0800
Re: running programs in aux memory "Mark D. Overholser" <marko@markoverholser.com> - 2017-03-02 14:18 -0800
Re: running programs in aux memory Mark Lemmert <mark.lemmert@gmail.com> - 2017-03-03 11:08 -0800
Re: running programs in aux memory roger.shimada@gmail.com - 2017-03-02 20:41 -0800
Re: running programs in aux memory Mark Lemmert <mark.lemmert@gmail.com> - 2017-03-03 11:18 -0800
Re: running programs in aux memory roger.shimada@gmail.com - 2017-03-05 09:13 -0800
Re: running programs in aux memory 6502workshop@gmail.com - 2017-03-05 20:11 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-03 00:50 -0800
Re: running programs in aux memory qkumba <peter.ferrie@gmail.com> - 2017-03-03 08:47 -0800
Re: running programs in aux memory Mark Lemmert <mark.lemmert@gmail.com> - 2017-03-03 11:08 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-03 12:55 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-03 13:00 -0800
Re: running programs in aux memory Antoine Vignau <antoine.vignau@laposte.net> - 2017-03-03 19:53 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-03 20:41 -0800
Re: running programs in aux memory qkumba <peter.ferrie@gmail.com> - 2017-03-03 21:43 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-04 08:37 -0800
Re: running programs in aux memory Antoine Vignau <antoine.vignau@laposte.net> - 2017-03-04 11:02 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-04 13:54 -0800
Re: running programs in aux memory gids.rs@sasktel.net - 2017-03-05 15:58 -0800
Re: running programs in aux memory John Brooks <jbrooks@blueshiftinc.com> - 2017-03-05 20:16 -0800
Re: running programs in aux memory qkumba <peter.ferrie@gmail.com> - 2017-03-06 09:30 -0800
Re: running programs in aux memory qkumba <peter.ferrie@gmail.com> - 2017-03-04 22:11 -0800
Re: running programs in aux memory Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-03-15 19:06 -0700
Re: running programs in aux memory Benoit0123 <bgilon@free.fr> - 2017-03-06 00:20 +0000
Re: running programs in aux memory 6502workshop@gmail.com - 2017-03-05 20:13 -0800
Re: running programs in aux memory laseractiveguy@gmail.com - 2017-03-08 16:33 -0800
Re: running programs in aux memory laseractiveguy@gmail.com - 2017-03-08 17:04 -0800
csiph-web