This commit is contained in:
2021-09-14 18:35:52 +03:00
parent f052f2294e
commit d605c6a016
84 changed files with 3647 additions and 1192 deletions

View File

@ -50,6 +50,11 @@ void i86_pit_install(int freq)
}
TIME i86_pit_get_time()
{
return _internal_clock;
}
unsigned char i86_pit_is_initialized()
{
return _pit_init;

View File

@ -2,7 +2,7 @@
#define __PIT_H
#include<regs.h>
extern volatile unsigned int _pit_ticks;
extern volatile unsigned int _pit_ticks;
extern volatile unsigned int _pit_frequency;
extern volatile TIME _internal_clock;