update the timer PC-98 constants to make more sense

This commit is contained in:
Jonathan Campbell
2017-11-13 02:07:34 -08:00
parent d34bf0fdab
commit acdd1fc6ab
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
#define PIT_TICK_RATE_PC98_8MHZ 1996800 #define PIT_TICK_RATE_PC98_8MHZ 1996800
#define PIT_TICK_RATE_PC98_5MHZ 2457600 #define PIT_TICK_RATE_PC98_10MHZ 2457600
extern unsigned long PIT_TICK_RATE; extern unsigned long PIT_TICK_RATE;

View File

@@ -551,7 +551,7 @@ void TIMER_OnEnterPC98(Section*) {
ReadHandler[3].Uninstall(); ReadHandler[3].Uninstall();
/* TODO: PC-98 has two different rates: 5/10MHz base or 8MHz base. Let the user choose via dosbox.conf */ /* TODO: PC-98 has two different rates: 5/10MHz base or 8MHz base. Let the user choose via dosbox.conf */
PIT_TICK_RATE = PIT_TICK_RATE_PC98_5MHZ; PIT_TICK_RATE = PIT_TICK_RATE_PC98_10MHZ;
/* I/O port map (8254) /* I/O port map (8254)
* *