Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!uxc.cso.uiuc.edu!osiris!hood
From: hood@osiris.UUCP
Newsgroups: comp.sys.apple
Subject: HELP, //c program
Message-ID: <9300004@osiris>
Date: Mon, 13-Jul-87 16:12:00 EDT
Article-I.D.: osiris.9300004
Posted: Mon Jul 13 16:12:00 1987
Date-Received: Thu, 16-Jul-87 02:23:51 EDT
Lines: 31
Nf-ID: #N:osiris:9300004:000:1172
Nf-From: osiris.cso.uiuc.edu!hood    Jul 13 15:12:00 1987





I am in the process of writing a program that needs a bunch of memory
buffer area.  As a result,  I have the need to transfer program control
over to the aux. 48K and work from there for a while.  My question comes
in how to do the transfer without getting lost ??

I am writing the program in assembly language and all the documentation
that I can find tells me to do the following:

set or clear the carry flag (depending on which way to transfer)
put the starting address in  $03de, 03df (I think those are the right #'s)
and then do a jump (4c) to $c314

Just previous to this I have moved a section of the main program to the 
new location but after executing the jump,  I end up breaking at some point
in the system global page and I never do execute any of the commands at
the new location.

Another related question is how (if it can be done) do you look at the
aux memory locations from the monitor prompt???

thanks for your help on this, I can't go on until this bridge is crossed.


Stan Seago				US Army, HQ III Corps & Fort Hood
UUCP..!ihnp4!uiucuxc!fthood!sseago	Attn: AFZF-DE-ENV
					DEH, Environmental Management Office
					Fort Hood, TX 76544-5057