REM Purpose - Checks the voltage of the Main and Backup Battery on the REM Series 3. Also detects the the presents of an AC Adapter PROC batch: LOCAL m%(3),w%(4),a%,k%,mb,bb,l% GLOBAL mb$(5),bb$(5) GLOBAL km% REM Get high and low battery setting a%=warn%:(addr(w%(1))) IF a% PRINT err$(a%) GET STOP ENDIF REM Read the battery itself a%=bat%:(addr(m%(1))) IF a% PRINT ERR$(a%) GET STOP ENDIF a%=bat%:(addr(m%(1))) IF (m%(1)