$70001D RW ($06)
:7 Toggles every FS (every time the LCD restarts at line 0)
:6-4 -
:3 Battery checker bit B (? ???)
:2 ? (set)
:1 Screen enable (clear this bit to shut down LCD)
:0 Battery checker bit A (? enable $600000:2)
(AMS:) The battery checker bits must both be set (AB=11) prior to
checking the voltage level with $600000:2. Then, after use, bit B
must be cleared (AB=10) while the battery trig hardware settles to
the "rest" voltage value (%111). Finally, both bits should be
cleared.
The TI Hardware Guide agrees with that:
5.28 $70001D : LCD control/status TI89 (RW) Bit Usage 7 Toggles every FS (every time the LCD restarts at line 0) 3 Battery checker bit B 1 Screen enable (clear this bit to shut down LCD) 0 Battery checker bit A
However, TiEmu says it's at $700018 (from /usr/share/tiemu/misc/iodefs_ti92p_hw2.txt):
$700018 | 1 | rw | <7...3.10> | Control/Status | FS toggle,Bat chk #B,Scren enable,Bat chk #A
But if I clear bit 1 in $70001D (screen enable) in TiEmu, the screen turns off, which suggests that TiEmu uses the same address mentioned in j89hw.txt and TI HW Guide internally, and the iodefs file is wrong.
This address isn't mentioned anywhere in j89hw.txt or TI Hardware Guide. So I have two questions:
1. Where did TiEmu get the address $700018? Is this just a bug in TiEmu?
2. Which address is used on the real calculator for the battery checker bits and screen enable?

