diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-03-20 23:40:58 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-03-20 23:40:58 +0000 |
commit | 8bfa93de6afda0163401c6f01eb5a89c535c262c (patch) | |
tree | cf7f8c3fb736465ec187bab8b0707cd9ca3d915b /src/example/spectrum.asm | |
parent | 618d4de3bd173a7bda6d6a2b911bc0717c10102b (diff) |
Move output drivers to separate files in preperation for additional drivers.
Diffstat (limited to 'src/example/spectrum.asm')
-rw-r--r-- | src/example/spectrum.asm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/example/spectrum.asm b/src/example/spectrum.asm new file mode 100644 index 0000000..01175f9 --- /dev/null +++ b/src/example/spectrum.asm @@ -0,0 +1,19 @@ + ; Simple example spectrum code + ; + ; To use: + ; + ; LOAD "" CODE + ; RANDOMIZE USR 32768 + ; + + option output-file,spectrum.tap + option output-format,spectrum + + org 32768 + + ld a,0 +loop: + out ($fe), a + inc a + and 7 + jp loop |