It's actually a INP(216) command not a PEEK(216). I didn't realize that
when I first posted. But the memory locations on the 200 would be
different than the NEC.
So for the NEC, in BASIC the following command would show the value:
PRINT INP(216)

Kurt


On Thu, Jun 28, 2018, at 9:53 AM, William Winter wrote:
> FYI... I just tried the PEEK (216) on my Model 100 and it returned 85
> with both the battery light on and off.> 
> -Will
> 
> On Thu, Jun 28, 2018 at 12:42 PM Kurt McCullum
> <[email protected]> wrote:>> __
>> That's what I was afraid of. However, I did find something that is
>> worth a try when I get home tonight. In the NEC 8201 technical manual
>> (yes I read these things) on page 256, it looks like bit 7 of memory
>> location D8 (216) is set when there is a low power signal.  If that
>> is correct, a PEAK(216) which returns a value greater than 127 should
>> indicate a low power state. But I'll have to test this later since I
>> am not in front of the machine.>> 
>> Kurt
>> 
>> 
>> On Thu, Jun 28, 2018, at 9:16 AM, Stephen Adolph wrote:
>>> no, I don't think so.  there is no A/D function or alarm point that
>>> is readable.  would have been a good idea.>>> 
>>> On Thu, Jun 28, 2018 at 12:11 PM, Kurt McCullum <[email protected]>
>>> wrote:>>>> __
>>>> Is there a PEEK I can do in BASIC to see if the low power light is
>>>> on. I would assume that the 100/200/NEC all have different
>>>> locations in memory but is this possible?>>>> 
>>>> 
>>>> Kurt
>>>> 
>> 

Reply via email to