kingcake wrote on 2020-09-06, 00:55:
jakethompson1 wrote on 2020-09-06, 00:13:If you read the Oscillator Control Bits section of the DS12887 datasheet https://datasheets.maximintegrated.com/en/ds/ … 5-DS12C […]
Show full quote
kingcake wrote on 2020-09-05, 23:59:I set the time and date. Unplugged the machine for 20 minutes. And the time was reset back to 1980. This is with the glitchworks […]
Show full quote
I set the time and date. Unplugged the machine for 20 minutes. And the time was reset back to 1980. This is with the glitchworks version.
If you read the Oscillator Control Bits section of the DS12887 datasheet https://datasheets.maximintegrated.com/en/ds/ … 5-DS12C887A.pdf you can see that the Dallas chips supposedly shipped with the oscillator turned off so the battery doesn't drain.
I've seen others claim they had to turn those bits on. But, plenty of people left reviews on the Glitchworks one saying nothing about it. Maybe it depends on whether the BIOS automatically enables it or not?
It might be worth reaching out to Glitchworks and asking if there is anything you may have to do to enable it re: oscillator control bits, or if the chip is expected to work immediately when plugged in.
I found code examples for how to turn off the oscillator (Conserving Dallas RTC chips) but none for how to enable it
I tried helping someone enable it another time, but in their case it was already enabled. YMMV:
Run debug. At the - prompt, type A and hit enter (assemble)
You will get a xxxx:0100 prompt. Enter the following instructions pressing enter after each one. Be careful with lowercase l vs. number 1.
cli
mov al,8a
out 70,al
in al,71
mov bl,al
mov al,8a
out 70,al
mov al,bl
and al,8f
or al,20
out 71,al
sti
int3
After the last instruction int3, leave a blank line at :0117, and you should get the - prompt back.
Type G (for go) and enter. Could you please report back when AX= and BX= values you get back as that will tell us if it's indeed the problem.
After that, type Q (for quit) and enter. For good measure, power off your machine entirely. Then try setting the date and bios settings. Save, power off entirely again, and see if it works.