From 6adba795f455f1bec6c89764fc78ecb1249fa66e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Nov 2015 04:20:15 +0100 Subject: Cleanups --- src/os9x_asm_cpu.c | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) (limited to 'src/os9x_asm_cpu.c') diff --git a/src/os9x_asm_cpu.c b/src/os9x_asm_cpu.c index 6376ea5..7b34956 100644 --- a/src/os9x_asm_cpu.c +++ b/src/os9x_asm_cpu.c @@ -203,53 +203,4 @@ void asm_S9xOpcode_IRQ(void) } #endif -/* -void asm_APU_EXECUTE(int Mode) -{ -#ifdef __debug_c_apuex__ - printf("apuexec\n"); -#endif - if(CPU.APU_APUExecuting != Mode) return; - - if (Settings.asmspc700) - { - if(CPU.APU_Cycles < CPU.Cycles) { - int cycles = CPU.Cycles - CPU.APU_Cycles; - CPU.APU_Cycles += cycles - spc700_execute(cycles); - } - } - else - { - while (CPU.APU_Cycles <= CPU.Cycles) - { - CPU.APU_Cycles += S9xAPUCycles [*IAPU.PC]; - (*S9xApuOpcodes[*IAPU.PC]) (); - } - } -} - - -void asm_APU_EXECUTE2(void) -{ - if(CPU.APU_APUExecuting != 1) return; - - //ICPU.CPUExecuting = FALSE; - if (Settings.asmspc700) - { - if(CPU.APU_Cycles < CPU.NextEvent) { - int cycles = CPU.NextEvent - CPU.APU_Cycles; - CPU.APU_Cycles += cycles - spc700_execute(cycles); - } - } - else - { - do - { - CPU.APU_Cycles += S9xAPUCycles [*IAPU.PC]; - (*S9xApuOpcodes[*IAPU.PC]) (); - } while (CPU.APU_Cycles < CPU.NextEvent); - } - //ICPU.CPUExecuting = TRUE; -}*/ - END_EXTERN_C -- cgit v1.2.3