83Plus:BCALLs:4603

From WikiTI
Revision as of 07:57, 6 February 2008 by Luby (Talk | contribs)

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


Synopsis

Unofficial Name: CompareContext

BCALL Address: 4603

Compares cxCurApp value in A to predefined list.

Inputs

  • A is cxCurApp value to compare against

Outputs

Destroys

  • HL

Comments

The complete code for this BCALL (OS 2.41) is below.

 ld bc,18
 ld hl,$F
 cpir
 ret
$$:
 DB 5Ah ;echoStart1
 DB 59h ;kNewApps
 DB 41h ;LINK menu
 DB 42h ;MATRIX editor
 DB 45h ;MODE menu
 DB 46h ;PROGRAM editor
 DB 47h ;PROGRAM CREATE menu
 DB 4Bh ;TABLE SET editor
 DB 4Ch ;CHECK RAM menu
 DB 4Dh ;DELETE MEM menu
 DB 4Eh ;RESET MEM menu
 DB 4Fh ;RESET DEFAULTS menu
 DB 52h ;ERROR menu
 DB 53h ;TVM SOLVER
 DB 55h ;STAT PLOT
 DB 57h ;FORMAT menu
 DB 54h ;SOLVE EDITOR
 DB 56h ;Inferential Statistics