diff --git a/wip-hugo/routines/pixel/pixel.inc b/wip-hugo/routines/pixel/pixel.inc index 8f68222..91a68da 100644 --- a/wip-hugo/routines/pixel/pixel.inc +++ b/wip-hugo/routines/pixel/pixel.inc @@ -1,5 +1,5 @@ Y_pos = $FB - X_pos = $FC ; 16-bit value (uses FD) + X_pos = $FC byte_to_paint = $FE btp_mem_pos = $F9 ; 16-bit value (uses FA), byte to paint memory position C = $F7 ; 16-bit value (uses F8) diff --git a/wip-hugo/routines/pixel/pixel_draw.s b/wip-hugo/routines/pixel/pixel_draw.s index e53ca0d..8893e10 100755 --- a/wip-hugo/routines/pixel/pixel_draw.s +++ b/wip-hugo/routines/pixel/pixel_draw.s @@ -36,7 +36,7 @@ end__: AND X_pos STA btp_mem_pos - LDA X_pos + 1 + LDA #$00 STA btp_mem_pos + 1 ;;The y_pos adds offset because chunk offsets + inside chunk offset.