disable screen X Y normalisation debug output

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-21 00:11:50 +09:30
1 parent 0a0934ce63
commit 3f31054087
1 file changed
+8 -8
+8 -8
View File
@@ -193,10 +193,10 @@ add_40_to_screen_x:
normalise_screen_x_y: normalise_screen_x_y:
;; Normalise X and Y values ;; Normalise X and Y values
lda current_screen_x ;; lda current_screen_x
sta $0400 ;; sta $0400
lda current_screen_y ;; lda current_screen_y
sta $0401 ;; sta $0401
;; If X < 0, then make X = X + 40 (or 80, if previous line is linked) ;; If X < 0, then make X = X + 40 (or 80, if previous line is linked)
* lda current_screen_x * lda current_screen_x
@@ -253,10 +253,10 @@ x_not_too_big:
;; into account ;; into account
lda current_screen_x ;; lda current_screen_x
sta $0403 ;; sta $0403
lda current_screen_y ;; lda current_screen_y
sta $0404 ;; sta $0404
rts rts
calculate_screen_line_pointer: calculate_screen_line_pointer: