mirror of
https://github.com/mi57730/a2d.git
synced 2025-04-05 13:37:11 +00:00
Correct makefile
This commit is contained in:
parent
2f0416e4cc
commit
7a3f07c838
@ -25,6 +25,9 @@ clean:
|
||||
rm -f $(OUTDIR)/*.\$$F1
|
||||
rm -f $(OUTDIR)/*.sys
|
||||
|
||||
$(OUTDIR)/ovl34567.o: ovl34567.s $(HEADERS) ovl3.s ovl4.s ovl5.s ovl6.s ovl7.s
|
||||
$(CC65)/ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
|
||||
|
||||
$(OUTDIR)/%.o: %.s $(HEADERS)
|
||||
$(CC65)/ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
|
||||
|
||||
|
@ -48,10 +48,9 @@ L9017: lda $0C00
|
||||
rts
|
||||
|
||||
L903C: ldx #$01
|
||||
copy16 $DB1C, L904B
|
||||
.byte $AD
|
||||
L904B: .byte $34
|
||||
L904C: .byte $12
|
||||
copy16 $DB1C, load
|
||||
load := *+1
|
||||
lda dummy1234
|
||||
cmp #$0D
|
||||
bcc L9052
|
||||
inx
|
||||
@ -60,7 +59,7 @@ L9052: lda #$00
|
||||
sta $D443
|
||||
ldy #$03
|
||||
lda #$02
|
||||
jsr common_overlay::L5000
|
||||
jsr common_overlay_L5000
|
||||
pha
|
||||
txa
|
||||
pha
|
||||
@ -221,7 +220,7 @@ L91BC: clc
|
||||
adc #$01
|
||||
tay
|
||||
lda #$02
|
||||
jsr L5000
|
||||
jsr common_overlay_L5000
|
||||
pha
|
||||
txa
|
||||
pha
|
||||
|
@ -14,6 +14,8 @@
|
||||
.addr arg2
|
||||
.endmacro
|
||||
|
||||
dummy1234 := $1234
|
||||
|
||||
;;; ==================================================
|
||||
;;; Resources from language card area
|
||||
|
||||
@ -37,3 +39,5 @@
|
||||
.include "ovl5.s" ; File Copy @ $7000-$77FF
|
||||
.include "ovl6.s" ; File Delete @ $7000-$77FF
|
||||
.include "ovl7.s" ; Selector (2/2) @ $7000-$77FF
|
||||
|
||||
common_overlay_L5000 := common_overlay::L5000
|
||||
|
@ -9,9 +9,7 @@
|
||||
.org $5000
|
||||
.proc common_overlay
|
||||
|
||||
dummy1234 := $1234
|
||||
|
||||
jmp L50B1
|
||||
L5000: jmp L50B1
|
||||
|
||||
L5003: .byte $02
|
||||
L5004: .byte $00,$17,$50
|
||||
|
Loading…
x
Reference in New Issue
Block a user