I've found this code on the net and tried using it to clear CMOS without removing the battery or meddling with the jumpers:
Code: Select all
MOV AX,0
MOV AX,CX
OUT 70,AL
MOV AX,0
OUT 71,AL
INC CX
CMP CX,100
JB 103
INT 20
And, I've tried running it through debug.exe but nothing happened. I also tried changing the ports 70,71 to 72,73 as was stated somewhere on this forum, yet still nothing.
I also tried writing a pascal version of it, using port[$70] and port[$71], and still no luck...
Any ideas?
