Home
last modified time | relevance | path

Searched refs:rPMC (Results 1 – 7 of 7) sorted by relevance

/dports/games/libretro-picodrive/picodrive-600894e/pico/carthw/svp/
H A Dssp16.c484 reg, write ? 'w' : 'r', rPMC.v, GET_PPC_OFFS()); in pm_io()
490 pmac[reg] = rPMC.v; in pm_io()
492 if ((rPMC.v & 0x7fffff) == 0x1c8000 || (rPMC.v & 0x7fffff) == 0x1c8240) { in pm_io()
580 rPMC.v = pmac[reg]; in pm_io()
700 elprintf(EL_SVP, "PMC r a %04x (st %c) @ %04x", rPMC.l, in read_PMC()
707 return ((rPMC.l << 4) & 0xfff0) | ((rPMC.l >> 4) & 0xf); in read_PMC()
710 return rPMC.l; in read_PMC()
721 rPMC.h = d; in write_PMC()
722 elprintf(EL_SVP, "PMC w m %04x @ %04x", rPMC.h, GET_PPC_OFFS()); in write_PMC()
725 rPMC.l = d; in write_PMC()
[all …]
H A Dcompiler.c29 #define rPMC ssp->gr[SSP_PMC] macro
63 ssp->pmac_read[reg] = rPMC.v; in ssp_pm_read()
86 rPMC.v = ssp->pmac_read[reg]; in ssp_pm_read()
106 ssp->pmac_write[reg] = rPMC.v; in ssp_pm_write()
140 rPMC.v = ssp->pmac_write[reg]; in ssp_pm_write()
/dports/games/kodi-addon-game.libretro.picodrive/game.libretro.picodrive-1.97.0.19-Matrix/depends/common/picodrive/pico/carthw/svp/
H A Dssp16.c484 reg, write ? 'w' : 'r', rPMC.v, GET_PPC_OFFS()); in pm_io()
490 pmac[reg] = rPMC.v; in pm_io()
492 if ((rPMC.v & 0x7fffff) == 0x1c8000 || (rPMC.v & 0x7fffff) == 0x1c8240) { in pm_io()
580 rPMC.v = pmac[reg]; in pm_io()
700 elprintf(EL_SVP, "PMC r a %04x (st %c) @ %04x", rPMC.l, in read_PMC()
707 return ((rPMC.l << 4) & 0xfff0) | ((rPMC.l >> 4) & 0xf); in read_PMC()
710 return rPMC.l; in read_PMC()
721 rPMC.h = d; in write_PMC()
722 elprintf(EL_SVP, "PMC w m %04x @ %04x", rPMC.h, GET_PPC_OFFS()); in write_PMC()
725 rPMC.l = d; in write_PMC()
[all …]
H A Dcompiler.c29 #define rPMC ssp->gr[SSP_PMC] macro
63 ssp->pmac_read[reg] = rPMC.v; in ssp_pm_read()
86 rPMC.v = ssp->pmac_read[reg]; in ssp_pm_read()
106 ssp->pmac_write[reg] = rPMC.v; in ssp_pm_write()
140 rPMC.v = ssp->pmac_write[reg]; in ssp_pm_write()
/dports/emulators/mednafen/mednafen/src/md/cart/
H A Dssp16.c482 reg, write ? 'w' : 'r', rPMC.v, GET_PPC_OFFS()); in pm_io()
487 ssp->pmac_read[write ? reg + 6 : reg] = rPMC.v; in pm_io()
489 if ((rPMC.v & 0x7fffff) == 0x1c8000 || (rPMC.v & 0x7fffff) == 0x1c8240) { in pm_io()
576 rPMC.v = ssp->pmac_read[write ? reg + 6 : reg]; in pm_io()
696 elprintf(EL_SVP, "PMC r a %04x (st %c) @ %04x", rPMC.l, in read_PMC()
703 return ((rPMC.l << 4) & 0xfff0) | ((rPMC.l >> 4) & 0xf); in read_PMC()
706 return rPMC.l; in read_PMC()
717 rPMC.h = d; in write_PMC()
718 elprintf(EL_SVP, "PMC w m %04x @ %04x", rPMC.h, GET_PPC_OFFS()); in write_PMC()
721 rPMC.l = d; in write_PMC()
[all …]
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/cart_hw/svp/
H A Dssp16.c213 #define rPMC ssp->gr[SSP_PMC] /* will keep addr in .h, mode in .l */ macro
456 reg, write ? 'w' : 'r', rPMC.v, GET_PPC_OFFS()); in pm_io()
464 ssp->pmac[write][reg] = rPMC.v; in pm_io()
467 if ((rPMC.v & 0x7f) == 0x1c && (rPMC.v & 0x7fff0000) == 0) { in pm_io()
585 rPMC.v = ssp->pmac[write][reg]; in pm_io()
735 elprintf(EL_SVP, "PMC r a %04x (st %c) @ %04x", rPMC.byte.h, in read_PMC()
744 return ((rPMC.byte.l << 4) & 0xfff0) | ((rPMC.byte.l >> 4) & 0xf); in read_PMC()
748 return rPMC.byte.l; in read_PMC()
760 rPMC.byte.h = d; in write_PMC()
762 elprintf(EL_SVP, "PMC w m %04x @ %04x", rPMC.byte.l, GET_PPC_OFFS()); in write_PMC()
[all …]
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/core/cart_hw/svp/
H A Dssp16.c213 #define rPMC ssp->gr[SSP_PMC] /* will keep addr in .h, mode in .l */ macro
456 reg, write ? 'w' : 'r', rPMC.v, GET_PPC_OFFS()); in pm_io()
464 ssp->pmac[write][reg] = rPMC.v; in pm_io()
467 if ((rPMC.v & 0x7f) == 0x1c && (rPMC.v & 0x7fff0000) == 0) { in pm_io()
585 rPMC.v = ssp->pmac[write][reg]; in pm_io()
735 elprintf(EL_SVP, "PMC r a %04x (st %c) @ %04x", rPMC.byte.h, in read_PMC()
744 return ((rPMC.byte.l << 4) & 0xfff0) | ((rPMC.byte.l >> 4) & 0xf); in read_PMC()
748 return rPMC.byte.l; in read_PMC()
760 rPMC.byte.h = d; in write_PMC()
762 elprintf(EL_SVP, "PMC w m %04x @ %04x", rPMC.byte.l, GET_PPC_OFFS()); in write_PMC()
[all …]