wip tables segment to be

This commit is contained in:
Brooke Vibber 2024-12-29 20:37:58 -08:00
commit 0c63430dd9
3 changed files with 9 additions and 8 deletions

View file

@ -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