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
|
||||
|
||||
mandel.xex : mandel.o tables.o
|
||||
ld65 -C ./atari-asm-xex.cfg -o $@ $+
|
||||
mandel.xex : mandel.o tables.o atari-asm-xex.cfg
|
||||
ld65 -C ./atari-asm-xex.cfg -o $@ mandel.o tables.o
|
||||
|
||||
%.o : %.s
|
||||
ca65 -o $@ $<
|
||||
|
|
|
@ -6,7 +6,8 @@ SYMBOLS {
|
|||
}
|
||||
MEMORY {
|
||||
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 {
|
||||
%O: format = atari;
|
||||
|
|
10
mandel.s
10
mandel.s
|
@ -375,11 +375,11 @@ viewport_oy:
|
|||
.endmacro
|
||||
|
||||
.macro sqr16_round dest, arg, shift
|
||||
imul16_round dest, arg, arg, shift
|
||||
;copy16 FR0, arg ; 12 cyc
|
||||
;jsr sqr16_func ; ? cyc
|
||||
;shift_round_16 FR2, shift
|
||||
;copy16 dest, FR2 + 2 ; 12 cyc
|
||||
;imul16_round dest, arg, arg, shift
|
||||
copy16 FR0, arg ; 12 cyc
|
||||
jsr sqr16_func ; ? cyc
|
||||
shift_round_16 FR2, shift
|
||||
copy16 dest, FR2 + 2 ; 12 cyc
|
||||
.endmacro
|
||||
|
||||
; clobbers a, x
|
||||
|
|
Loading…
Reference in a new issue