The ultimate Amstrad CPC community!
News:
Home
Help
Login
Register
CPCWiki forum
»
General Category
»
Programming
»
Get time without firmware with SDCC
0
Likes
« previous
next »
Print
Pages:
Go Down
Author
Topic: Get time without firmware with SDCC (Read 666 times)
0 Members and 1 Guest are viewing this topic.
Arnaud
Supporter
6128 Plus
Posts: 683
Country:
Liked: 601
Likes Given: 1227
Get time without firmware with SDCC
«
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.
Logged
arnoldemu
Supporter
6128 Plus
Posts: 5.336
Country:
Liked: 2278
Likes Given: 3478
Re: Get time without firmware with SDCC
«
Reply #1 on:
21:00, 20 October 15 »
Get time counts 300hz interrupts.
So for assembler do the same
Logged
My games.
My Games
My website with coding examples:
Unofficial Amstrad WWW Resource
Arnaud
Supporter
6128 Plus
Posts: 683
Country:
Liked: 601
Likes Given: 1227
Re: Get time without firmware with SDCC
«
Reply #2 on:
22:00, 20 October 15 »
Ok it's easy ...
... Cpctelera just provides cpct_
setInterruptHandler
Thanks
@arnoldemu
.
Logged
Print
Pages:
Go Up
« previous
next »
CPCWiki forum
»
General Category
»
Programming
»
Get time without firmware with SDCC