wip tables segment to be
This commit is contained in:
parent
3ab5006aa3
commit
0c63430dd9
3 changed files with 9 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
all : mandel.xex
|
all : mandel.xex
|
||||||
|
|
||||||
mandel.xex : mandel.o tables.o
|
mandel.xex : mandel.o tables.o atari-asm-xex.cfg
|
||||||
ld65 -C ./atari-asm-xex.cfg -o $@ $+
|
ld65 -C ./atari-asm-xex.cfg -o $@ mandel.o tables.o
|
||||||
|
|
||||||
%.o : %.s
|
%.o : %.s
|
||||||
ca65 -o $@ $<
|
ca65 -o $@ $<
|
||||||
|
|
|
@ -6,7 +6,8 @@ SYMBOLS {
|
||||||
}
|
}
|
||||||
MEMORY {
|
MEMORY {
|
||||||
ZP: file = "", define = yes, start = $0082, size = $007E;
|
ZP: file = "", define = yes, start = $0082, size = $007E;
|
||||||
MAIN: file = %O, define = yes, start = %S, size = $BC20 - %S;
|
#MAIN: file = %O, define = yes, start = %S, size = $BC20 - %S;
|
||||||
|
MAIN: file = %O, define = yes, start = %S, size = $4000 - %S;
|
||||||
}
|
}
|
||||||
FILES {
|
FILES {
|
||||||
%O: format = atari;
|
%O: format = atari;
|
||||||
|
|
10
mandel.s
10
mandel.s
|
@ -375,11 +375,11 @@ viewport_oy:
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
.macro sqr16_round dest, arg, shift
|
.macro sqr16_round dest, arg, shift
|
||||||
imul16_round dest, arg, arg, shift
|
;imul16_round dest, arg, arg, shift
|
||||||
;copy16 FR0, arg ; 12 cyc
|
copy16 FR0, arg ; 12 cyc
|
||||||
;jsr sqr16_func ; ? cyc
|
jsr sqr16_func ; ? cyc
|
||||||
;shift_round_16 FR2, shift
|
shift_round_16 FR2, shift
|
||||||
;copy16 dest, FR2 + 2 ; 12 cyc
|
copy16 dest, FR2 + 2 ; 12 cyc
|
||||||
.endmacro
|
.endmacro
|
||||||
|
|
||||||
; clobbers a, x
|
; clobbers a, x
|
||||||
|
|
Loading…
Reference in a new issue