summaryrefslogtreecommitdiff
path: root/z180
diff options
context:
space:
mode:
Diffstat (limited to 'z180')
-rw-r--r--z180/freqloop.18020
1 files changed, 20 insertions, 0 deletions
diff --git a/z180/freqloop.180 b/z180/freqloop.180
new file mode 100644
index 0000000..be1137d
--- /dev/null
+++ b/z180/freqloop.180
@@ -0,0 +1,20 @@
+ .z80 ; for M80, ignored by SLR assembler
+ include z180reg.inc
+
+ aseg
+ org 0
+
+ ld bc,00*256+RCR
+ xor a
+ out (c),a
+ out (040H),a
+ ;Z80 Z180(0W) Z180(MaxW)
+loop: ;--------------------------
+ in a,(050h) ;11 10 +3*3 19
+ jp loop ;10 9 +3*3 18
+ ;--------------------------
+ ;21 19 37
+
+ end
+
+; vim:set ts=8 noet nowrap