summaryrefslogtreecommitdiff
path: root/avr/z180-stamp-avr.c
diff options
context:
space:
mode:
authorLeo C2014-08-13 21:00:21 +0200
committerLeo C2014-08-13 21:00:21 +0200
commit72f5882239bb88b8a68f305802e0dde37a975604 (patch)
treea932ba22f7174de0fd773cf31d4d914dd548dfdd /avr/z180-stamp-avr.c
parentd684c21619905153eff68c43927207248925f6c2 (diff)
downloadz180-stamp-72f5882239bb88b8a68f305802e0dde37a975604.zip
Add memory commands (cmp, cp, md, mm, mw, nm)
Add kind of scheduler for background tasks
Diffstat (limited to 'avr/z180-stamp-avr.c')
-rw-r--r--avr/z180-stamp-avr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/avr/z180-stamp-avr.c b/avr/z180-stamp-avr.c
index b5a3fb8..e6edb33 100644
--- a/avr/z180-stamp-avr.c
+++ b/avr/z180-stamp-avr.c
@@ -497,8 +497,10 @@ int main(void)
DBG_P(1, "done.\n");
DBG_P(1, "Get bus... ");
+/* Now done via S_Z180_RUNNING
z80_busreq(LOW);
z80_reset(HIGH);
+*/
z80_request_bus();
DBG_P(1, "got it!\n");
@@ -519,9 +521,11 @@ int main(void)
// z80_dump_mem(0, 0x200);
+/* Now done via S_Z180_RUNNING
z80_reset(LOW);
- DBG_P(1, "Bus released!\n");
+*/
z80_release_bus();
+ DBG_P(1, "Bus released!\n");
z80_reset(HIGH);
DBG_P(1, "Reset released!\n");