83Plus:Ports:26

From WikiTI
Jump to: navigation, search
This port only exists as a distinct port on the TI-83 Plus Silver Edition, the TI-84 Plus, and the TI-84 Plus Silver Edition. On the standard TI-83 Plus, it acts as a shadow of port 06.
This port is protected, which means user programs cannot ordinarily write to it directly.

Synopsis

Port Number: 26h

Function: Controls the RAM Execution Upper Limit

This port control the upper limit of RAM execution. It maps the RAM memory space in 1024 byte segments as though it was one continuous address space:

  • Page 80h: Addresses 000000h to 003FFFh
  • Page 81h: Addresses 004000h to 007FFFh
  • Page 82h: Addresses 008000h to 00BFFFh

etc. The actual pages and addresses affected also depends on the masking applied by port 21.

Read Values

  • [00h - FFh]: Multiply the value in this port by 400h then add 3FFh to get the highest RAM address that can run code.

Write Values

  • [00h - FFh]: Select a new upper limit.

Comments

TI apparently did not realize that this port is inclusive of the addresses it indicates. TI outputs 20h to this port in the boot code hoping to make the execution protection region 4000h - 7FFFh, but they did not realize that in fact this sets the upper limit to 83FFh.

This port does not exist on the standard 83 Plus. See ports 5 and 16 instead. Execution of code on addresses above the limit set here will cause a reset. The typical default value is 20h.

See Also