6
The Development Library 6-1
6.The Development Library
Section 1 - Introduction
Built into the hp49+/hp48gII is a set of functions not accessible to the user by default. These functions are in
a library that contains low level development tools mainly designed for use in developing System RPL and
assembly programs.
In order to enable this library, you must attach it with the command 256 ATTACH or by setting flag –86.
When the library is attached after the next warmstart (or reset), it appears in the APPS menu. You may reset
the calculator by pressing $and C at the same time.
Note: The tools and programs in this library are extremely
powerful, and misusing them may cause memory lost.
Back up your calculator before trying these commands.
Section 2 – The tools of the development library
APEEK
Address PEEK command: Read the address stored at an address.
Example: #80711h APEEK returns the address of the home directory.
Level 1 -> Level 1
Binary integer -> Binary integer
PEEK
Memory read: reads nibbles from a specified address in memory.
Note: Due to bank switching, the data read from address #40000h to #7FFFFh may not be accurate.
Level 2 Level 1 -> Level 1
Binary integer (address) Binary Integer (number of nibbles to read) -> String
POKE
Memory write command: Writes nibbles in memory.
Note: you can not write data in the Flash ROM using this command.
Note: Writing data in memory randomly will cause memory lost.
Level 1 Level 2 ->
Binary integer (Address where to write) String (Data to write) ->