Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail


To receive news about this website, consider subscribing to our Newsletter.
296 Subscribers
Webmaster - Infos


   visitors online


Google Ads
article.gifTricks and secret addresses in the Sharp PC-1360 memory

Sharp Pocket Computer 1360 - Competence Center

Tricks and secret addresses in the Sharp PC-1360 memory

Clues about how to find interesting memory addresses of the PC-1360

To really understand my tips and get to find yours, you will have to know the memory map for the Sharp PC-1360 :

Notice : almost all numbers will be given in hexadecimal format. The numbers in hexadecimal will be preceeded with a & sign, to distinguish them from decimal numbers. For example : &3F (hexadecimal) is equal to 63 (decimal).

ROM (Read Only Memory)

The ROM is divided in two :
  1. The Internal ROM in the CPU that contains the "heart" of the PC's Operating System.
  2. The External ROM which is divided into 8 blocks of the same size, 16 Kb each. These "Banks" will include all routines and programs to manage BASIC interpreter and all its instructions, the displaying of characters, etc...
It is important to know that the result given by the PEEK instruction for Internal ROM in CPU is not the real value of the requested bytes, but only the high byte of the requested address. To reverse engineer this ROM, you will need to use my ToolBox program that includes a special Machine Language Routine for reading the ROMs of the PC.

Here are some interesting calls to the Internal ROM :
  1. CALL &0000 : resets the PC
  2. CALL &0035 : power off the PC
  3. CALL &13C4 : stops the LCD display
  4. CALL &13C8 : starts the LCD display
Here is an interesting area of Bank #0 of External ROM : starting at address &58E9 we can find the description of all Basic instructions, in a table having the following structure :

Basic InstructionAddressExtra Code (?)Basic Token CodeHB (?)LB (?)ASCII Letters of Instruction
ASC&58E9192080065 83 67
AND&58F031610065 78 68
ABS&58F731530065 66 83
ATN&58FE31590065 84 78
ASN&590531570065 83 78
ACS&590C31580065 67 83
AREAD&59133799247865 82 69 65 68

External RAM (Random Access Memory)

It is in this part of the memory that the LCD display is managed. But not only, other informations can also be set.
  • Special LCD information

  • Management of Radian, Degree or Gradian

  • Main display (150 x 32 pixels)

    Basically, the LCD is mapped in 4 lines of 8 vertical pixels each (4 x 8 = 32 pixels). Each group of 8 vertical pixels is included in a byte.

    The LCD is mapped horizontally in 5 columns of 30 bytes (5 x 30 = 150 pixels) according to the following matrix (double mapping with a distance of 256 bytes between same column, and 512 bytes distance between two columns).

    Column #1Column #2Column #3Column #4Column #5
    Line #1Map #1
    Map #2
    Line #2Map #1
    Map #2
    Line #3Map #1
    Map #2
    Line #4Map #1
    Map #2
    Column #n = 512 + Column #n-1
    Map #2 = 256 + Map #1

    Notice : Each character is made of 6 bytes, so up to 150 / 6 = 25 characters could be shown on the LCD. But the editor (both in Run Mode and in Pro Mode) only displays 24 characters, the first 6 bytes never being used by the editor.

  • Graphics display

    In commands like LINE(X1,Y1)-(X2,Y2) and PSET(X1,Y1), here is where the information for coordinates can be found :

    X1[&30A8] + 256 x [&30A9]
    Y1[&30AC] + 256 x [&30AD]
    X2[&30AA] + 256 x [&30AB]
    Y2[&30AE] + 256 x [&30AF]

Creation date : 01/01/2003 @ 00:00
Last update : 01/01/2003 @ 18:19
Category :

Print the article Print the article

react.gifReactions to this article

Nobody gave a comment yet.
Be the first to do so!

Special !

Mobile version of
the aldweb Site

Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Weather / Spam / www

Lyon Weather

aldweb against spam

Family's web sites

What do you think of the new design of the aldweb Site?
Great !
So ugly...
Friends News
^ Top ^