FluBBa posted on Mar 8 2006 at 07:39 AM said:
So can you tell one of those "some" drivers?
1) Cycles are used by some functions in cpuintrf.c (look for ICOUNT (cpunum) into this file. In example cpu_gettotalcycles():
drivers\ junofrst, locomotn, meadows, mikie, nemesis, pooyan, rocnrope, tempest, timeplt, tp84, tutankhm, bzones, circusc, cop01, ironhors, jack.
machine\ gauntlet, mhavoc, asteroid, atarisy1.
sndhrdw\ scramble, smashtv, trackfld, frogger, gyruss.
A fast way to test this is in example Amidar game. If cycles are not updated the music sounds veeeery slooooowly. If cycles are correctly update the music is ok.
2) PC is directly read by memory and interrupt handlers in example in:
cpu_getpc():
drivers\ atarisy2, bombjack, btime, fastfred, karnov, neogeo, prehisle, punchout, rastan, rthunder, scramble, seicross, system16, tehkanwc, twincobr.
machine\ asteroid, dec0, digdug, exterm, galaga, mappy, neogeo, scramble, smashtv, starwars, tp84, williams, wow.
vidhrdw\ crtc6845, dec8, gameplan, neogeo.
3) Previouspc is used in example in:
cpu_getpreviouspc():
drivers\starwars, tempest, btime, maketrax,
machine\atarisy1, gauntlet, missile, sega, segar.
But i don't know if i have understand correctly the previouspc meaning, because in the C core there are some strange things.
Regards. :rolleyes: