Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Read and Write in port 1 And 2 in ASM

2 views
Skip to first unread message

Eric

unread,
Jan 14, 2002, 12:29:31 PM1/14/02
to
Hello

I would know how to read and write in port 1 or 2 of the HP49G with the ASM
langage ?

Regards

Eric


Thomas Rast

unread,
Jan 14, 2002, 2:08:15 PM1/14/02
to
Eric schrieb:

>
> Hello
>
> I would know how to read and write in port 1 or 2 of the HP49G with the ASM
> langage ?

You can access any flash banks with ACCESSBankX, where X is 0 to 15.
IIRC 8 to 15 are user banks (aka port 2). If you set P=0 before calling
these routines, they'll switch to the bank; if you set P=1, they'll
switch back. You can access the bank in memory at #40000h-#7FFFFh.

For port 1 there are ACCESSERAM1 and ACCESSERAM2, I don't know about
these but I suppose it's the same. Writing is a bit more difficult,
especially for the flash ROM...

Thomas

--
Thomas Rast "If you cannot convince them,
t.r...@iname.com confuse them."
ICQ# 103670088 -- Harry S. Truman

Eric

unread,
Jan 15, 2002, 12:59:41 PM1/15/02
to
Thx Thomas
Aber ich mochte schreiben im port 2....
Where did you learn tahr is ther a doc ?

Regards

Eric
"Thomas Rast" <t.r...@iname.com> a écrit dans le message de news:
3C432C9F...@iname.com...

Thomas Rast

unread,
Jan 15, 2002, 5:21:27 PM1/15/02
to
Eric schrieb:

>
> Thx Thomas
> Aber ich mochte schreiben im port 2....
> Where did you learn tahr is ther a doc ?

I've read somewhere on hpcalc.org that HP has not released any
information about *writing* to the flash. Other Ps in the ACCESSBankX
routines have other meanings, but I don't know them, maybe somebody else
can tell us?

In general, for documentation you should check hpcalc.org. There's also
the new entry database, compiled by Carsten Dominik, which lists a lot
of entries (both RPL and ML). The URL is:

http://zon.astro.uva.nl/~dominik/hpcalc/entries

0 new messages