83Plus:BCALLs:50BC

From WikiTI
Revision as of 12:01, 26 March 2005 by Dan Englender (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Unofficial Name: GetAppBasePage

BCALL Address: 50BC

Returns the base (first) page of an application.

Inputs

  • A: application page

Outputs

  • A: application's base page.

Registers Destroyed

  • DE, HL

Comments

This entry point is only useful for multipage applications. It can be used to browse through the application table, as in the example code below (which works only on an SE calculator).

Example

 in a,(23h)
loop:
 inc a
 cp 6Ah  ;Last app page on SE
 ret z
 B_CALL GetAppBasePage
 ;Register A now points to an application's first page
 jr loop