Ok,I think I get it now.
hour = getsysvar: $1b
minute = getsysvar: $1c
second = getsysvar: $1d
I'll go try it,thanks.
--- In vmu-dev@y..., "M. Jumper" <mj98765@y...> wrote:
> it does, but you have to know the address of the
> system variable.
> Since time is stored in system variables (which are
> stored in a different area of memory), you have to use
> the getsysvar function.
> For example, the seconds are stored in address $1d,
> to retrieve it, you'd type this:
> my_variable = getsysvar: $1d
>
> I hope this helps. If you aren't sure which addresses
> are used for which system variables, check with
> Marcus's site. It'll be at his VMS Firmware page.
>
> --- vmufan@y... wrote:
> > how do I get the current VMU time to a variable?
> >
> > I do my VMU programing with the compiler and it does
> > not feature that command (I think)
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com