home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 384.lha / callback2life / callback2life.asm < prev    next >
Assembly Source File  |  1990-05-30  |  3KB  |  81 lines

  1. ; CallBack2Life.Asm    Copyright 1989  by Andrew Kopp        16-May-89
  2. ; -----------------
  3. ; THIS IS PERHAPS NOT THE BEST BUT AT LEAST ONE WAY TO "CALL BACK TO LIFE"
  4. ; THE BATTERY BACKUP CLOCK EVEN IF YOU HAVE YOUR PERSONAL EXPERIENCE
  5. ; WITH RESETTING CLOCKS ON HARDWARE LEVEL !
  6. ; AFTER A NONE-MEDITATIONING SYSTEM CRASH MY CLOCK WAS NOT FOUND BY
  7. ; THE "SETCLOCK LOAD" COMMAND AND OPTIONAL RESET WON`T WORK (V1.3).
  8. ; THIS IS A BUG OF THE SETCLOCK 1.3 RELEASE !
  9. ;
  10. ; A BLOCKFILL IN THE LOCATION OF THAT DEVICE WAS ABLE TO REVIVE IT !
  11. ; FOR COMPAREABLE FUTURE EVENTS AND FOR YOU I WROTE DOWN MY EXPERIENCE
  12. ; IN AN EXECUTEABLE. WHEN THE CODE TERMINATES YOU GET FROM SETCLOCK A
  13. ;
  14. ; <unset> <unset> <unset>
  15. ;
  16. ; NOW SET YOU SYSTEM TIMER TO THE ACTUAL TIME AND RUN SETCLOCK WITH SAVE
  17. ; OPTION TO STORE IT TO THE BATTERY BACKUP CLOCK.
  18. ; IF YOU CAN'T REVIVE YOUR CLOCK WITH THIS PROGRAM WITHOUT REMOVING THE
  19. ; THE STANDBY POWER OF YOUR CLOCK PLEASE SEND A NOTE !
  20. ;
  21. ; ---------------------------------------------------------------------
  22. ; THIS PROGRAM MAY BE FREELY DISTRIBUTED AS LONG AS :
  23. ;
  24. ; - NO PARTS ARE CHANGED => COPY AS IS
  25. ; - NOT MORE THAN 5 US$ FOR DISK COPY FEE
  26. ; - NO FEE ON BBS FILEBASES
  27. ;
  28. ; ---------------------------------------------------------------------
  29. ; - PAPERMAIL -       - EMAILs -
  30. ;
  31. ; Andrew Kopp        UUCP: via <CB> (see below)
  32. ; Zu den Tannen 13
  33. ; D-5810 Witten 3     BBS Ffm Dungeon : <049> 069 4990769 (Charly)
  34. ; - Fed.Rep.Ger -     German BTX Serv.: 0230279655-0001
  35. ; ---------------------------------------------------------------------
  36. ;*
  37. ;* ______  /
  38. ;* ______\O                     - The Software Brewery -
  39. ;*       \\
  40. ;*        o           Sparkling, fresh software from West-Germany
  41. ;*
  42. ;*      @@@@@             Straight from the bar to your Amiga
  43. ;*      |~~~|\
  44. ;*      | | |/
  45. ;*      |___|        With our regards to the Software Distillery
  46. ;*
  47. ;* The Brewers are:
  48. ;* Christian Balzer alias <CB>, Lattice C, user interfaces, beer addict.
  49. ;* Heiko Rath alias <HR>, Assembler, ROM-Kernal stuff, Marabou addict.
  50. ;* Andrew Kopp alias Charly, Aztec C, Hardware & communications, beer addict.
  51. ;* Armin Sparr alias MARVIN, Aztec C, ARexx macros, Campari addict.
  52. ;* Ralf Woitinas alias RAF, Assembler, anything, Ray-Tracing addict.
  53. ;*
  54. ;* Beverages: Altenmuenster Brauer Bier, Urfraenkisches Landbier, Jever.
  55. ;*
  56. ;* Send exotic drinks, comments, flames to:
  57. ;*
  58. ;* The Software Brewery
  59. ;* Christian Balzer            UUCP: decwrl!frambo.dec.com!CB
  60. ;* Im Wingertsberg 45          ARPA: CB@frambo.dec.com
  61. ;* D-6108 Weiterstadt          CI$ : 71001,210 (be brief!)
  62. ;* West Germany (F.R.G.)       Fone: +49 6150 4151 (18:00-21:00 CET!)
  63. ;*
  64.  
  65. ClockBase   EQU $DC0000
  66. Size       EQU 31       ; number of words-1 in the map
  67.  
  68. entry:
  69.        lea ClockBase,a0  ; start on base of Clock and clear
  70.        moveq #Size,d0   ; a block of size+1 words
  71. _l1:   clr.w (a0)+
  72.        dbf d0,_l1
  73.        rts
  74.  
  75.     END
  76.  
  77.  
  78. ; A note from the Editor (<CB>):
  79. ; Well fellas, don't you just LOVE those sources that consist of
  80. ; a sound 80% comments? :-) ;-)
  81.