View Single Post
Old 04-29-2005, 01:30   #10 (permalink)
lalo.lerry
No Life Poster
 
lalo.lerry's Avatar
 
Join Date: Jan 2004
Location: Italy
Age: 49
Posts: 1,018
Member: 50673
Status: Offline
Thanks Meter: 2
hello Stu:

So Hourly beep has a better RAm loc?
yes, this one, 0D:25DE, as RAM hours location
So, if RAM locations are used in a similar way as in my S45i (as very often), there should be also in that area these locations:

0D:25DA = 365DA :seconds (only when inserted)
0D:25DC = 365DC :minutes
0D:25DE = 365DE :hours
0D:25E0 = 365E0 :day
0D:25E2 = 365E2 :month
0D:25E4 = 365E4 :year

Please check them, because I cannot not having SL45.

Do you know these routines?
I know them in S45i, and searched one of it in SL45 for you.
Should be:

mov r13, #Off
mov r14, #Seg ;where r14:r13= Seg:Off is call to be executed after delay
mov [-r0], r14
mov [-r0], r13
mov r12, #Off
mov r13, #Page ;where r13:r12= Page:Off of RAM timer location (just choose a free RAM area)
mov r14, #n ,where n is time in ms/0,25
mov r15, #0
calls C1CA86 ;delay1 ()
add r0, #4


Enjoy it

prof
  Reply With Quote
 
Page generated in 0.06475 seconds with 7 queries