home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / handheld / 2632 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  2.5 KB

  1. From: akcs.kirkland@hpcvbbs.cv.hp.com (Daniel B. Kirkland)
  2. Date: Thu, 31 Dec 1992 03:40:02 GMT
  3. Subject: Turn off internal clock updates in a pro
  4. Message-ID: <2b4263a1.5072comp.sys.handhelds@hpcvbbs.cv.hp.com>
  5. Path: sparky!uunet!usc!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.kirkland
  6. Newsgroups: comp.sys.handhelds
  7. Lines: 80
  8.  
  9. There is a syseval at # CEEAh that will turn the internal
  10. clock updates off in a program on the HP48.
  11.  
  12. Just add:
  13.  
  14. # CEEAh SYSEVAL
  15.  
  16. to your program.
  17. This does not change any flags or change the clock mode.
  18. The clock will be on if it was on at the start of the program.
  19. apperantly the clock is turned off and the operating system
  20. startes it again when the program ends.
  21.  
  22. I have used it in my programs without any problems.
  23.  
  24. For those who don't know what i am talking about.
  25. If the clock is turned on it will interfere with some operations
  26. on the h Hp HP48.
  27. Most noteable is the beeper. Try listening to some of the
  28. musical programs writtem for the HP48 with the clock on.
  29. You can here the click ing of the clock updates.
  30. It may also interfere with high speed data transfer.
  31.  
  32. Changing flag -40 in a program does not work unless the
  33. program is halted or paused in some way.
  34. Even a program that chamges a flag will not turn theclock
  35. updates off until all keypresses are executed and the
  36. 48 catches up.
  37.  
  38. If anyone has any more information about the syseval at # CEEAh
  39. please reply and/or send me emailat:
  40.                                             kirkland@utah???? woops
  41.                      kirkland@ee.utah.edu
  42.  
  43. things to be cleared up:
  44. any possable problems useing the syseval or as system RPL.
  45. does it do more than turn off the clock?
  46. ( I don,t think so see ROM program below )
  47. does the clock mode need to be check first?
  48. if so, what is the best way to check the clock mode?
  49. ( as I said above changing a flag does not change the
  50. ]clock mode until the 48 pauses so checking flag -40
  51. may not work all the time )
  52.  
  53. I found two programs in ROM where # CEEA is called.
  54. at # 48A9h and at # DCDBh.
  55.  
  56. Here is the routine at # 48A9h:
  57.  
  58. ::
  59.  PTR E7CE
  60.  case
  61.  ::
  62.   PTR 48F9
  63.   case
  64.   ?SHOWTIME        ( PTR 39AD8 )
  65.   PTR CEEA         ( the syseval )
  66.  ;
  67.  PTR 48F9
  68.  case
  69.  ::
  70.   PTR CED9
  71.   ?SHOWTIME
  72.  ;
  73. ;
  74.  
  75. The routine at # 48F9h:
  76.  
  77. ::
  78.  DispTimeReg?     ( PTR 39AF1 )
  79.  DA1sStat?        ( PTR 39515 )
  80.  AND              ( PTR 3B46 0)  ( PTR 3b46 )
  81. ;
  82.  
  83. ( this may be the routine to check the clock mode ? )
  84.  
  85.  Any help wo?? will be greatly appreciated. 
  86.  
  87.                           thanks
  88.                           dan k
  89.  
  90.