News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Arnaud

Get time without firmware with SDCC

Started by Arnaud, 18:53, 20 October 15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Arnaud

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.

arnoldemu

Get time counts 300hz interrupts.
So for assembler do the same ;)

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Arnaud

Ok it's easy ...

... Cpctelera just provides cpct_setInterruptHandler :D

Thanks @arnoldemu.

Powered by SMFPacks Menu Editor Mod