Re: A83: Re: Where is...
[Prev][Next][Index][Thread]
Re: A83: Re: Where is...
SOS swaps (hence the name) the locations of the program to be run and itself
so it causes the vat information to be incorrect (because it writes over the
following programs if the program you are running is bigger than SOS). So
using those routines would do wierd stuff since the calculator would think
it had free memory where it didn't. Anyway, making SOS do its thing without
messing up the vat data would be hard... even using Linus' idea would make
SOS larger and probably slower...
Joe Wingbermuehle
http://www.usmo.com/~joewing/
-----Original Message-----
From: Alan C Johnson <benjamin99@juno.com>
To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
Date: Monday, October 19, 1998 7:14 PM
Subject: Re: A83: Re: Where is...
>
>Could you explain why it isn't practical?
>
>On Sun, 18 Oct 1998 10:00:52 -0500 "Joe Wingbermuehle" <joewing@usmo.com>
>writes:
>>
>>I'm afraid that that really wouldn't be practical. :P
>>
>>Joe Wingbermuehle
>>http://www.usmo.com/~joewing/
>>
>>-----Original Message-----
>>From: Linus Akesson <lairfight@softhome.net>
>>To: Joe Wingbermuehle <assembly-83@lists.ticalc.org>
>>Date: Sunday, October 18, 1998 6:51 AM
>>Subject: Re: A83: Re: Where is...
>>
>>
>>>
>>>WHAT??? Then fix the bloody shell so that it's compatible! (Hmm...)
>>>
>>>Linus
>>>
>>>On 17-Oct-98, Joe Wingbermuehle wrote:
>>>
>>>>You can only do that insert mem thing if you want to make your
>>program not
>>>>work in a shell. For about 10 more bytes you could make it work
>>from
>>within
>>>>a shell or from the home screen. :P
>>>
>>>>Joe Wingbermuehle
>>>>http://www.usmo.com/~joewing/
>>>
>>>>-----Original Message-----
>>>>From: Linus Akesson <lairfight@softhome.net>
>>>>To: Joe Wingbermuehle <assembly-83@lists.ticalc.org>
>>>>Date: Saturday, October 17, 1998 12:08 PM
>>>>Subject: Re: A83: Re: Where is...
>>>
>>>
>>>>>
>>>>>If you only need the memory as long as the program is running
>>(which is
>>>>often
>>>>>the case), you can just use an insertmem/delmem pair, inserting
>>memory at
>>>>the
>>>>>end of your program. Then have a label at the end of the program,
>>and use
>>>>it
>>>>>to address the allocated memory.
>>>>>
>>>>>Another thing Phelan, are you loading this data from an external
>>program
>>>>>file? Because in that case you could just look the program up, and
>>it'd
>>>>>already be in memory! If you don't, you could try to redesign the
>>program
>>>>to
>>>>>work in this way, as it saves memory.
>>>>>
>>>>>Linus
>>>>>
>>>>>On 17-Oct-98, Joe Wingbermuehle wrote:
>>>>>
>>>>>>In Chip83 I allocate 3810 bytes of ram by creating a temporary
>>program.
>>I
>>>>>>think creating a program is probably your best bet, instead of
>>making
>>your
>>>>>>program 2k bigger.
>>>>>
>>>>>>Joe Wingbermuehle
>>>>>>http://www.usmo.com/~joewing/
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: Phelan Wolf <phelanwolf@hotmail.com>
>>>>>>To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
>>>>>>Date: Friday, October 16, 1998 9:54 PM
>>>>>>Subject: Re: A83: Re: Where is...
>>>>>
>>>>>
>>>>>>>
>>>>>>>ok, I thought that SAVESCREEN and APD are two separate things.
>>Thanks
>>>>>>>anyway. I need 2024bytes to load 4 blocks, 72 map squares per
>>block,
>>>>>>>each block is 108bytes. So I used SAVESCREEN for misc vars, and
>>>>>>>STATVARS for the map table, I guess I'll have stuff inside my
>>prog for
>>>>>>>the rest.
>>>>>>>
>>>>>>>-Phelan 'Amen' Wolf
>>>>>>>
>>>>>>>>APD RAM is at $8265, 768 bytes.
>>>>>>>>btw, a good way of allocating memory under a shell is to create
>>a
>>>>>>>program,
>>>>>>>>then delete it when it is no longer needed.
>>>>>>>>
>>>>>>>>Joe Wingbermuehle
>>>>>>>>http://www.usmo.com/~joewing/
>>>>>>>>
>>>>>>>>-----Original Message-----
>>>>>>>>From: Phelan Wolf <phelanwolf@hotmail.com>
>>>>>>>>To: assembly-83@lists.ticalc.org <assembly-83@lists.ticalc.org>
>>>>>>>>Date: Friday, October 16, 1998 6:50 PM
>>>>>>>>Subject: A83: Where is...
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>Joe, Linus, matt, or somebody, where is the APD found??? Need
>>it to
>>>>>>>sto
>>>>>>>>>stuff in, a level map containing data of where crap be found.
>>>>>>>>>
>>>>>>>>>-Thanks: Phelan 'Amen' Wolf
>>>>>>>>>
>>>>>>>>>______________________________________________________
>>>>>>>>>Get Your Private, Free Email at http://www.hotmail.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>______________________________________________________
>>>>>>>Get Your Private, Free Email at http://www.hotmail.com
>>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>
>>
>
>___________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>or call Juno at (800) 654-JUNO [654-5866]
>