aboutsummaryrefslogtreecommitdiff
path: root/src/aextest2.dasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/aextest2.dasm')
-rw-r--r--src/aextest2.dasm27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/aextest2.dasm b/src/aextest2.dasm
new file mode 100644
index 0000000..fa897c6
--- /dev/null
+++ b/src/aextest2.dasm
@@ -0,0 +1,27 @@
+
+ processor 6502
+ include equates.inc
+
+main = $6000
+
+ org main-6
+ word $FFFF
+ word main
+ word end_main-1
+
+ org main
+
+ lda #<filename
+ ldx #>filename
+ jsr $0600
+ lda #$08
+ sta COLOR2
+ rts
+
+filename: byte "D:AEXTEST.XEX", $00
+
+end_main:
+
+ word RUNAD
+ word RUNAD+1
+ word main