A83: Re: ID number


[Prev][Next][Index][Thread]

A83: Re: ID number




If you B_CALL 807Eh, OP4 will hold the ID number of the calculator.  It
returns NZ if no valid ID number was found.  The problem is that it will not
return the last four digits of the ID code (validation stuff).  Getting this
is a bit trickier since there is no B_CALL entry point to the routine to do
so.  If you're running ROM 1.12, you can call address 3C90h, and the last
four digits of the ID will be loaded to OP2.  However, this will not work on
older roms (for sure not 1.03, I'm not sure about 1.10) and may not work on
future roms due to address changes.  Luckily there is a (documented) B_CALL
entry point that returns the current ROM version, so you can check what the
calculator is running.

Hope this helps,
-Dan Englender

----- Original Message -----
From: "Augustine Castle" <Au-TI@gmx.net>
To: <assembly-83@lists.ticalc.org>
Sent: Monday, January 01, 2001 3:21 PM
Subject: A83: ID number


>
> Is there a way to read the ID number of an 83+ in an assembly program?
>
> Thanks.
>
>




References: