This commit is contained in:
Jeroen Domburg 2017-10-31 17:21:41 -07:00
parent 36dcd10658
commit feaa2434ea
2 changed files with 5 additions and 3 deletions

View File

@ -484,10 +484,12 @@ void tmeStartEmu(void *rom) {
printf("Done! Running.\n");
while(1) {
for (x=0; x<8000000/60; x+=1000) {
for (int i=0; i<100; i++) {
m68k_execute(10);
for (int i=0; i<10; i++) {
m68k_execute(100);
for (int l=0; l<10; l++) {
viaStep(1); //should run at 783.36KHz
sccTick();
}
}
int r=mouseTick();
if (r&MOUSE_BTN) viaClear(VIA_PORTB, (1<<3)); else viaSet(VIA_PORTB, (1<<3));

View File

@ -166,7 +166,7 @@ void m68k_instruction();
/* If ON, the enulation core will use 64-bit integers to speed up some
* operations.
*/
#define M68K_USE_64_BIT OPT_ON
#define M68K_USE_64_BIT OPT_OFF
/* Set to your compiler's static inline keyword to enable it, or