diff options
author | Leo C | 2014-08-14 16:27:17 +0200 |
---|---|---|
committer | Leo C | 2014-08-14 16:27:17 +0200 |
commit | 534e1dfcb2f6cdfa1cd62913045b832f2189b7aa (patch) | |
tree | bfd0f2693160aeae7aa1788f1b3903ac843b9e45 /avr/z80-if.c | |
parent | 72f5882239bb88b8a68f305802e0dde37a975604 (diff) | |
download | z180-stamp-534e1dfcb2f6cdfa1cd62913045b832f2189b7aa.zip |
Add commands: loadf, go, reset restarthexrel-1
Diffstat (limited to 'avr/z80-if.c')
-rw-r--r-- | avr/z80-if.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/avr/z80-if.c b/avr/z80-if.c index 9ee9cb0..949de17 100644 --- a/avr/z80-if.c +++ b/avr/z80-if.c @@ -153,6 +153,10 @@ void z80_reset(level_t level) Stat &= ~S_Z180_RUNNING; } +int z80_stat_reset(void) +{ + return Z80_O_RST; +} void z80_reset_pulse(void) { @@ -162,6 +166,11 @@ void z80_reset_pulse(void) Stat |= S_Z180_RUNNING; } +int z80_runstate(void) +{ + return (Stat & S_Z180_RUNNING) != 0; +} + #if 0 int z80_stat_halt(void) { |