home *** CD-ROM | disk | FTP | other *** search
- From: akcs.kirkland@hpcvbbs.cv.hp.com (Daniel B. Kirkland)
- Date: Thu, 31 Dec 1992 03:40:02 GMT
- Subject: Turn off internal clock updates in a pro
- Message-ID: <2b4263a1.5072comp.sys.handhelds@hpcvbbs.cv.hp.com>
- Path: sparky!uunet!usc!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.kirkland
- Newsgroups: comp.sys.handhelds
- Lines: 80
-
- There is a syseval at # CEEAh that will turn the internal
- clock updates off in a program on the HP48.
-
- Just add:
-
- # CEEAh SYSEVAL
-
- to your program.
- This does not change any flags or change the clock mode.
- The clock will be on if it was on at the start of the program.
- apperantly the clock is turned off and the operating system
- startes it again when the program ends.
-
- I have used it in my programs without any problems.
-
- For those who don't know what i am talking about.
- If the clock is turned on it will interfere with some operations
- on the h Hp HP48.
- Most noteable is the beeper. Try listening to some of the
- musical programs writtem for the HP48 with the clock on.
- You can here the click ing of the clock updates.
- It may also interfere with high speed data transfer.
-
- Changing flag -40 in a program does not work unless the
- program is halted or paused in some way.
- Even a program that chamges a flag will not turn theclock
- updates off until all keypresses are executed and the
- 48 catches up.
-
- If anyone has any more information about the syseval at # CEEAh
- please reply and/or send me emailat:
- kirkland@utah???? woops
- kirkland@ee.utah.edu
-
- things to be cleared up:
- any possable problems useing the syseval or as system RPL.
- does it do more than turn off the clock?
- ( I don,t think so see ROM program below )
- does the clock mode need to be check first?
- if so, what is the best way to check the clock mode?
- ( as I said above changing a flag does not change the
- ]clock mode until the 48 pauses so checking flag -40
- may not work all the time )
-
- I found two programs in ROM where # CEEA is called.
- at # 48A9h and at # DCDBh.
-
- Here is the routine at # 48A9h:
-
- ::
- PTR E7CE
- case
- ::
- PTR 48F9
- case
- ?SHOWTIME ( PTR 39AD8 )
- PTR CEEA ( the syseval )
- ;
- PTR 48F9
- case
- ::
- PTR CED9
- ?SHOWTIME
- ;
- ;
-
- The routine at # 48F9h:
-
- ::
- DispTimeReg? ( PTR 39AF1 )
- DA1sStat? ( PTR 39515 )
- AND ( PTR 3B46 0) ( PTR 3b46 )
- ;
-
- ( this may be the routine to check the clock mode ? )
-
- Any help wo?? will be greatly appreciated.
-
- thanks
- dan k
-
-