added compiler/assembler target, lib compiles

This commit is contained in:
mrdudz
2014-11-29 15:35:20 +01:00
parent 86e6abfcd9
commit 4275b82117
12 changed files with 60 additions and 341 deletions

View File

@@ -1,6 +1,4 @@
.include "huc6280.inc"
; Write VDC register
.macro VREG arg1,arg2
st0 #arg1
@@ -72,4 +70,21 @@ IRQ_MASK = $1402
IRQ_STATUS = $1403
CDR_MEM_DISABLE = $1803
CDR_MEM_ENABLE = $1807
CDR_MEM_ENABLE = $1807
;; lda abs
.macro ldaio arg1
.byte $ad
.word arg1
.endmacro
;; sta abs
.macro staio arg1
.byte $8d
.word arg1
.endmacro
;; stz abs
.macro stzio arg1
.byte $9c
.word arg1
.endmacro