[A86] Re: Problem with free mem
[Prev][Next][Index][Thread]
[A86] Re: Problem with free mem
Both _closeEditEqu and _PPutAway made assembly programs run properly,
but basic programs are still failing
----- Original Message -----=20
From: <rabidcow@juno.com>
Sent: Wednesday, September 04, 2002 11:27 AM
> What you're seeing is that while at the home screen, the '#' variable =
(or
> is it the '!' variable?) is open for editing, so that all keys can be
> inserted fairly quickly. Any variable open for editing takes all free
> memory.
>=20
> When the enter key is pressed, the variable is closed and then =
executed,
> this is why it works for normal asm progs. You'll probably have to =
close
> the open var yourself, or replace the contents with the correct =
sequence
> to restart your shell and send a kEnter to the homescreen.
>=20
> I think your best bet would be to do a context switch. (ie, load your
> own app) Unfortunately, I don't think there's a lot of info on that, =
and
> I'm in far too great a need of sleep to explain the details atm, and =
it
> might require some annoying changes. (I think Clem's done some =
examples
> with 'em) You could try just using _closeEditEqu, but then you'd
> probably have to reopen the var before you quit and possibly some =
other
> things.
>=20
> Or you could do halfway in between:
> _PPutAway equ 40BDh
> _PutAway equ 40C1h
> call _PPutAway ;put away homescreen cx
> call _PutAway
> Now you should have free memory, but there's no app context set up, so =
I
> don't think you can just return at this point. (not sure about =
exec'ing
> basic progs either) _jForceCmdNoChar should work to exit back to the
> homescreen.
>=20
> I would love to see a shell done as a proper app tho.
>=20
> -rabidcow
>=20
>=20
>=20
>=20
> =20
>=20
> ________________________________________________________________
> GET INTERNET ACCESS FROM JUNO!
> Juno offers FREE or PREMIUM Internet access for less!
> Join Juno today! For your FREE software, visit:
> http://dl.www.juno.com/get/web/.
References: