Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: SirCmpwn on December 31, 2010, 05:11:00 pm

Title: Executable RAM
Post by: SirCmpwn on December 31, 2010, 05:11:00 pm
Hello,
Does anyone have OS and model independent code for making both RAM banks executable?
Title: Re: Executable RAM
Post by: calcdude84se on December 31, 2010, 05:59:16 pm
I can provide info :D
Do you mean to make the whole $8000-$FFFF range executable RAM?
Except on the regular TI-83+, port 5 controls the RAM page in the $C000-$FFFF bank and any odd-numbered RAM page ($81,$83,$85,$87) is executable.
On the regular TI-83+, it might be possible to make RAM page 0 executable. (See ) However, this has never been tested AFAIK.
I can write up code if you really need it. (http://wikiti.brandonw.net/index.php?title=83Plus:Ports:05)
Title: Re: Executable RAM
Post by: SirCmpwn on December 31, 2010, 06:03:30 pm
Which pages are available on models with missing RAM?
Title: Re: Executable RAM
Post by: calcdude84se on December 31, 2010, 06:04:48 pm
Only 3. $80 and $81 are as normal, but $82-$87 all refer to the same page. (So you can execute page $82 by paging it as $83)
Title: Re: Executable RAM
Post by: SirCmpwn on December 31, 2010, 06:05:38 pm
Sweet, thank you!
Title: Re: Executable RAM
Post by: calcdude84se on December 31, 2010, 06:06:20 pm
Always glad to help! :D
Good luck! What is this for, specifically? (If you don't mind telling ;D)
Title: Re: Executable RAM
Post by: jnesselr on December 31, 2010, 06:37:34 pm
Oh, I didn't know 82-87 where all one page, I just thought that they got thrown out all-together.


@calcdude84SE probably the filesystem in KOS.
Title: Re: Executable RAM
Post by: SirCmpwn on December 31, 2010, 08:53:23 pm
Oh, I just don't want the restriction in KnightOS