Post Reply 
Sharp PC-E500 memory maps?
12-25-2021, 02:42 AM (This post was last modified: 12-25-2021 07:27 PM by robve.)
Post: #2
RE: Sharp PC-E500 memory maps?
(12-25-2021 01:00 AM)Dave Britten Wrote:  I figure I could make a small subroutine that reads the current text cursor position (i.e. set via LOCATE), and calculates appropriate arguments for GCURSOR. The problem is I don't know how to read the current text cursor position! Anybody have any sort of memory map that might indicate where to PEEK the cursor position?

The x cursor location is stored as one byte at &bfc9b. The y location is stored as one byte at &bfc9c. PEEK these addresses to get the values, but don't POKE.

An interesting feature of the E500 is that the screen width and height can be shrunk, showing and scrolling the text only without that specified region. This allows the bottom row of function keys to be shown continuously for example, when this is activated.

The max screen window width is PEEK(&bfc9d). The max screen window height is PEEK(&bfc9e). These can be POKEd to change the window.

Hope this helps.

- Rob

EDIT: fixed typo.

"I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sharp PC-E500 memory maps? - Dave Britten - 12-25-2021, 01:00 AM
RE: Sharp PC-E500 memory maps? - robve - 12-25-2021 02:42 AM
RE: Sharp PC-E500 memory maps? - robve - 12-25-2021, 03:00 AM



User(s) browsing this thread: 1 Guest(s)