Home
last modified time | relevance | path

Searched refs:SekTotalCycles (Results 1 – 25 of 143) sorted by relevance

123456

/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/capcom/
H A Dcps_run.cpp282 if (nIrqCycles < SekTotalCycles()) { in DoIRQ()
283 nIrqCycles = SekTotalCycles() + 1; in DoIRQ()
330 if (SekTotalCycles() < nDisplayEnd && nNext > nDisplayEnd) { in Cps1Frame()
343 SekRun(nNext - SekTotalCycles()); // run 68K in Cps1Frame()
360 nCpsCyclesExtra = SekTotalCycles() - nCpsCycles; in Cps1Frame()
430 if (SekTotalCycles() < nNext) { in Cps2Frame()
431 SekRun(nNext - SekTotalCycles()); in Cps2Frame()
447 SekRun(nIrqCycles - SekTotalCycles()); in Cps2Frame()
450 SekRun(nNext - SekTotalCycles()); // run cpu in Cps2Frame()
462 SekRun(nCpsCycles - SekTotalCycles()); in Cps2Frame()
[all …]
H A Dqs.cpp98 int nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in QsndSyncZ80()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/capcom/
H A Dcps_run.cpp288 if (nIrqCycles < SekTotalCycles()) { in DoIRQ()
289 nIrqCycles = SekTotalCycles() + 1; in DoIRQ()
339 if (SekTotalCycles() < nDisplayEnd && nNext > nDisplayEnd) { in Cps1Frame()
352 SekRun(nNext - SekTotalCycles()); // run 68K in Cps1Frame()
374 nCpsCyclesExtra = SekTotalCycles() - nCpsCycles; in Cps1Frame()
446 if (SekTotalCycles() < nNext) { in Cps2Frame()
447 SekRun(nNext - SekTotalCycles()); in Cps2Frame()
463 SekRun(nIrqCycles - SekTotalCycles()); in Cps2Frame()
466 SekRun(nNext - SekTotalCycles()); // run cpu in Cps2Frame()
478 SekRun(nCpsCycles - SekTotalCycles()); in Cps2Frame()
[all …]
H A Dps.cpp75 INT32 nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in PsndSyncZ80()
H A Dqs.cpp98 int nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in QsndSyncZ80()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/neogeo/
H A Dneo_run.cpp1090 nuPD4990ATicks = SekTotalCycles(); in vliner_timing()
1948 nuPD4990ATicks = SekTotalCycles(); in neogeoReadByte()
2191 nNeoWatchdog = -SekTotalCycles(); in neogeoWriteByte()
4736 while (SekTotalCycles() < nCyclesSegment) { in NeoFrame()
4760 NeoSekRun(nIRQCycles - SekTotalCycles()); in NeoFrame()
4785 while (SekTotalCycles() < nCyclesVBlank) { in NeoFrame()
4833 if (SekTotalCycles() >= nCyclesSegment) { in NeoFrame()
4844 while (SekTotalCycles() < nCyclesVBlank) { in NeoFrame()
4938 while (SekTotalCycles() < nCyclesSegment) { in NeoFrame()
4981 nCycles68KSync = SekTotalCycles(); in NeoFrame()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/neogeo/
H A Dneo_run.cpp1103 nuPD4990ATicks = SekTotalCycles(); in vliner_timing()
1981 nuPD4990ATicks = SekTotalCycles(); in neogeoReadByte()
2225 nNeoWatchdog = -SekTotalCycles(); in neogeoWriteByte()
4831 while (SekTotalCycles() < nCyclesSegment) { in NeoFrame()
4855 NeoSekRun(nIRQCycles - SekTotalCycles()); in NeoFrame()
4881 while (SekTotalCycles() < nCyclesVBlank) { in NeoFrame()
4929 if (SekTotalCycles() >= nCyclesSegment) { in NeoFrame()
4940 while (SekTotalCycles() < nCyclesVBlank) { in NeoFrame()
5034 while (SekTotalCycles() < nCyclesSegment) { in NeoFrame()
5077 nCycles68KSync = SekTotalCycles(); in NeoFrame()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pgm/
H A Dpgm_run.cpp265 INT32 cycles = (UINT64)(SekTotalCycles()) * nCyclesTotal[1] / nCyclesTotal[0] + extra_cycles; in pgmSynchroniseZ80()
904 while (SekTotalCycles() < nCyclesTotal[0] / 2) in pgmFrame()
905 SekRun(nCyclesTotal[0] / 2 - SekTotalCycles()); in pgmFrame()
910 while (SekTotalCycles() < nCyclesTotal[0]) in pgmFrame()
911 SekRun(nCyclesTotal[0] - SekTotalCycles()); in pgmFrame()
924 while (SekTotalCycles() < nCyclesTotal[0] / 2) in pgmFrame()
925 SekRun(nCyclesTotal[0] / 2 - SekTotalCycles()); in pgmFrame()
930 while (SekTotalCycles() < nCyclesTotal[0]) in pgmFrame()
931 SekRun(nCyclesTotal[0] - SekTotalCycles()); in pgmFrame()
937 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in pgmFrame()
H A Dpgm_asic27a_type2.cpp20 while (SekTotalCycles() > Arm7TotalCycles()) in pgm_cpu_sync()
21 Arm7Run(SekTotalCycles() - Arm7TotalCycles()); in pgm_cpu_sync()
H A Dpgm_asic27a_type3.cpp21 while (SekTotalCycles() > Arm7TotalCycles()) in pgm_cpu_sync()
22 Arm7Run(SekTotalCycles() - Arm7TotalCycles()); in pgm_cpu_sync()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/toaplan/
H A Dd_pipibibs.cpp484 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
485 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
499 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
505 nToa1Cycles68KSync = SekTotalCycles(); in DrvFrame()
511 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dd_bbakraid.cpp413 INT32 nCycles = SekTotalCycles() / 4 + nExtraCycles; in bbakraidSynchroniseZ80()
415 INT32 nCycles = ((INT64)SekTotalCycles() * nCyclesTotal[1] / nCyclesTotal[0]) + nExtraCycles; in bbakraidSynchroniseZ80()
970 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
971 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
987 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
1001 nCycles68KSync = SekTotalCycles(); in DrvFrame()
1004 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dd_ghox.cpp678 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
679 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
693 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
698 nCyclesDone[1] += Z180Run(SekTotalCycles() - nCyclesDone[1]); in DrvFrame()
709 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dtoaplan.h155 INT32 nCycles = SekTotalCycles(); in ToaVBlankRegister()
175 INT32 nCurrentBeamPosition = SekTotalCycles() % nToaCyclesScanline; in ToaScanlineRegister()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/toaplan/
H A Dd_pipibibs.cpp496 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
497 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
511 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
521 nToa1Cycles68KSync = SekTotalCycles(); in DrvFrame()
527 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dd_bbakraid.cpp415 INT32 nCycles = SekTotalCycles() / 4 + nExtraCycles; in bbakraidSynchroniseZ80()
417 INT32 nCycles = ((INT64)SekTotalCycles() * nCyclesTotal[1] / nCyclesTotal[0]) + nExtraCycles; in bbakraidSynchroniseZ80()
978 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
979 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
999 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
1017 nCycles68KSync = SekTotalCycles(); in DrvFrame()
1020 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dd_ghox.cpp644 if (SekTotalCycles() < nToaCyclesVBlankStart) { in DrvFrame()
645 nCyclesSegment = nToaCyclesVBlankStart - SekTotalCycles(); in DrvFrame()
659 nCyclesSegment = nNext - SekTotalCycles(); in DrvFrame()
664 nCyclesDone[1] += Z180Run(SekTotalCycles() - nCyclesDone[1]); in DrvFrame()
675 nCyclesDone[0] = SekTotalCycles() - nCyclesTotal[0]; in DrvFrame()
H A Dtoaplan.h155 INT32 nCycles = SekTotalCycles(); in ToaVBlankRegister()
175 INT32 nCurrentBeamPosition = SekTotalCycles() % nToaCyclesScanline; in ToaScanlineRegister()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/atari/
H A Dd_offtwall.cpp635 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
637 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
641 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
643 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
649 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
651 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/atari/
H A Dd_offtwall.cpp635 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
637 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
641 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
643 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
649 M6502Run(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
651 M6502Idle(((SekTotalCycles() / 8) - M6502TotalCycles())); in DrvFrame()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/megadrive/
H A Dmdeeprom.cpp189 if (SekTotalCycles() - eeprom.last_write < 16) { in EEPROM_write16()
198 eeprom.last_write = SekTotalCycles(); in EEPROM_write16()
218 interval = SekTotalCycles() - eeprom.last_write; in EEPROM_read()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/cpu/
H A Dm68000_intf.h201 INT32 SekTotalCycles(INT32 nCPU);
204 static INT32 SekTotalCycles() in SekTotalCycles() function
206 inline static INT32 SekTotalCycles() in SekTotalCycles()
230 return SekTotalCycles() / nSekCyclesScanline; in SekCurrentScanline()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/cpu/
H A Dm68000_intf.h180 static INT32 SekTotalCycles() in SekTotalCycles() function
182 inline static INT32 SekTotalCycles() in SekTotalCycles()
206 return SekTotalCycles() / nSekCyclesScanline; in SekCurrentScanline()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pst90s/
H A Dd_hyprduel.cpp691 INT32 cycles = SekTotalCycles(); in DrvFrame()
697 i4x00_blitter_timer -= SekTotalCycles() - cycles; in DrvFrame()
705 vblank_end_timer -= SekTotalCycles() - cycles; in DrvFrame()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/taito/
H A Dd_othunder.cpp337 cyc_start = SekTotalCycles(); in Othunder68KWriteByte()
414 cyc_start = SekTotalCycles(); in Othunder68KWriteWord()
907 cyc_start = SekTotalCycles(); in OthunderFrame()
910 ad_irq_cyc -= SekTotalCycles() - cyc_start; in OthunderFrame()

123456