gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > How to use Timer in HAM?

#25458 - Tyzi - Mon Aug 23, 2004 11:59 am

HAM has many powerful functions. But I don't know how to use the timer. Is there some functions about timer in HAM? I doesn't find it in its documentation.

#25471 - sajiimori - Mon Aug 23, 2004 7:34 pm

I don't know HAM, but you can learn how to use the GBA timer from the various tutorials, including the one Dan linked you to.

#25522 - Tyzi - Tue Aug 24, 2004 12:17 pm

thanx,but I just want to use the function Delay(),so is there some free lib I can get ?

#25534 - tepples - Tue Aug 24, 2004 4:44 pm

If you want to delay, then just count vblanks.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#26621 - Peter - Tue Sep 21, 2004 11:45 am

Hi,

I made an example what demonstrates how to use HAMs macros for timers. If I remember correctly it is called [C] Timers or something like that.

This and about 100 other examples are bundled with the recent VisualHAM version at www.console-dev.de

Peter