CPCWiki forum

General Category => Programming => Topic started by: Arnaud on 20:53, 20 October 15

Title: Get time without firmware with SDCC
Post by: Arnaud on 20:53, 20 October 15
Hello,

i'am trying to replace all my functions with firmware to 100% assembler.

The first one is to get time (the second is read file but i'll see later), is there an easy way to get the time as with CALL #0xBD0D.

Thanks,
Arnaud.
Title: Re: Get time without firmware with SDCC
Post by: arnoldemu on 21:00, 20 October 15
Get time counts 300hz interrupts.
So for assembler do the same ;)

Title: Re: Get time without firmware with SDCC
Post by: Arnaud on 22:00, 20 October 15
Ok it's easy ...

... Cpctelera just provides cpct_setInterruptHandler :D

Thanks @arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122).