notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amalgamation
[picodrive.git]
/
Pico
/
cd
/
Sek.c
diff --git
a/Pico/cd/Sek.c
b/Pico/cd/Sek.c
index
3788fcb
..
6295af5
100644
(file)
--- a/
Pico/cd/Sek.c
+++ b/
Pico/cd/Sek.c
@@
-49,12
+49,12
@@
static int SekIntAckS68k(int level)
return CYCLONE_INT_ACK_AUTOVECTOR;
}
return CYCLONE_INT_ACK_AUTOVECTOR;
}
-static void SekResetAck
(
)
+static void SekResetAck
S68k(void
)
{
dprintf("s68k: Reset encountered @ %06x", SekPcS68k);
}
{
dprintf("s68k: Reset encountered @ %06x", SekPcS68k);
}
-static int SekUnrecognizedOpcode
(
)
+static int SekUnrecognizedOpcode
S68k(void
)
{
unsigned int pc, op;
pc = SekPcS68k;
{
unsigned int pc, op;
pc = SekPcS68k;
@@
-67,14
+67,14
@@
static int SekUnrecognizedOpcode()
-int SekInitS68k()
+
PICO_INTERNAL
int SekInitS68k()
{
#ifdef EMU_C68K
// CycloneInit();
memset(&PicoCpuS68k,0,sizeof(PicoCpuS68k));
PicoCpuS68k.IrqCallback=SekIntAckS68k;
{
#ifdef EMU_C68K
// CycloneInit();
memset(&PicoCpuS68k,0,sizeof(PicoCpuS68k));
PicoCpuS68k.IrqCallback=SekIntAckS68k;
- PicoCpuS68k.ResetCallback=SekResetAck;
- PicoCpuS68k.UnrecognizedCallback=SekUnrecognizedOpcode;
+ PicoCpuS68k.ResetCallback=SekResetAck
S68k
;
+ PicoCpuS68k.UnrecognizedCallback=SekUnrecognizedOpcode
S68k
;
#endif
#ifdef EMU_M68K
{
#endif
#ifdef EMU_M68K
{
@@
-93,7
+93,7
@@
int SekInitS68k()
}
// Reset the 68000:
}
// Reset the 68000:
-int SekResetS68k()
+
PICO_INTERNAL
int SekResetS68k()
{
if (Pico.rom==NULL) return 1;
{
if (Pico.rom==NULL) return 1;
@@
-122,7
+122,7
@@
int SekResetS68k()
return 0;
}
return 0;
}
-int SekInterruptS68k(int irq)
+
PICO_INTERNAL
int SekInterruptS68k(int irq)
{
int irqs, real_irq = 1;
Pico_mcd->m.s68k_pend_ints |= 1 << irq;
{
int irqs, real_irq = 1;
Pico_mcd->m.s68k_pend_ints |= 1 << irq;