Syntax

Example

Notes

 

 

 

SETOFFD

Set offset of display inside disp0 in bytes from C[X]&7FF.

HSCREEN

Return how many lines the screen contains to Ca.

UNCNFGD

Unconfigure the 4KB block containing the top 16lin e header.

 

This will refresh the header on the display.

GETTIME

Emulates gettime function in ROM, and also updates the 8192Hz timer

 

accordingly.

 

 

 

Purpose: Get current time: (=NEXTIRQ)Timer2

 

Return CS iff time appears corrupt.

 

Entry: Timer2 Running

 

Exit: Timer2 Running

 

CC

A:NEXTIRQ (ticks)

 

 

C:Time

(ticks)

 

 

D:Timer2

(sign extended ticks)

 

 

P:0, HEX

 

CS

Same as the nonerror case but the ti me system

 

 

is corrupt because of one of:

 

 

(1) TIMESUM # CRC(NEXTIRQ) CheckS um Error

 

 

(2)

TIMER2 was not running on entry.

 

 

(3)

Time not in range: [BegofTime, EndofTime)

MIDAPP?

Carry=1 on HP 48gII, 0 otherwise.

CONFIGD

Configure a 4KB block containing the top 16line he ader.

 

C.A = Start address of the block (must be multiple of 4KB).

 

If already configured, unconfig, refresh and recon fig.

BIGAPP?

Carry=1 on HP 49g+ or 50g, 0 otherwise.

RESETOS

Reset the calculator (including the OS).

 

This code doesn’t return, the calculator restarts at 00000000.

REFRESHD

Force to refresh the header on the display.

AUTOTEST

003AA: AUTO_USER_TEST

 

003A3: MANU_USER_TEST

 

0039C: MANUFACTURE_TEST

 

Other: signed index, OSspecific, see OS_API.doc.

ACCESSSD

SD Card functions (depending on P, see HP’s vgeraccess for more details.

PORTTAG?

Return port number depending on tag name.

 

Entry: D1: name (size+chars)

 

Exit: A[A]: port number (03)

 

D1: after name

 

Carry: clear if ok, set if wrong name

 

 

 

 

 

The Development Library 629

Page 527
Image 527
HP 48gII Graphing, 50g Graphing manual 003AA Autousertest