Lately I've been playing around with finding ways to check the battery level on my TI-84+SE. Just for fun, I put in some carbon-zinc batteries, which are infamous for not lasting very long. They've been sitting on my desk for way too long and I want to drain them in a non-wasteful way before I dispose of/recycle them. (Don't worry, I am making sure physical leaks aren't happening.) Avg voltage output from all 4 batteries is ~1.45V, according to my multimeter. Anyway, methods of checking the battery level:
Method 1 is by using this code and running it with `Asm(`:
Code:
Then just type `Ans` into the home screen and a value of 0-4 will indicate the battery level. Pretty simple.
Method 2 works by, well, opening DCS 7.4 and checking the battery meter on the bottom right.
The thing is, DCS7 and the little assembly program have different outputs. As of now, the assembly program outputs 4 (100%) and DCS7 is showing what looks like the level just below 100% on the graphical battery meter. What's even more confusing is that the higher I set my display contrast, the lower the battery meter gets in DCS7 when I close and open it again; but the output of the asm program remains the same.
That's... interesting. And it seems there are no comments in source code hosted on the GitHub repository for DCS7 that have anything to do with the battery meter. There's just a single mention, that's in TODO.txt. What is up with the programming behind this seemingly cursed mechanism?
Method 1 is by using this code and running it with `Asm(`:
Code:
AsmPrgm
EF6F4C3D280A78FE1E
3805
EF21521808
EFB3503E042001AF
EF8C47EFBF4AC9
Then just type `Ans` into the home screen and a value of 0-4 will indicate the battery level. Pretty simple.
Method 2 works by, well, opening DCS 7.4 and checking the battery meter on the bottom right.
The thing is, DCS7 and the little assembly program have different outputs. As of now, the assembly program outputs 4 (100%) and DCS7 is showing what looks like the level just below 100% on the graphical battery meter. What's even more confusing is that the higher I set my display contrast, the lower the battery meter gets in DCS7 when I close and open it again; but the output of the asm program remains the same.
That's... interesting. And it seems there are no comments in source code hosted on the GitHub repository for DCS7 that have anything to do with the battery meter. There's just a single mention, that's in TODO.txt. What is up with the programming behind this seemingly cursed mechanism?