notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some changes for common z80 code
[picodrive.git]
/
Pico
/
PicoInt.h
diff --git
a/Pico/PicoInt.h
b/Pico/PicoInt.h
index
cd5ba5b
..
12d8e2a
100644
(file)
--- a/
Pico/PicoInt.h
+++ b/
Pico/PicoInt.h
@@
-1,7
+1,7
@@
// Pico Library - Internal Header File
\r
\r
// (c) Copyright 2004 Dave, All rights reserved.
\r
// Pico Library - Internal Header File
\r
\r
// (c) Copyright 2004 Dave, All rights reserved.
\r
-// (c) Copyright 2006
,2007
Grazvydas "notaz" Ignotas, all rights reserved.
\r
+// (c) Copyright 2006
-2008
Grazvydas "notaz" Ignotas, all rights reserved.
\r
// Free for non-commercial use.
\r
\r
// For commercial use, separate licencing terms must be obtained.
\r
// Free for non-commercial use.
\r
\r
// For commercial use, separate licencing terms must be obtained.
\r
@@
-185,10
+185,7
@@
extern struct DrZ80 drZ80;
\r
#define z80_run(cycles) ((cycles) - DrZ80Run(&drZ80, cycles))
\r
#define z80_run_nr(cycles) DrZ80Run(&drZ80, cycles)
\r
\r
#define z80_run(cycles) ((cycles) - DrZ80Run(&drZ80, cycles))
\r
#define z80_run_nr(cycles) DrZ80Run(&drZ80, cycles)
\r
-#define z80_int() { \
\r
- drZ80.z80irqvector = 0xFF; /* default IRQ vector RST opcode */ \
\r
- drZ80.Z80_IRQ = 1; \
\r
-}
\r
+#define z80_int() drZ80.Z80_IRQ = 1
\r
\r
#define z80_cyclesLeft drZ80.cycles
\r
\r
\r
#define z80_cyclesLeft drZ80.cycles
\r
\r