/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/capcom/ |
H A D | cps_run.cpp | 282 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 D | qs.cpp | 98 int nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in QsndSyncZ80()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/capcom/ |
H A D | cps_run.cpp | 288 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 D | ps.cpp | 75 INT32 nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in PsndSyncZ80()
|
H A D | qs.cpp | 98 int nCycles = (INT64)SekTotalCycles() * nCpsZ80Cycles / nCpsCycles; in QsndSyncZ80()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/neogeo/ |
H A D | neo_run.cpp | 1090 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 D | neo_run.cpp | 1103 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 D | pgm_run.cpp | 265 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 D | pgm_asic27a_type2.cpp | 20 while (SekTotalCycles() > Arm7TotalCycles()) in pgm_cpu_sync() 21 Arm7Run(SekTotalCycles() - Arm7TotalCycles()); in pgm_cpu_sync()
|
H A D | pgm_asic27a_type3.cpp | 21 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 D | d_pipibibs.cpp | 484 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 D | d_bbakraid.cpp | 413 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 D | d_ghox.cpp | 678 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 D | toaplan.h | 155 INT32 nCycles = SekTotalCycles(); in ToaVBlankRegister() 175 INT32 nCurrentBeamPosition = SekTotalCycles() % nToaCyclesScanline; in ToaScanlineRegister()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/toaplan/ |
H A D | d_pipibibs.cpp | 496 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 D | d_bbakraid.cpp | 415 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 D | d_ghox.cpp | 644 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 D | toaplan.h | 155 INT32 nCycles = SekTotalCycles(); in ToaVBlankRegister() 175 INT32 nCurrentBeamPosition = SekTotalCycles() % nToaCyclesScanline; in ToaScanlineRegister()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/atari/ |
H A D | d_offtwall.cpp | 635 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 D | d_offtwall.cpp | 635 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 D | mdeeprom.cpp | 189 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 D | m68000_intf.h | 201 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 D | m68000_intf.h | 180 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 D | d_hyprduel.cpp | 691 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 D | d_othunder.cpp | 337 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()
|