Post Reply 
Sharp PC-E500 memory maps?
12-25-2021, 04:04 AM
Post: #4
RE: Sharp PC-E500 memory maps?
(12-25-2021 02:42 AM)robve Wrote:  
(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 borrow 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

Thanks Rob! I'll play with that tomorrow. I just want to make a simple subroutine that will read the cursor location (in other words, where would the next PRINT go?) and translate that to GCURSOR arguments that will make the next GPRINT behave sort of like it would on the PC-1500. Sounds like it shouldn't be too hard then.
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? - Dave Britten - 12-25-2021 04:04 AM
RE: Sharp PC-E500 memory maps? - robve - 12-25-2021, 03:00 AM



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