From 2c3931c826b31aa2ba9493a47ef1446b98ee81a6 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Wed, 4 Sep 2013 08:30:18 -0700 Subject: [PATCH] Refactored rendering / expander code to free up a bunch of aux mem. --- Platform/Apple/virtual/src/raycast/expand.s | 3146 ++++++++--------- .../Apple/virtual/src/raycast/expand_hdr.i | 100 + .../Apple/virtual/src/raycast/genExpand.py | 16 +- Platform/Apple/virtual/src/raycast/render.i | 125 + Platform/Apple/virtual/src/raycast/render.s | 285 +- 5 files changed, 1826 insertions(+), 1846 deletions(-) create mode 100644 Platform/Apple/virtual/src/raycast/expand_hdr.i create mode 100644 Platform/Apple/virtual/src/raycast/render.i diff --git a/Platform/Apple/virtual/src/raycast/expand.s b/Platform/Apple/virtual/src/raycast/expand.s index 3ea5dd44..b666832d 100644 --- a/Platform/Apple/virtual/src/raycast/expand.s +++ b/Platform/Apple/virtual/src/raycast/expand.s @@ -1,14 +1,5 @@ .org $800 - .pc02 -pTex = $A -selectMip0 = $7003 -selectMip1 = selectMip0+3 -selectMip2 = selectMip1+3 -selectMip3 = selectMip2+3 -selectMip4 = selectMip3+3 -selectMip5 = selectMip4+3 -rowBlit = $B000 -ROW_STRIDE = 29 + .include "render.i" expand_vec1: .addr expand_0 @@ -142,125 +133,126 @@ expand_vec2: .addr expand_248 .addr expand_248 + .include "expand_hdr.i" e_45roooto: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr - sta 46*ROW_STRIDE + rowBlit,x - sta 47*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x + sta 47*BLIT_STRIDE + blitRoll,x bra e_48to e_45tooroto: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x bra e_47roto e_45torooto: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x bra e_48to e_45rotoroto: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr e_46toroto: - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_47roto: - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x lsr e_48to: - sta 48*ROW_STRIDE + rowBlit,x + sta 48*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 49*ROW_STRIDE + rowBlit,x + sta 49*BLIT_STRIDE + blitRoll,x rts e_r45tooroto: lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x bra e_47roto e_r45torooto: lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x bra e_48to e_t45orooto: lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x bra e_48to e_60roooto: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lsr - sta 61*ROW_STRIDE + rowBlit,x - sta 62*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x + sta 62*BLIT_STRIDE + blitRoll,x bra e_63to e_60tooroto: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x bra e_62roto e_r60otoroto: lsr - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x bra e_61toroto e_r60tooroto: lsr - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x bra e_62roto e_60rotoroto: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lsr e_61toroto: - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x e_t62roto: lda (pTex),y iny e_62roto: - sta 62*ROW_STRIDE + rowBlit,x + sta 62*BLIT_STRIDE + blitRoll,x lsr e_63to: - sta 63*ROW_STRIDE + rowBlit,x + sta 63*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 64*ROW_STRIDE + rowBlit,x + sta 64*BLIT_STRIDE + blitRoll,x rts e_t60orooto: lda (pTex),y iny - sta 60*ROW_STRIDE + rowBlit,x - sta 61*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x + sta 61*BLIT_STRIDE + blitRoll,x lsr - sta 62*ROW_STRIDE + rowBlit,x + sta 62*BLIT_STRIDE + blitRoll,x bra e_63to e_t60rotoroto: @@ -269,27 +261,27 @@ e_t60rotoroto: bra e_60rotoroto e_30roooto: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr - sta 31*ROW_STRIDE + rowBlit,x - sta 32*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x + sta 32*BLIT_STRIDE + blitRoll,x bra e_33to e_30rotoroto: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_32roto e_30torooto: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lsr - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x bra e_33to e_r30tooroto: @@ -297,100 +289,100 @@ e_r30tooroto: bra e_30tooroto e_30tooroto: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x e_t31oroto: lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x e_32roto: - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x lsr e_33to: - sta 33*ROW_STRIDE + rowBlit,x + sta 33*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 34*ROW_STRIDE + rowBlit,x + sta 34*BLIT_STRIDE + blitRoll,x rts e_r30torooto: lsr - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lsr - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x bra e_33to e_t30orooto: lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x lsr - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x bra e_33to e_45otooro: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x bra e_46tooro e_45rootoro: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr - sta 46*ROW_STRIDE + rowBlit,x - sta 47*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x + sta 47*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_48ro e_45toooro: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x bra e_47oro e_r45otooro: lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x bra e_46tooro e_r45torotoro: lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_48ro e_45rotooro: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr e_46tooro: - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x e_t47oro: lda (pTex),y iny e_47oro: - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x e_48ro: - sta 48*ROW_STRIDE + rowBlit,x + sta 48*BLIT_STRIDE + blitRoll,x lsr - sta 49*ROW_STRIDE + rowBlit,x + sta 49*BLIT_STRIDE + blitRoll,x rts e_t45orotoro: lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_48ro @@ -401,68 +393,68 @@ e_t45rotooro: bra e_45rotooro e_50orooto: - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x bra e_53to e_50roooto: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr - sta 51*ROW_STRIDE + rowBlit,x - sta 52*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x + sta 52*BLIT_STRIDE + blitRoll,x bra e_53to e_50tooroto: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x bra e_52roto e_50rotoroto: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr e_51toroto: - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_52roto: - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x lsr e_53to: - sta 53*ROW_STRIDE + rowBlit,x + sta 53*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 54*ROW_STRIDE + rowBlit,x + sta 54*BLIT_STRIDE + blitRoll,x rts e_r50tooroto: lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x bra e_52roto e_r50torooto: lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x bra e_53to e_t50orooto: lda (pTex),y iny - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x bra e_53to e_t50rotoroto: @@ -471,70 +463,70 @@ e_t50rotoroto: bra e_50rotoroto e_75orooto: - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x bra e_78to e_75tooroto: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x bra e_77roto e_75torooto: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x bra e_78to e_75rotoroto: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr e_76toroto: - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_77roto: - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x lsr e_78to: - sta 78*ROW_STRIDE + rowBlit,x + sta 78*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 79*ROW_STRIDE + rowBlit,x + sta 79*BLIT_STRIDE + blitRoll,x rts e_r75tooroto: lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x bra e_77roto e_r75torooto: lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x bra e_78to e_t75orooto: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x bra e_78to e_t75rotoroto: @@ -543,63 +535,63 @@ e_t75rotoroto: bra e_75rotoroto e_80roooto: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x - sta 82*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x + sta 82*BLIT_STRIDE + blitRoll,x bra e_83to e_80torooto: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x bra e_83to e_80rotoroto: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr e_81toroto: - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_82roto: - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lsr e_83to: - sta 83*ROW_STRIDE + rowBlit,x + sta 83*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 84*ROW_STRIDE + rowBlit,x + sta 84*BLIT_STRIDE + blitRoll,x rts e_r80tooroto: lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x bra e_82roto e_r80torooto: lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x bra e_83to e_t80orooto: lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x bra e_83to e_t80rotoroto: @@ -608,26 +600,26 @@ e_t80rotoroto: bra e_80rotoroto e_40orooto: - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lsr - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x bra e_43to e_40tooroto: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x e_t41oroto: lda (pTex),y iny - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x e_42roto: - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x lsr e_43to: - sta 43*ROW_STRIDE + rowBlit,x + sta 43*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 44*ROW_STRIDE + rowBlit,x + sta 44*BLIT_STRIDE + blitRoll,x rts e_r40tooroto: @@ -637,69 +629,69 @@ e_r40tooroto: e_t40orooto: lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lsr - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x bra e_43to e_t40rotoroto: lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_42roto e_50toooro: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x bra e_52oro e_r50otooro: lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x bra e_51tooro e_r50torotoro: lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_53ro e_50rotooro: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr e_51tooro: - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x e_t52oro: lda (pTex),y iny e_52oro: - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x e_53ro: - sta 53*ROW_STRIDE + rowBlit,x + sta 53*BLIT_STRIDE + blitRoll,x lsr - sta 54*ROW_STRIDE + rowBlit,x + sta 54*BLIT_STRIDE + blitRoll,x rts e_t50orotoro: lda (pTex),y iny - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_53ro @@ -707,63 +699,63 @@ e_t50orotoro: e_t50rootoro: lda (pTex),y iny - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr - sta 51*ROW_STRIDE + rowBlit,x - sta 52*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x + sta 52*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_53ro e_55rootoro: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr - sta 56*ROW_STRIDE + rowBlit,x - sta 57*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x + sta 57*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_58ro e_r55otooro: lsr - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x bra e_56tooro e_r55torotoro: lsr - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x lsr - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_58ro e_55rotooro: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr e_56tooro: - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x e_t57oro: lda (pTex),y iny e_57oro: - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x e_58ro: - sta 58*ROW_STRIDE + rowBlit,x + sta 58*BLIT_STRIDE + blitRoll,x lsr - sta 59*ROW_STRIDE + rowBlit,x + sta 59*BLIT_STRIDE + blitRoll,x rts e_t55orotoro: lda (pTex),y iny - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x lsr - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_58ro @@ -774,118 +766,118 @@ e_t55rotooro: bra e_55rotooro e_95rotoroto: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr e_96toroto: - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_97roto: - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lsr e_98to: - sta 98*ROW_STRIDE + rowBlit,x + sta 98*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 99*ROW_STRIDE + rowBlit,x + sta 99*BLIT_STRIDE + blitRoll,x rts e_r95torooto: lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x bra e_98to e_t95orooto: lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x bra e_98to e_35rootoo: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x bra e_37too e_r35ootoo: lsr - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x bra e_37too e_35torotoo: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_36rotoo: - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lsr e_37too: - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x e_t38o: lda (pTex),y iny - sta 38*ROW_STRIDE + rowBlit,x - sta 39*ROW_STRIDE + rowBlit,x + sta 38*BLIT_STRIDE + blitRoll,x + sta 39*BLIT_STRIDE + blitRoll,x rts e_t35orotoo: lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x bra e_36rotoo e_70roooto: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x - sta 72*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x + sta 72*BLIT_STRIDE + blitRoll,x bra e_73to e_70tooroto: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x bra e_72roto e_70torooto: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lsr - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x bra e_73to e_70rotoroto: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr e_71toroto: - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_72roto: - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lsr e_73to: - sta 73*ROW_STRIDE + rowBlit,x + sta 73*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 74*ROW_STRIDE + rowBlit,x + sta 74*BLIT_STRIDE + blitRoll,x rts e_r70otoroto: lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x bra e_71toroto e_t70rotoroto: @@ -894,26 +886,26 @@ e_t70rotoroto: bra e_70rotoroto e_25roooto: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr - sta 26*ROW_STRIDE + rowBlit,x - sta 27*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x + sta 27*BLIT_STRIDE + blitRoll,x bra e_28to e_25tooroto: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x e_t26oroto: lda (pTex),y iny - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x e_27roto: - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x lsr e_28to: - sta 28*ROW_STRIDE + rowBlit,x + sta 28*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 29*ROW_STRIDE + rowBlit,x + sta 29*BLIT_STRIDE + blitRoll,x rts e_r25tooroto: @@ -922,25 +914,25 @@ e_r25tooroto: e_r25torooto: lsr - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x lsr - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x bra e_28to e_t25orooto: lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x bra e_28to e_25rotooro: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr bra e_26tooro @@ -949,27 +941,27 @@ e_r25otooro: bra e_25otooro e_25otooro: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x e_26tooro: - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x e_t27oro: lda (pTex),y iny e_27oro: - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x e_28ro: - sta 28*ROW_STRIDE + rowBlit,x + sta 28*BLIT_STRIDE + blitRoll,x lsr - sta 29*ROW_STRIDE + rowBlit,x + sta 29*BLIT_STRIDE + blitRoll,x rts e_t25orotoro: lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_28ro @@ -977,57 +969,57 @@ e_t25orotoro: e_t25rootoro: lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr - sta 26*ROW_STRIDE + rowBlit,x - sta 27*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x + sta 27*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_28ro e_35roooto: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x bra e_37oto e_35rotoroto: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x lsr bra e_38to e_35torooto: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_36rooto e_35orooto: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x e_36rooto: - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lsr e_37oto: - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x e_38to: - sta 38*ROW_STRIDE + rowBlit,x + sta 38*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 39*ROW_STRIDE + rowBlit,x + sta 39*BLIT_STRIDE + blitRoll,x rts e_r35tooroto: lsr - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 36*ROW_STRIDE + rowBlit,x - sta 37*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x + sta 37*BLIT_STRIDE + blitRoll,x lsr bra e_38to @@ -1037,28 +1029,28 @@ e_t35orooto: bra e_35orooto e_85torooto: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_86rooto: - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lsr e_87oto: - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x e_88to: - sta 88*ROW_STRIDE + rowBlit,x + sta 88*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 89*ROW_STRIDE + rowBlit,x + sta 89*BLIT_STRIDE + blitRoll,x rts e_r85tooroto: lsr - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x - sta 87*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x + sta 87*BLIT_STRIDE + blitRoll,x lsr bra e_88to @@ -1069,126 +1061,126 @@ e_r85torooto: e_t85orooto: lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x bra e_86rooto e_t85rotoroto: lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x lsr bra e_88to e_40rootoro: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x - sta 42*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x + sta 42*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_43ro e_40toooro: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x bra e_42oro e_r40otooro: lsr - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x bra e_41tooro e_r40torotoro: lsr - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lsr - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_43ro e_40rotooro: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr e_41tooro: - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x e_t42oro: lda (pTex),y iny e_42oro: - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x e_43ro: - sta 43*ROW_STRIDE + rowBlit,x + sta 43*BLIT_STRIDE + blitRoll,x lsr - sta 44*ROW_STRIDE + rowBlit,x + sta 44*BLIT_STRIDE + blitRoll,x rts e_t40orotoro: lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lsr - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_43ro e_90roooto: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x - sta 92*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x + sta 92*BLIT_STRIDE + blitRoll,x bra e_93to e_90tooroto: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92roto e_90rotoroto: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_92roto: - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x lsr e_93to: - sta 93*ROW_STRIDE + rowBlit,x + sta 93*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 94*ROW_STRIDE + rowBlit,x + sta 94*BLIT_STRIDE + blitRoll,x rts e_r90tooroto: lsr - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92roto e_t90orooto: lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lsr - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x bra e_93to e_t90rotoroto: @@ -1197,153 +1189,153 @@ e_t90rotoroto: bra e_90rotoroto e_35toooro: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x bra e_37oro e_r35otooro: lsr - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x bra e_36tooro e_r35torotoro: lsr - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lsr - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_38ro e_35rotooro: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr e_36tooro: - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x e_t37oro: lda (pTex),y iny e_37oro: - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x e_38ro: - sta 38*ROW_STRIDE + rowBlit,x + sta 38*BLIT_STRIDE + blitRoll,x lsr - sta 39*ROW_STRIDE + rowBlit,x + sta 39*BLIT_STRIDE + blitRoll,x rts e_t35rootoro: lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x - sta 37*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x + sta 37*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_38ro e_35tooroo: - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x e_t36oroo: lda (pTex),y iny e_36oroo: - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x e_37roo: - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x lsr - sta 38*ROW_STRIDE + rowBlit,x - sta 39*ROW_STRIDE + rowBlit,x + sta 38*BLIT_STRIDE + blitRoll,x + sta 39*BLIT_STRIDE + blitRoll,x rts e_t35ooroo: lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x bra e_36oroo e_r30otooro: lsr - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x bra e_31tooro e_30rotooro: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr e_31tooro: - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_32oro: - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x e_33ro: - sta 33*ROW_STRIDE + rowBlit,x + sta 33*BLIT_STRIDE + blitRoll,x lsr - sta 34*ROW_STRIDE + rowBlit,x + sta 34*BLIT_STRIDE + blitRoll,x rts e_t30orotoro: lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x lsr - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_33ro e_r75otooro: lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x bra e_76tooro e_r75torotoro: lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_78ro e_75rotooro: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr e_76tooro: - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_77oro: - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x e_78ro: - sta 78*ROW_STRIDE + rowBlit,x + sta 78*BLIT_STRIDE + blitRoll,x lsr - sta 79*ROW_STRIDE + rowBlit,x + sta 79*BLIT_STRIDE + blitRoll,x rts e_t75oooro: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x bra e_77oro e_t75orotoro: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_78ro @@ -1351,69 +1343,69 @@ e_t75orotoro: e_t75rootoro: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr - sta 76*ROW_STRIDE + rowBlit,x - sta 77*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x + sta 77*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_78ro e_80rootoro: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x - sta 82*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x + sta 82*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_83ro e_80toooro: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x bra e_82oro e_r80otooro: lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x bra e_81tooro e_r80torotoro: lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_83ro e_80rotooro: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr e_81tooro: - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_82oro: - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x e_83ro: - sta 83*ROW_STRIDE + rowBlit,x + sta 83*BLIT_STRIDE + blitRoll,x lsr - sta 84*ROW_STRIDE + rowBlit,x + sta 84*BLIT_STRIDE + blitRoll,x rts e_t80orotoro: lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_83ro @@ -1424,29 +1416,29 @@ e_t80rotooro: bra e_80rotooro e_20roooto: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lsr - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x bra e_22oto e_20torooto: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_21rooto e_20orooto: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x e_21rooto: - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x lsr e_22oto: - sta 22*ROW_STRIDE + rowBlit,x + sta 22*BLIT_STRIDE + blitRoll,x e_23to: - sta 23*ROW_STRIDE + rowBlit,x + sta 23*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 24*ROW_STRIDE + rowBlit,x + sta 24*BLIT_STRIDE + blitRoll,x rts e_t20orooto: @@ -1455,112 +1447,112 @@ e_t20orooto: bra e_20orooto e_55orooto: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x bra e_56rooto e_55roooto: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x bra e_57oto e_55rotoroto: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lsr bra e_58to e_55torooto: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_56rooto: - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x lsr e_57oto: - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x e_58to: - sta 58*ROW_STRIDE + rowBlit,x + sta 58*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 59*ROW_STRIDE + rowBlit,x + sta 59*BLIT_STRIDE + blitRoll,x rts e_r55otoroto: lsr - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lsr bra e_58to e_r55tooroto: lsr - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 56*ROW_STRIDE + rowBlit,x - sta 57*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x + sta 57*BLIT_STRIDE + blitRoll,x lsr bra e_58to e_80rootoo: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x bra e_82too e_80torotoo: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_81rotoo: - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lsr e_82too: - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 83*ROW_STRIDE + rowBlit,x - sta 84*ROW_STRIDE + rowBlit,x + sta 83*BLIT_STRIDE + blitRoll,x + sta 84*BLIT_STRIDE + blitRoll,x rts e_r80ootoo: lsr - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x bra e_82too e_t80orotoo: lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x bra e_81rotoo e_15rotooro: - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lsr bra e_16tooro e_15otooro: - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x e_16tooro: - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x e_t17oro: lda (pTex),y iny e_17oro: - sta 17*ROW_STRIDE + rowBlit,x + sta 17*BLIT_STRIDE + blitRoll,x e_18ro: - sta 18*ROW_STRIDE + rowBlit,x + sta 18*BLIT_STRIDE + blitRoll,x lsr - sta 19*ROW_STRIDE + rowBlit,x + sta 19*BLIT_STRIDE + blitRoll,x rts e_r15otooro: @@ -1570,59 +1562,59 @@ e_r15otooro: e_t15oooro: lda (pTex),y iny - sta 15*ROW_STRIDE + rowBlit,x - sta 16*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x + sta 16*BLIT_STRIDE + blitRoll,x bra e_17oro e_45rootoo: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr e_46otoo: - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x e_47too: - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 48*ROW_STRIDE + rowBlit,x - sta 49*ROW_STRIDE + rowBlit,x + sta 48*BLIT_STRIDE + blitRoll,x + sta 49*BLIT_STRIDE + blitRoll,x rts e_r45ootoo: lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x bra e_46otoo e_t45orotoo: lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lsr bra e_47too e_r75ootoo: lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x bra e_76otoo e_75rootoo: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr e_76otoo: - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x e_77too: - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 78*ROW_STRIDE + rowBlit,x - sta 79*ROW_STRIDE + rowBlit,x + sta 78*BLIT_STRIDE + blitRoll,x + sta 79*BLIT_STRIDE + blitRoll,x rts e_t75orotoo: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr bra e_77too @@ -1637,44 +1629,44 @@ e_r70otooro: e_r70torotoro: lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lsr - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_73ro e_70otooro: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x e_71tooro: - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_72oro: - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x e_73ro: - sta 73*ROW_STRIDE + rowBlit,x + sta 73*BLIT_STRIDE + blitRoll,x lsr - sta 74*ROW_STRIDE + rowBlit,x + sta 74*BLIT_STRIDE + blitRoll,x rts e_t70oooro: lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x bra e_72oro e_t70rootoro: lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x - sta 72*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x + sta 72*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_73ro @@ -1682,78 +1674,78 @@ e_t70rootoro: e_t70rotooro: lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr bra e_71tooro e_20rootoo: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lsr e_21otoo: - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x e_22too: - sta 22*ROW_STRIDE + rowBlit,x + sta 22*BLIT_STRIDE + blitRoll,x e_t23o: lda (pTex),y iny - sta 23*ROW_STRIDE + rowBlit,x - sta 24*ROW_STRIDE + rowBlit,x + sta 23*BLIT_STRIDE + blitRoll,x + sta 24*BLIT_STRIDE + blitRoll,x rts e_t20orotoo: lda (pTex),y iny - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x lsr bra e_22too e_85rotooro: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x bra e_88ro e_r85otooro: lsr - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x bra e_88ro e_85rootoro: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x e_87toro: - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_88ro: - sta 88*ROW_STRIDE + rowBlit,x + sta 88*BLIT_STRIDE + blitRoll,x lsr - sta 89*ROW_STRIDE + rowBlit,x + sta 89*BLIT_STRIDE + blitRoll,x rts e_r85torotoro: lsr - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lsr bra e_87toro e_t85orotoro: lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lsr bra e_87toro @@ -1763,37 +1755,37 @@ e_t85rootoro: bra e_85rootoro e_90rotooro: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x bra e_93ro e_r90otooro: lsr - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x bra e_93ro e_90torotoro: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lsr e_92toro: - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_93ro: - sta 93*ROW_STRIDE + rowBlit,x + sta 93*BLIT_STRIDE + blitRoll,x lsr - sta 94*ROW_STRIDE + rowBlit,x + sta 94*BLIT_STRIDE + blitRoll,x rts e_r90torotoro: @@ -1803,35 +1795,35 @@ e_r90torotoro: e_t90rootoro: lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92toro e_50rootoo: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr bra e_51otoo e_50torotoo: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lsr bra e_52too e_50ootoo: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x e_51otoo: - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x e_52too: - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x e_t53o: lda (pTex),y iny - sta 53*ROW_STRIDE + rowBlit,x - sta 54*ROW_STRIDE + rowBlit,x + sta 53*BLIT_STRIDE + blitRoll,x + sta 54*BLIT_STRIDE + blitRoll,x rts e_r50ootoo: @@ -1841,47 +1833,47 @@ e_r50ootoo: e_t50orotoo: lda (pTex),y iny - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lsr bra e_52too e_100roooto: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x bra e_102oto e_100tooroto: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 101*ROW_STRIDE + rowBlit,x - sta 102*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x + sta 102*BLIT_STRIDE + blitRoll,x lsr bra e_103to e_100orooto: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x e_101rooto: - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x lsr e_102oto: - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x e_103to: - sta 103*ROW_STRIDE + rowBlit,x + sta 103*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 104*ROW_STRIDE + rowBlit,x + sta 104*BLIT_STRIDE + blitRoll,x rts e_r100tooroto: lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 101*ROW_STRIDE + rowBlit,x - sta 102*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x + sta 102*BLIT_STRIDE + blitRoll,x lsr bra e_103to @@ -1891,17 +1883,17 @@ e_t100orooto: bra e_100orooto e_15orooto: - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x e_16rooto: - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x lsr e_17oto: - sta 17*ROW_STRIDE + rowBlit,x + sta 17*BLIT_STRIDE + blitRoll,x e_18to: - sta 18*ROW_STRIDE + rowBlit,x + sta 18*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 19*ROW_STRIDE + rowBlit,x + sta 19*BLIT_STRIDE + blitRoll,x rts e_t15orooto: @@ -1910,26 +1902,26 @@ e_t15orooto: bra e_15orooto e_40ooroo: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x bra e_41oroo e_40tooroo: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_41oroo: - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x e_42roo: - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x lsr - sta 43*ROW_STRIDE + rowBlit,x - sta 44*ROW_STRIDE + rowBlit,x + sta 43*BLIT_STRIDE + blitRoll,x + sta 44*BLIT_STRIDE + blitRoll,x rts e_r40otoroo: lsr - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_42roo @@ -1937,114 +1929,114 @@ e_r40otoroo: e_t40ooroo: lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x bra e_41oroo e_95toooro: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x bra e_97oro e_r95otooro: lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x bra e_96tooro e_95rotooro: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr e_96tooro: - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_97oro: - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x e_98ro: - sta 98*ROW_STRIDE + rowBlit,x + sta 98*BLIT_STRIDE + blitRoll,x lsr - sta 99*ROW_STRIDE + rowBlit,x + sta 99*BLIT_STRIDE + blitRoll,x rts e_t95orotoro: lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_98ro e_105torooto: - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x lsr - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x bra e_108to e_105tooroto: - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 106*ROW_STRIDE + rowBlit,x - sta 107*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x + sta 107*BLIT_STRIDE + blitRoll,x lsr e_108to: - sta 108*ROW_STRIDE + rowBlit,x + sta 108*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 109*ROW_STRIDE + rowBlit,x + sta 109*BLIT_STRIDE + blitRoll,x rts e_r15otoroo: lsr - sta 15*ROW_STRIDE + rowBlit,x - sta 16*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x + sta 16*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_17roo e_15tooroo: - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_16oroo: - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x e_17roo: - sta 17*ROW_STRIDE + rowBlit,x + sta 17*BLIT_STRIDE + blitRoll,x lsr - sta 18*ROW_STRIDE + rowBlit,x - sta 19*ROW_STRIDE + rowBlit,x + sta 18*BLIT_STRIDE + blitRoll,x + sta 19*BLIT_STRIDE + blitRoll,x rts e_t15ooroo: lda (pTex),y iny - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x bra e_16oroo e_r25ootoo: lsr - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x bra e_26otoo e_25rootoo: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr e_26otoo: - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x e_27too: - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x e_t28o: lda (pTex),y iny - sta 28*ROW_STRIDE + rowBlit,x - sta 29*ROW_STRIDE + rowBlit,x + sta 28*BLIT_STRIDE + blitRoll,x + sta 29*BLIT_STRIDE + blitRoll,x rts e_t25rootoo: @@ -2054,23 +2046,23 @@ e_t25rootoo: e_r45otoroo: lsr - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_47roo e_45tooroo: - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_46oroo: - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x e_47roo: - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x lsr - sta 48*ROW_STRIDE + rowBlit,x - sta 49*ROW_STRIDE + rowBlit,x + sta 48*BLIT_STRIDE + blitRoll,x + sta 49*BLIT_STRIDE + blitRoll,x rts e_r45tooroo: @@ -2080,34 +2072,34 @@ e_r45tooroo: e_t45ooroo: lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x bra e_46oroo e_r55ootoo: lsr - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x bra e_56otoo e_t55orotoo: lda (pTex),y iny - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x lsr bra e_57too e_55rootoo: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr e_56otoo: - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x e_57too: - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x e_t58o: lda (pTex),y iny - sta 58*ROW_STRIDE + rowBlit,x - sta 59*ROW_STRIDE + rowBlit,x + sta 58*BLIT_STRIDE + blitRoll,x + sta 59*BLIT_STRIDE + blitRoll,x rts e_t55rootoo: @@ -2117,68 +2109,68 @@ e_t55rootoo: e_r100otoroo: lsr - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_102roo e_100tooroo: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_101oroo: - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x e_102roo: - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x lsr - sta 103*ROW_STRIDE + rowBlit,x - sta 104*ROW_STRIDE + rowBlit,x + sta 103*BLIT_STRIDE + blitRoll,x + sta 104*BLIT_STRIDE + blitRoll,x rts e_t100ooroo: lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x bra e_101oroo e_t40orotoo: lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lsr bra e_42too e_40rootoo: - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x e_42too: - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x e_t43o: lda (pTex),y iny - sta 43*ROW_STRIDE + rowBlit,x - sta 44*ROW_STRIDE + rowBlit,x + sta 43*BLIT_STRIDE + blitRoll,x + sta 44*BLIT_STRIDE + blitRoll,x rts e_r50tooroo: lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_51oroo e_50ooroo: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x e_51oroo: - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x e_52roo: - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x lsr - sta 53*ROW_STRIDE + rowBlit,x - sta 54*ROW_STRIDE + rowBlit,x + sta 53*BLIT_STRIDE + blitRoll,x + sta 54*BLIT_STRIDE + blitRoll,x rts e_t50ooroo: @@ -2191,40 +2183,40 @@ e_r70tooroo: bra e_70tooroo e_70tooroo: - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_71oroo: - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x e_72roo: - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lsr - sta 73*ROW_STRIDE + rowBlit,x - sta 74*ROW_STRIDE + rowBlit,x + sta 73*BLIT_STRIDE + blitRoll,x + sta 74*BLIT_STRIDE + blitRoll,x rts e_t70ooroo: lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x bra e_71oroo e_90otooo: - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_92oo: - sta 92*ROW_STRIDE + rowBlit,x - sta 93*ROW_STRIDE + rowBlit,x - sta 94*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x + sta 93*BLIT_STRIDE + blitRoll,x + sta 94*BLIT_STRIDE + blitRoll,x rts e_90toooo: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92oo e_r90otooo: @@ -2232,62 +2224,62 @@ e_r90otooo: bra e_90otooo e_90tooroo: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_91oroo: - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x e_92roo: - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x lsr - sta 93*ROW_STRIDE + rowBlit,x - sta 94*ROW_STRIDE + rowBlit,x + sta 93*BLIT_STRIDE + blitRoll,x + sta 94*BLIT_STRIDE + blitRoll,x rts e_t90ooroo: lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x bra e_91oroo e_25tooroo: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_26oroo e_25ooroo: - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x e_26oroo: - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x e_27roo: - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x lsr - sta 28*ROW_STRIDE + rowBlit,x - sta 29*ROW_STRIDE + rowBlit,x + sta 28*BLIT_STRIDE + blitRoll,x + sta 29*BLIT_STRIDE + blitRoll,x rts e_85tooroo: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_86oroo e_85ooroo: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x e_86oroo: - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x e_87roo: - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x lsr - sta 88*ROW_STRIDE + rowBlit,x - sta 89*ROW_STRIDE + rowBlit,x + sta 88*BLIT_STRIDE + blitRoll,x + sta 89*BLIT_STRIDE + blitRoll,x rts e_r85otoroo: lsr - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_87roo @@ -2298,91 +2290,91 @@ e_t85ooroo: bra e_85ooroo e_105rotooro: - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr e_106tooro: - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_107oro: - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x e_108ro: - sta 108*ROW_STRIDE + rowBlit,x + sta 108*BLIT_STRIDE + blitRoll,x lsr - sta 109*ROW_STRIDE + rowBlit,x + sta 109*BLIT_STRIDE + blitRoll,x rts e_r105otooro: lsr - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x bra e_106tooro e_t105oooro: lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x bra e_107oro e_65rootoro: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x - sta 67*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x + sta 67*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_68ro e_65toooro: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x bra e_67oro e_65rotooro: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr e_66tooro: - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_67oro: - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x e_68ro: - sta 68*ROW_STRIDE + rowBlit,x + sta 68*BLIT_STRIDE + blitRoll,x lsr - sta 69*ROW_STRIDE + rowBlit,x + sta 69*BLIT_STRIDE + blitRoll,x rts e_r65torotoro: lsr - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lsr - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_68ro e_r85ootoo: lsr - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x bra e_86otoo e_85rootoo: - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr e_86otoo: - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x e_87too: - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 88*ROW_STRIDE + rowBlit,x - sta 89*ROW_STRIDE + rowBlit,x + sta 88*BLIT_STRIDE + blitRoll,x + sta 89*BLIT_STRIDE + blitRoll,x rts e_t85rootoo: @@ -2391,20 +2383,20 @@ e_t85rootoo: bra e_85rootoo e_110rootoo: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lsr bra e_111otoo e_110ootoo: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x e_111otoo: - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x e_112too: - sta 112*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 113*ROW_STRIDE + rowBlit,x - sta 114*ROW_STRIDE + rowBlit,x + sta 113*BLIT_STRIDE + blitRoll,x + sta 114*BLIT_STRIDE + blitRoll,x rts e_r110ootoo: @@ -2414,44 +2406,44 @@ e_r110ootoo: e_t110orotoo: lda (pTex),y iny - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lsr bra e_112too e_30tooroo: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_31oroo: - sta 31*ROW_STRIDE + rowBlit,x - sta 32*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x + sta 32*BLIT_STRIDE + blitRoll,x lsr - sta 33*ROW_STRIDE + rowBlit,x - sta 34*ROW_STRIDE + rowBlit,x + sta 33*BLIT_STRIDE + blitRoll,x + sta 34*BLIT_STRIDE + blitRoll,x rts e_t30ooroo: lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x bra e_31oroo e_95rootoo: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr bra e_96otoo e_95ootoo: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x e_96otoo: - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x e_97too: - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 98*ROW_STRIDE + rowBlit,x - sta 99*ROW_STRIDE + rowBlit,x + sta 98*BLIT_STRIDE + blitRoll,x + sta 99*BLIT_STRIDE + blitRoll,x rts e_r95ootoo: @@ -2461,55 +2453,55 @@ e_r95ootoo: e_t95orotoo: lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lsr bra e_97too e_20toooro: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x bra e_22oro e_20rotooro: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lsr e_21tooro: - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x e_t22oro: lda (pTex),y iny e_22oro: - sta 22*ROW_STRIDE + rowBlit,x + sta 22*BLIT_STRIDE + blitRoll,x e_23ro: - sta 23*ROW_STRIDE + rowBlit,x + sta 23*BLIT_STRIDE + blitRoll,x lsr - sta 24*ROW_STRIDE + rowBlit,x + sta 24*BLIT_STRIDE + blitRoll,x rts e_r20otooro: lsr - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x bra e_21tooro e_120roooto: - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lsr - sta 121*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x bra e_122oto e_120orooto: - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x lsr e_122oto: - sta 122*ROW_STRIDE + rowBlit,x - sta 123*ROW_STRIDE + rowBlit,x + sta 122*BLIT_STRIDE + blitRoll,x + sta 123*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 124*ROW_STRIDE + rowBlit,x + sta 124*BLIT_STRIDE + blitRoll,x rts e_t120orooto: @@ -2519,20 +2511,20 @@ e_t120orooto: e_r15ootoo: lsr - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x bra e_16otoo e_15rootoo: - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lsr e_16otoo: - sta 16*ROW_STRIDE + rowBlit,x - sta 17*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x + sta 17*BLIT_STRIDE + blitRoll,x e_t18o: lda (pTex),y iny - sta 18*ROW_STRIDE + rowBlit,x - sta 19*ROW_STRIDE + rowBlit,x + sta 18*BLIT_STRIDE + blitRoll,x + sta 19*BLIT_STRIDE + blitRoll,x rts e_t15rootoo: @@ -2541,14 +2533,14 @@ e_t15rootoo: bra e_15rootoo e_20otooo: - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_22oo: - sta 22*ROW_STRIDE + rowBlit,x - sta 23*ROW_STRIDE + rowBlit,x - sta 24*ROW_STRIDE + rowBlit,x + sta 22*BLIT_STRIDE + blitRoll,x + sta 23*BLIT_STRIDE + blitRoll,x + sta 24*BLIT_STRIDE + blitRoll,x rts e_r20otooo: @@ -2556,20 +2548,20 @@ e_r20otooo: bra e_20otooo e_25orooo: - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr bra e_27oo e_25otooo: - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_27oo: - sta 27*ROW_STRIDE + rowBlit,x - sta 28*ROW_STRIDE + rowBlit,x - sta 29*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x + sta 28*BLIT_STRIDE + blitRoll,x + sta 29*BLIT_STRIDE + blitRoll,x rts e_r25otooo: @@ -2577,20 +2569,20 @@ e_r25otooo: bra e_25otooo e_60orooo: - sta 60*ROW_STRIDE + rowBlit,x - sta 61*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x + sta 61*BLIT_STRIDE + blitRoll,x lsr bra e_62oo e_60otooo: - sta 60*ROW_STRIDE + rowBlit,x - sta 61*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x + sta 61*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_62oo: - sta 62*ROW_STRIDE + rowBlit,x - sta 63*ROW_STRIDE + rowBlit,x - sta 64*ROW_STRIDE + rowBlit,x + sta 62*BLIT_STRIDE + blitRoll,x + sta 63*BLIT_STRIDE + blitRoll,x + sta 64*BLIT_STRIDE + blitRoll,x rts e_r60otooo: @@ -2598,43 +2590,43 @@ e_r60otooo: bra e_60otooo e_20tooroo: - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_21oroo: - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x e_22roo: - sta 22*ROW_STRIDE + rowBlit,x + sta 22*BLIT_STRIDE + blitRoll,x lsr - sta 23*ROW_STRIDE + rowBlit,x - sta 24*ROW_STRIDE + rowBlit,x + sta 23*BLIT_STRIDE + blitRoll,x + sta 24*BLIT_STRIDE + blitRoll,x rts e_t20ooroo: lda (pTex),y iny - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x bra e_21oroo e_r80otoroo: lsr - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_82roo e_80tooroo: - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_81oroo: - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x e_82roo: - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lsr - sta 83*ROW_STRIDE + rowBlit,x - sta 84*ROW_STRIDE + rowBlit,x + sta 83*BLIT_STRIDE + blitRoll,x + sta 84*BLIT_STRIDE + blitRoll,x rts e_r80tooroo: @@ -2643,100 +2635,100 @@ e_r80tooroo: e_r95otoroo: lsr - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_97roo e_95tooroo: - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_96oroo: - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x e_97roo: - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lsr - sta 98*ROW_STRIDE + rowBlit,x - sta 99*ROW_STRIDE + rowBlit,x + sta 98*BLIT_STRIDE + blitRoll,x + sta 99*BLIT_STRIDE + blitRoll,x rts e_t95ooroo: lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x bra e_96oroo e_90rootoo: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92too e_90torotoo: - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_91rotoo: - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lsr e_92too: - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 93*ROW_STRIDE + rowBlit,x - sta 94*ROW_STRIDE + rowBlit,x + sta 93*BLIT_STRIDE + blitRoll,x + sta 94*BLIT_STRIDE + blitRoll,x rts e_r90ootoo: lsr - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x bra e_92too e_t90orotoo: lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x bra e_91rotoo e_r70torotoo: lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_71rotoo: - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lsr e_72too: - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 73*ROW_STRIDE + rowBlit,x - sta 74*ROW_STRIDE + rowBlit,x + sta 73*BLIT_STRIDE + blitRoll,x + sta 74*BLIT_STRIDE + blitRoll,x rts e_t70orotoo: lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x bra e_71rotoo e_105ooroo: - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x e_106oroo: - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x e_107roo: - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x lsr - sta 108*ROW_STRIDE + rowBlit,x - sta 109*ROW_STRIDE + rowBlit,x + sta 108*BLIT_STRIDE + blitRoll,x + sta 109*BLIT_STRIDE + blitRoll,x rts e_r105tooroo: lsr - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_106oroo @@ -2747,26 +2739,26 @@ e_t105ooroo: bra e_105ooroo e_110tooroo: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_111oroo e_110ooroo: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x e_111oroo: - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x e_112roo: - sta 112*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x lsr - sta 113*ROW_STRIDE + rowBlit,x - sta 114*ROW_STRIDE + rowBlit,x + sta 113*BLIT_STRIDE + blitRoll,x + sta 114*BLIT_STRIDE + blitRoll,x rts e_r110otoroo: lsr - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_112roo @@ -2777,20 +2769,20 @@ e_t110ooroo: bra e_110ooroo e_55tooroo: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_56oroo e_55ooroo: - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x e_56oroo: - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x e_57roo: - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lsr - sta 58*ROW_STRIDE + rowBlit,x - sta 59*ROW_STRIDE + rowBlit,x + sta 58*BLIT_STRIDE + blitRoll,x + sta 59*BLIT_STRIDE + blitRoll,x rts e_t55ooroo: @@ -2800,31 +2792,31 @@ e_t55ooroo: e_r100otooro: lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x bra e_101tooro e_100rotooro: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr e_101tooro: - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_102oro: - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x e_103ro: - sta 103*ROW_STRIDE + rowBlit,x + sta 103*BLIT_STRIDE + blitRoll,x lsr - sta 104*ROW_STRIDE + rowBlit,x + sta 104*BLIT_STRIDE + blitRoll,x rts e_t100orotoro: lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x lsr - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_103ro @@ -2832,29 +2824,29 @@ e_t100orotoro: e_t100rootoro: lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr - sta 101*ROW_STRIDE + rowBlit,x - sta 102*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x + sta 102*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_103ro e_100orooo: - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x lsr bra e_102oo e_100otooo: - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_102oo: - sta 102*ROW_STRIDE + rowBlit,x - sta 103*ROW_STRIDE + rowBlit,x - sta 104*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x + sta 103*BLIT_STRIDE + blitRoll,x + sta 104*BLIT_STRIDE + blitRoll,x rts e_r100otooo: @@ -2862,31 +2854,31 @@ e_r100otooo: bra e_100otooo e_105otooo: - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_107oo: - sta 107*ROW_STRIDE + rowBlit,x - sta 108*ROW_STRIDE + rowBlit,x - sta 109*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x + sta 108*BLIT_STRIDE + blitRoll,x + sta 109*BLIT_STRIDE + blitRoll,x rts e_115orooo: - sta 115*ROW_STRIDE + rowBlit,x - sta 116*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x + sta 116*BLIT_STRIDE + blitRoll,x lsr bra e_117oo e_115otooo: - sta 115*ROW_STRIDE + rowBlit,x - sta 116*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x + sta 116*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_117oo: - sta 117*ROW_STRIDE + rowBlit,x - sta 118*ROW_STRIDE + rowBlit,x - sta 119*ROW_STRIDE + rowBlit,x + sta 117*BLIT_STRIDE + blitRoll,x + sta 118*BLIT_STRIDE + blitRoll,x + sta 119*BLIT_STRIDE + blitRoll,x rts e_r115otooo: @@ -2894,20 +2886,20 @@ e_r115otooo: bra e_115otooo e_15orooo: - sta 15*ROW_STRIDE + rowBlit,x - sta 16*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x + sta 16*BLIT_STRIDE + blitRoll,x lsr bra e_17oo e_15otooo: - sta 15*ROW_STRIDE + rowBlit,x - sta 16*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x + sta 16*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_17oo: - sta 17*ROW_STRIDE + rowBlit,x - sta 18*ROW_STRIDE + rowBlit,x - sta 19*ROW_STRIDE + rowBlit,x + sta 17*BLIT_STRIDE + blitRoll,x + sta 18*BLIT_STRIDE + blitRoll,x + sta 19*BLIT_STRIDE + blitRoll,x rts e_r15otooo: @@ -2916,46 +2908,46 @@ e_r15otooo: e_r30ootoo: lsr - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x bra e_31otoo e_30rootoo: - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr e_31otoo: - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x e_32too: - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x e_t33o: lda (pTex),y iny - sta 33*ROW_STRIDE + rowBlit,x - sta 34*ROW_STRIDE + rowBlit,x + sta 33*BLIT_STRIDE + blitRoll,x + sta 34*BLIT_STRIDE + blitRoll,x rts e_t30orotoo: lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x lsr bra e_32too e_55orooo: - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x lsr bra e_57oo e_55otooo: - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_57oo: - sta 57*ROW_STRIDE + rowBlit,x - sta 58*ROW_STRIDE + rowBlit,x - sta 59*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x + sta 58*BLIT_STRIDE + blitRoll,x + sta 59*BLIT_STRIDE + blitRoll,x rts e_r55otooo: @@ -2963,20 +2955,20 @@ e_r55otooo: bra e_55otooo e_70orooo: - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x lsr bra e_72oo e_70otooo: - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_72oo: - sta 72*ROW_STRIDE + rowBlit,x - sta 73*ROW_STRIDE + rowBlit,x - sta 74*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x + sta 73*BLIT_STRIDE + blitRoll,x + sta 74*BLIT_STRIDE + blitRoll,x rts e_r70otooo: @@ -2984,36 +2976,36 @@ e_r70otooo: bra e_70otooo e_80orooo: - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lsr bra e_82oo e_80otooo: - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_82oo: - sta 82*ROW_STRIDE + rowBlit,x - sta 83*ROW_STRIDE + rowBlit,x - sta 84*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x + sta 83*BLIT_STRIDE + blitRoll,x + sta 84*BLIT_STRIDE + blitRoll,x rts e_65rootoo: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr bra e_66otoo e_65ootoo: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x e_66otoo: - sta 66*ROW_STRIDE + rowBlit,x - sta 67*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x + sta 67*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 68*ROW_STRIDE + rowBlit,x - sta 69*ROW_STRIDE + rowBlit,x + sta 68*BLIT_STRIDE + blitRoll,x + sta 69*BLIT_STRIDE + blitRoll,x rts e_r65ootoo: @@ -3021,55 +3013,55 @@ e_r65ootoo: bra e_65ootoo e_10otooo: - sta 10*ROW_STRIDE + rowBlit,x - sta 11*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x + sta 11*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_12oo e_10orooo: - sta 10*ROW_STRIDE + rowBlit,x - sta 11*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x + sta 11*BLIT_STRIDE + blitRoll,x lsr e_12oo: - sta 12*ROW_STRIDE + rowBlit,x - sta 13*ROW_STRIDE + rowBlit,x - sta 14*ROW_STRIDE + rowBlit,x + sta 12*BLIT_STRIDE + blitRoll,x + sta 13*BLIT_STRIDE + blitRoll,x + sta 14*BLIT_STRIDE + blitRoll,x rts e_30otooo: - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_32oo e_30orooo: - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x lsr e_32oo: - sta 32*ROW_STRIDE + rowBlit,x - sta 33*ROW_STRIDE + rowBlit,x - sta 34*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x + sta 33*BLIT_STRIDE + blitRoll,x + sta 34*BLIT_STRIDE + blitRoll,x rts e_10roooto: - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x lsr - sta 11*ROW_STRIDE + rowBlit,x + sta 11*BLIT_STRIDE + blitRoll,x bra e_12oto e_10orooto: - sta 10*ROW_STRIDE + rowBlit,x - sta 11*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x + sta 11*BLIT_STRIDE + blitRoll,x lsr e_12oto: - sta 12*ROW_STRIDE + rowBlit,x - sta 13*ROW_STRIDE + rowBlit,x + sta 12*BLIT_STRIDE + blitRoll,x + sta 13*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 14*ROW_STRIDE + rowBlit,x + sta 14*BLIT_STRIDE + blitRoll,x rts e_t10orooto: @@ -3078,48 +3070,48 @@ e_t10orooto: bra e_10orooto e_110rotooro: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lsr e_111tooro: - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_112oro: - sta 112*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x e_113ro: - sta 113*ROW_STRIDE + rowBlit,x + sta 113*BLIT_STRIDE + blitRoll,x lsr - sta 114*ROW_STRIDE + rowBlit,x + sta 114*BLIT_STRIDE + blitRoll,x rts e_110toooro: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x bra e_112oro e_r110otooro: lsr - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x bra e_111tooro e_115roooto: - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lsr - sta 116*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x bra e_117oto e_115orooto: - sta 115*ROW_STRIDE + rowBlit,x - sta 116*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x + sta 116*BLIT_STRIDE + blitRoll,x lsr e_117oto: - sta 117*ROW_STRIDE + rowBlit,x - sta 118*ROW_STRIDE + rowBlit,x + sta 117*BLIT_STRIDE + blitRoll,x + sta 118*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 119*ROW_STRIDE + rowBlit,x + sta 119*BLIT_STRIDE + blitRoll,x rts e_t115orooto: @@ -3130,30 +3122,30 @@ e_t115orooto: e_t10ooroo: lda (pTex),y iny - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x bra e_11oroo e_10tooroo: - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x e_t11oroo: lda (pTex),y iny e_11oroo: - sta 11*ROW_STRIDE + rowBlit,x - sta 12*ROW_STRIDE + rowBlit,x + sta 11*BLIT_STRIDE + blitRoll,x + sta 12*BLIT_STRIDE + blitRoll,x lsr - sta 13*ROW_STRIDE + rowBlit,x - sta 14*ROW_STRIDE + rowBlit,x + sta 13*BLIT_STRIDE + blitRoll,x + sta 14*BLIT_STRIDE + blitRoll,x rts e_120ooroo: - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x e_121oroo: - sta 121*ROW_STRIDE + rowBlit,x - sta 122*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x + sta 122*BLIT_STRIDE + blitRoll,x lsr - sta 123*ROW_STRIDE + rowBlit,x - sta 124*ROW_STRIDE + rowBlit,x + sta 123*BLIT_STRIDE + blitRoll,x + sta 124*BLIT_STRIDE + blitRoll,x rts e_t120ooroo: @@ -3164,116 +3156,116 @@ e_t120ooroo: e_t5ooroo: lda (pTex),y iny - sta 5*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x bra e_6oroo e_5tooroo: - sta 5*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x e_t6oroo: lda (pTex),y iny e_6oroo: - sta 6*ROW_STRIDE + rowBlit,x - sta 7*ROW_STRIDE + rowBlit,x + sta 6*BLIT_STRIDE + blitRoll,x + sta 7*BLIT_STRIDE + blitRoll,x lsr - sta 8*ROW_STRIDE + rowBlit,x - sta 9*ROW_STRIDE + rowBlit,x + sta 8*BLIT_STRIDE + blitRoll,x + sta 9*BLIT_STRIDE + blitRoll,x rts e_r60otooro: lsr - sta 60*ROW_STRIDE + rowBlit,x - sta 61*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x + sta 61*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_62oro e_60toooro: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_61ooro: - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x e_62oro: - sta 62*ROW_STRIDE + rowBlit,x + sta 62*BLIT_STRIDE + blitRoll,x e_63ro: - sta 63*ROW_STRIDE + rowBlit,x + sta 63*BLIT_STRIDE + blitRoll,x lsr - sta 64*ROW_STRIDE + rowBlit,x + sta 64*BLIT_STRIDE + blitRoll,x rts e_r100ootoo: lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x bra e_101otoo e_100rootoo: - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr e_101otoo: - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x e_102too: - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 103*ROW_STRIDE + rowBlit,x - sta 104*ROW_STRIDE + rowBlit,x + sta 103*BLIT_STRIDE + blitRoll,x + sta 104*BLIT_STRIDE + blitRoll,x rts e_t100orotoo: lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x lsr bra e_102too e_r105ootoo: lsr - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x bra e_106otoo e_105rootoo: - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr e_106otoo: - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x e_107too: - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 108*ROW_STRIDE + rowBlit,x - sta 109*ROW_STRIDE + rowBlit,x + sta 108*BLIT_STRIDE + blitRoll,x + sta 109*BLIT_STRIDE + blitRoll,x rts e_t105orotoo: lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lsr bra e_107too e_120otooo: - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_122oo: - sta 122*ROW_STRIDE + rowBlit,x - sta 123*ROW_STRIDE + rowBlit,x - sta 124*ROW_STRIDE + rowBlit,x + sta 122*BLIT_STRIDE + blitRoll,x + sta 123*BLIT_STRIDE + blitRoll,x + sta 124*BLIT_STRIDE + blitRoll,x rts e_35otooo: - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_37oo: - sta 37*ROW_STRIDE + rowBlit,x - sta 38*ROW_STRIDE + rowBlit,x - sta 39*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x + sta 38*BLIT_STRIDE + blitRoll,x + sta 39*BLIT_STRIDE + blitRoll,x rts e_r35otooo: @@ -3281,42 +3273,42 @@ e_r35otooo: bra e_35otooo e_40otooo: - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_42oo: - sta 42*ROW_STRIDE + rowBlit,x - sta 43*ROW_STRIDE + rowBlit,x - sta 44*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x + sta 43*BLIT_STRIDE + blitRoll,x + sta 44*BLIT_STRIDE + blitRoll,x rts e_45orooo: - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lsr bra e_47oo e_45otooo: - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_47oo: - sta 47*ROW_STRIDE + rowBlit,x - sta 48*ROW_STRIDE + rowBlit,x - sta 49*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x + sta 48*BLIT_STRIDE + blitRoll,x + sta 49*BLIT_STRIDE + blitRoll,x rts e_75otooo: - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_77oo: - sta 77*ROW_STRIDE + rowBlit,x - sta 78*ROW_STRIDE + rowBlit,x - sta 79*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x + sta 78*BLIT_STRIDE + blitRoll,x + sta 79*BLIT_STRIDE + blitRoll,x rts e_r75otooo: @@ -3325,250 +3317,250 @@ e_r75otooo: e_r10ootoo: lsr - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x bra e_11otoo e_10rootoo: - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x lsr e_11otoo: - sta 11*ROW_STRIDE + rowBlit,x - sta 12*ROW_STRIDE + rowBlit,x + sta 11*BLIT_STRIDE + blitRoll,x + sta 12*BLIT_STRIDE + blitRoll,x e_t13o: lda (pTex),y iny - sta 13*ROW_STRIDE + rowBlit,x - sta 14*ROW_STRIDE + rowBlit,x + sta 13*BLIT_STRIDE + blitRoll,x + sta 14*BLIT_STRIDE + blitRoll,x rts e_5rootoo: - sta 5*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x lsr bra e_6otoo e_5ootoo: - sta 5*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x e_6otoo: - sta 6*ROW_STRIDE + rowBlit,x - sta 7*ROW_STRIDE + rowBlit,x + sta 6*BLIT_STRIDE + blitRoll,x + sta 7*BLIT_STRIDE + blitRoll,x e_t8o: lda (pTex),y iny - sta 8*ROW_STRIDE + rowBlit,x - sta 9*ROW_STRIDE + rowBlit,x + sta 8*BLIT_STRIDE + blitRoll,x + sta 9*BLIT_STRIDE + blitRoll,x rts e_r115otooro: lsr - sta 115*ROW_STRIDE + rowBlit,x - sta 116*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x + sta 116*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_117oro e_115toooro: - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_116ooro: - sta 116*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x e_117oro: - sta 117*ROW_STRIDE + rowBlit,x - sta 118*ROW_STRIDE + rowBlit,x + sta 117*BLIT_STRIDE + blitRoll,x + sta 118*BLIT_STRIDE + blitRoll,x lsr - sta 119*ROW_STRIDE + rowBlit,x + sta 119*BLIT_STRIDE + blitRoll,x rts e_r120otooro: lsr - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_122oro e_120toooro: - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_121ooro: - sta 121*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x e_122oro: - sta 122*ROW_STRIDE + rowBlit,x - sta 123*ROW_STRIDE + rowBlit,x + sta 122*BLIT_STRIDE + blitRoll,x + sta 123*BLIT_STRIDE + blitRoll,x lsr - sta 124*ROW_STRIDE + rowBlit,x + sta 124*BLIT_STRIDE + blitRoll,x rts e_65rotoroo: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_67roo e_65tooroo: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_66oroo: - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x e_67roo: - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x lsr - sta 68*ROW_STRIDE + rowBlit,x - sta 69*ROW_STRIDE + rowBlit,x + sta 68*BLIT_STRIDE + blitRoll,x + sta 69*BLIT_STRIDE + blitRoll,x rts e_t65ooroo: lda (pTex),y iny - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x bra e_66oroo e_75tooroo: - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_76oroo: - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x e_77roo: - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x lsr - sta 78*ROW_STRIDE + rowBlit,x - sta 79*ROW_STRIDE + rowBlit,x + sta 78*BLIT_STRIDE + blitRoll,x + sta 79*BLIT_STRIDE + blitRoll,x rts e_t75ooroo: lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x bra e_76oroo e_10toooro: - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 11*ROW_STRIDE + rowBlit,x + sta 11*BLIT_STRIDE + blitRoll,x bra e_12oro e_r10otooro: lsr - sta 10*ROW_STRIDE + rowBlit,x - sta 11*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x + sta 11*BLIT_STRIDE + blitRoll,x e_t12oro: lda (pTex),y iny e_12oro: - sta 12*ROW_STRIDE + rowBlit,x - sta 13*ROW_STRIDE + rowBlit,x + sta 12*BLIT_STRIDE + blitRoll,x + sta 13*BLIT_STRIDE + blitRoll,x lsr - sta 14*ROW_STRIDE + rowBlit,x + sta 14*BLIT_STRIDE + blitRoll,x rts e_5toooro: - sta 5*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 6*ROW_STRIDE + rowBlit,x + sta 6*BLIT_STRIDE + blitRoll,x bra e_7oro e_r5otooro: lsr - sta 5*ROW_STRIDE + rowBlit,x - sta 6*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x + sta 6*BLIT_STRIDE + blitRoll,x e_t7oro: lda (pTex),y iny e_7oro: - sta 7*ROW_STRIDE + rowBlit,x - sta 8*ROW_STRIDE + rowBlit,x + sta 7*BLIT_STRIDE + blitRoll,x + sta 8*BLIT_STRIDE + blitRoll,x lsr - sta 9*ROW_STRIDE + rowBlit,x + sta 9*BLIT_STRIDE + blitRoll,x rts e_110tooroto: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 111*ROW_STRIDE + rowBlit,x - sta 112*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x + sta 112*BLIT_STRIDE + blitRoll,x lsr bra e_113to e_110roooto: - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lsr - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x e_112oto: - sta 112*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x e_113to: - sta 113*ROW_STRIDE + rowBlit,x + sta 113*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 114*ROW_STRIDE + rowBlit,x + sta 114*BLIT_STRIDE + blitRoll,x rts e_t110orooto: lda (pTex),y iny - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lsr bra e_112oto e_50otooo: - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_52oo e_50roooo: - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lsr e_51ooo: - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x e_52oo: - sta 52*ROW_STRIDE + rowBlit,x - sta 53*ROW_STRIDE + rowBlit,x - sta 54*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x + sta 53*BLIT_STRIDE + blitRoll,x + sta 54*BLIT_STRIDE + blitRoll,x rts e_65roooto: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x bra e_67oto e_65orooto: - sta 65*ROW_STRIDE + rowBlit,x - sta 66*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x + sta 66*BLIT_STRIDE + blitRoll,x lsr e_67oto: - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x e_68to: - sta 68*ROW_STRIDE + rowBlit,x + sta 68*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 69*ROW_STRIDE + rowBlit,x + sta 69*BLIT_STRIDE + blitRoll,x rts e_65rotoroto: - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x lsr bra e_68to e_125oo: - sta 125*ROW_STRIDE + rowBlit,x - sta 126*ROW_STRIDE + rowBlit,x - sta 127*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x + sta 126*BLIT_STRIDE + blitRoll,x + sta 127*BLIT_STRIDE + blitRoll,x rts e_t125oo: @@ -3577,115 +3569,115 @@ e_t125oo: bra e_125oo e_65orooo: - sta 65*ROW_STRIDE + rowBlit,x - sta 66*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x + sta 66*BLIT_STRIDE + blitRoll,x lsr e_67oo: - sta 67*ROW_STRIDE + rowBlit,x - sta 68*ROW_STRIDE + rowBlit,x - sta 69*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x + sta 68*BLIT_STRIDE + blitRoll,x + sta 69*BLIT_STRIDE + blitRoll,x rts e_85otooo: - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_87oo e_85orooo: - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lsr e_87oo: - sta 87*ROW_STRIDE + rowBlit,x - sta 88*ROW_STRIDE + rowBlit,x - sta 89*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x + sta 88*BLIT_STRIDE + blitRoll,x + sta 89*BLIT_STRIDE + blitRoll,x rts e_115rootoo: - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lsr e_116otoo: - sta 116*ROW_STRIDE + rowBlit,x - sta 117*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x + sta 117*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 118*ROW_STRIDE + rowBlit,x - sta 119*ROW_STRIDE + rowBlit,x + sta 118*BLIT_STRIDE + blitRoll,x + sta 119*BLIT_STRIDE + blitRoll,x rts e_60rootoo: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lsr e_61otoo: - sta 61*ROW_STRIDE + rowBlit,x - sta 62*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x + sta 62*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 63*ROW_STRIDE + rowBlit,x - sta 64*ROW_STRIDE + rowBlit,x + sta 63*BLIT_STRIDE + blitRoll,x + sta 64*BLIT_STRIDE + blitRoll,x rts e_r60ootoo: lsr - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x bra e_61otoo e_115tooroo: - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_116oroo: - sta 116*ROW_STRIDE + rowBlit,x - sta 117*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x + sta 117*BLIT_STRIDE + blitRoll,x lsr - sta 118*ROW_STRIDE + rowBlit,x - sta 119*ROW_STRIDE + rowBlit,x + sta 118*BLIT_STRIDE + blitRoll,x + sta 119*BLIT_STRIDE + blitRoll,x rts e_t115ooroo: lda (pTex),y iny - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x bra e_116oroo e_60tooroo: - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_61oroo: - sta 61*ROW_STRIDE + rowBlit,x - sta 62*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x + sta 62*BLIT_STRIDE + blitRoll,x lsr - sta 63*ROW_STRIDE + rowBlit,x - sta 64*ROW_STRIDE + rowBlit,x + sta 63*BLIT_STRIDE + blitRoll,x + sta 64*BLIT_STRIDE + blitRoll,x rts e_t60ooroo: lda (pTex),y iny - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x bra e_61oroo e_t0ooroo: lda (pTex),y iny - sta 0*ROW_STRIDE + rowBlit,x + sta 0*BLIT_STRIDE + blitRoll,x e_1oroo: - sta 1*ROW_STRIDE + rowBlit,x - sta 2*ROW_STRIDE + rowBlit,x + sta 1*BLIT_STRIDE + blitRoll,x + sta 2*BLIT_STRIDE + blitRoll,x lsr - sta 3*ROW_STRIDE + rowBlit,x - sta 4*ROW_STRIDE + rowBlit,x + sta 3*BLIT_STRIDE + blitRoll,x + sta 4*BLIT_STRIDE + blitRoll,x rts e_125oto: - sta 125*ROW_STRIDE + rowBlit,x - sta 126*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x + sta 126*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 127*ROW_STRIDE + rowBlit,x + sta 127*BLIT_STRIDE + blitRoll,x rts e_r125oto: @@ -3695,51 +3687,51 @@ e_r125oto: e_t0oooro: lda (pTex),y iny - sta 0*ROW_STRIDE + rowBlit,x - sta 1*ROW_STRIDE + rowBlit,x + sta 0*BLIT_STRIDE + blitRoll,x + sta 1*BLIT_STRIDE + blitRoll,x e_2oro: - sta 2*ROW_STRIDE + rowBlit,x - sta 3*ROW_STRIDE + rowBlit,x + sta 2*BLIT_STRIDE + blitRoll,x + sta 3*BLIT_STRIDE + blitRoll,x lsr - sta 4*ROW_STRIDE + rowBlit,x + sta 4*BLIT_STRIDE + blitRoll,x rts e_110orooo: - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lsr e_112oo: - sta 112*ROW_STRIDE + rowBlit,x - sta 113*ROW_STRIDE + rowBlit,x - sta 114*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x + sta 113*BLIT_STRIDE + blitRoll,x + sta 114*BLIT_STRIDE + blitRoll,x rts e_110otooo: - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lda (pTex),y iny bra e_112oo e_5otooo: - sta 5*ROW_STRIDE + rowBlit,x - sta 6*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x + sta 6*BLIT_STRIDE + blitRoll,x lda (pTex),y iny e_7oo: - sta 7*ROW_STRIDE + rowBlit,x - sta 8*ROW_STRIDE + rowBlit,x - sta 9*ROW_STRIDE + rowBlit,x + sta 7*BLIT_STRIDE + blitRoll,x + sta 8*BLIT_STRIDE + blitRoll,x + sta 9*BLIT_STRIDE + blitRoll,x rts e_95orooo: - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lsr e_97oo: - sta 97*ROW_STRIDE + rowBlit,x - sta 98*ROW_STRIDE + rowBlit,x - sta 99*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x + sta 98*BLIT_STRIDE + blitRoll,x + sta 99*BLIT_STRIDE + blitRoll,x rts ; Produce 2 rows from 2 rows @@ -3756,7 +3748,7 @@ expand_4: jsr selectMip4 jsr e_t62roto lsr - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x rts ; Produce 6 rows from 4 rows @@ -3764,11 +3756,11 @@ expand_6: jsr selectMip4 lda (pTex),y iny - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x jsr e_62roto - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x rts ; Produce 8 rows from 8 rows @@ -3776,12 +3768,12 @@ expand_8: jsr selectMip3 jsr e_t60rotoroto lsr - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lsr - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x rts ; Produce 10 rows from 8 rows @@ -3789,16 +3781,16 @@ expand_10: jsr selectMip3 lda (pTex),y iny - sta 59*ROW_STRIDE + rowBlit,x + sta 59*BLIT_STRIDE + blitRoll,x jsr e_60rotoroto - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 67*ROW_STRIDE + rowBlit,x + sta 67*BLIT_STRIDE + blitRoll,x lsr - sta 68*ROW_STRIDE + rowBlit,x + sta 68*BLIT_STRIDE + blitRoll,x rts ; Produce 12 rows from 8 rows @@ -3815,7 +3807,7 @@ expand_14: jsr e_60tooroto jsr e_65rootoo lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x rts ; Produce 16 rows from 16 rows @@ -3823,9 +3815,9 @@ expand_16: jsr selectMip2 lda (pTex),y iny - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x lsr - sta 57*ROW_STRIDE + rowBlit,x + sta 57*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_58ro @@ -3833,9 +3825,9 @@ expand_16: jsr e_r65torotoro lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x rts ; Produce 18 rows from 16 rows @@ -3845,12 +3837,12 @@ expand_18: jsr e_t60rotoroto jsr e_65rotoroto lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lsr - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x rts ; Produce 20 rows from 16 rows @@ -3858,18 +3850,18 @@ expand_20: jsr selectMip2 lda (pTex),y iny - sta 54*ROW_STRIDE + rowBlit,x + sta 54*BLIT_STRIDE + blitRoll,x jsr e_55rotoroto jsr e_60rotoroto jsr e_65rotoroto - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lsr - sta 73*ROW_STRIDE + rowBlit,x + sta 73*BLIT_STRIDE + blitRoll,x rts ; Produce 22 rows from 16 rows @@ -3890,7 +3882,7 @@ expand_24: jsr e_65rotooro jsr e_t70orotoo lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x rts ; Produce 26 rows from 16 rows @@ -3903,9 +3895,9 @@ expand_26: jsr e_r60tooroto jsr e_65rootoro jsr e_70tooroto - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x rts ; Produce 28 rows from 16 rows @@ -3918,10 +3910,10 @@ expand_28: jsr e_r70tooroo lda (pTex),y iny - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr - sta 77*ROW_STRIDE + rowBlit,x + sta 77*BLIT_STRIDE + blitRoll,x rts ; Produce 30 rows from 16 rows @@ -3929,19 +3921,19 @@ expand_30: jsr selectMip2 lda (pTex),y iny - sta 49*ROW_STRIDE + rowBlit,x + sta 49*BLIT_STRIDE + blitRoll,x jsr e_50rootoo jsr e_r55otooro jsr e_60tooroto jsr e_65rootoo jsr e_r70otooro - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x - sta 77*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x + sta 77*BLIT_STRIDE + blitRoll,x lsr - sta 78*ROW_STRIDE + rowBlit,x + sta 78*BLIT_STRIDE + blitRoll,x rts ; Produce 32 rows from 32 rows @@ -3968,7 +3960,7 @@ expand_34: jsr e_r70torotoro jsr e_t75rotoroto lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x rts ; Produce 36 rows from 32 rows @@ -3976,7 +3968,7 @@ expand_36: jsr selectMip1 lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x jsr e_47roto jsr e_r50torotoro jsr e_t55orotoro @@ -3986,9 +3978,9 @@ expand_36: jsr e_r75torotoro lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x rts ; Produce 38 rows from 32 rows @@ -4002,12 +3994,12 @@ expand_38: jsr e_r70otoroto jsr e_r75tooroto lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x rts ; Produce 40 rows from 32 rows @@ -4015,7 +4007,7 @@ expand_40: jsr selectMip1 lda (pTex),y iny - sta 44*ROW_STRIDE + rowBlit,x + sta 44*BLIT_STRIDE + blitRoll,x jsr e_45rotoroto jsr e_50rotoroto jsr e_55rotoroto @@ -4023,14 +4015,14 @@ expand_40: jsr e_65rotoroto jsr e_70rotoroto jsr e_75rotoroto - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x lsr - sta 83*ROW_STRIDE + rowBlit,x + sta 83*BLIT_STRIDE + blitRoll,x rts ; Produce 42 rows from 32 rows @@ -4059,7 +4051,7 @@ expand_44: jsr e_t75orotoo jsr e_r80torooto lsr - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x rts ; Produce 46 rows from 32 rows @@ -4076,9 +4068,9 @@ expand_46: jsr e_r80otoroo lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x rts ; Produce 48 rows from 32 rows @@ -4095,10 +4087,10 @@ expand_48: jsr e_80rotooro lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lsr - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x rts ; Produce 50 rows from 32 rows @@ -4106,7 +4098,7 @@ expand_50: jsr selectMip1 lda (pTex),y iny - sta 39*ROW_STRIDE + rowBlit,x + sta 39*BLIT_STRIDE + blitRoll,x jsr e_40rootoro jsr e_45torooto jsr e_r50otooro @@ -4117,13 +4109,13 @@ expand_50: jsr e_r75otooro jsr e_t80orotoo lsr - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x - sta 87*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x + sta 87*BLIT_STRIDE + blitRoll,x lsr - sta 88*ROW_STRIDE + rowBlit,x + sta 88*BLIT_STRIDE + blitRoll,x rts ; Produce 52 rows from 32 rows @@ -4156,7 +4148,7 @@ expand_54: jsr e_r80tooroo jsr e_t85rootoo lsr - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x rts ; Produce 56 rows from 32 rows @@ -4173,9 +4165,9 @@ expand_56: jsr e_t75orotoo jsr e_r80otooro jsr e_t85orooto - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x rts ; Produce 58 rows from 32 rows @@ -4194,10 +4186,10 @@ expand_58: jsr e_85tooroo lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lsr - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x rts ; Produce 60 rows from 32 rows @@ -4205,7 +4197,7 @@ expand_60: jsr selectMip1 lda (pTex),y iny - sta 34*ROW_STRIDE + rowBlit,x + sta 34*BLIT_STRIDE + blitRoll,x jsr e_35rootoo jsr e_r40otooro jsr e_45tooroto @@ -4217,13 +4209,13 @@ expand_60: jsr e_75tooroto jsr e_80rootoo jsr e_r85otooro - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x - sta 92*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x + sta 92*BLIT_STRIDE + blitRoll,x lsr - sta 93*ROW_STRIDE + rowBlit,x + sta 93*BLIT_STRIDE + blitRoll,x rts ; Produce 62 rows from 32 rows @@ -4262,7 +4254,7 @@ expand_64: jsr e_r85torotoro jsr e_t90rotoroto lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x rts ; Produce 66 rows from 64 rows @@ -4283,9 +4275,9 @@ expand_66: jsr e_r90torotoro lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x rts ; Produce 68 rows from 64 rows @@ -4294,12 +4286,12 @@ expand_68: jsr e_t30orotoro lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 37*ROW_STRIDE + rowBlit,x + sta 37*BLIT_STRIDE + blitRoll,x lsr jsr e_38to jsr e_r40torotoro @@ -4314,12 +4306,12 @@ expand_68: jsr e_r85torotoro jsr e_t90rotoroto lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x rts ; Produce 70 rows from 64 rows @@ -4327,7 +4319,7 @@ expand_70: jsr selectMip0 lda (pTex),y iny - sta 29*ROW_STRIDE + rowBlit,x + sta 29*BLIT_STRIDE + blitRoll,x jsr e_30rotoroto jsr e_r35torotoro jsr e_t40orotoro @@ -4345,14 +4337,14 @@ expand_70: jsr e_r90torotoro lda (pTex),y iny - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lsr - sta 98*ROW_STRIDE + rowBlit,x + sta 98*BLIT_STRIDE + blitRoll,x rts ; Produce 72 rows from 64 rows @@ -4360,12 +4352,12 @@ expand_72: jsr selectMip0 jsr e_t28o lsr - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lsr - sta 32*ROW_STRIDE + rowBlit,x + sta 32*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_33ro @@ -4384,12 +4376,12 @@ expand_72: jsr e_t85rotoroto jsr e_r90tooroto lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_98ro @@ -4401,55 +4393,55 @@ expand_74: jsr e_t27oro lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_32roto jsr e_35rotoroto jsr e_r40tooroto jsr e_r45torotoro - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_53ro lda (pTex),y iny - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr - sta 56*ROW_STRIDE + rowBlit,x - sta 57*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x + sta 57*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_58ro jsr e_t60rotoroto jsr e_65rotoroto lsr - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x jsr e_72roto lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x lsr jsr e_77too jsr e_r80torotoro jsr e_t85rootoro lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_92roo @@ -4457,7 +4449,7 @@ expand_74: iny jsr e_95rotoroto lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x rts ; Produce 76 rows from 64 rows @@ -4482,9 +4474,9 @@ expand_76: jsr e_t95orotoro lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x rts ; Produce 78 rows from 64 rows @@ -4495,10 +4487,10 @@ expand_78: jsr e_t35rootoro lda (pTex),y iny - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x - sta 42*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x + sta 42*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_43ro @@ -4508,9 +4500,9 @@ expand_78: jsr e_50rotooro lda (pTex),y iny - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lsr - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_57roo @@ -4518,21 +4510,21 @@ expand_78: jsr e_65rotoroto jsr e_70rotoroto lsr - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x jsr e_76toroto lsr - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x jsr e_81toroto jsr e_r85tooroto jsr e_r90tooroto jsr e_r95torooto lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x lsr - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x rts ; Produce 80 rows from 64 rows @@ -4540,18 +4532,18 @@ expand_80: jsr selectMip0 lda (pTex),y iny - sta 24*ROW_STRIDE + rowBlit,x - sta 25*ROW_STRIDE + rowBlit,x + sta 24*BLIT_STRIDE + blitRoll,x + sta 25*BLIT_STRIDE + blitRoll,x lsr - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_27roto jsr e_30rotoroto jsr e_35rotoroto - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_42roto @@ -4563,24 +4555,24 @@ expand_80: jsr e_70rotoroto jsr e_75rotoroto jsr e_80rotoroto - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x lsr jsr e_88to jsr e_90rotoroto jsr e_95rotoroto - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 102*ROW_STRIDE + rowBlit,x + sta 102*BLIT_STRIDE + blitRoll,x lsr - sta 103*ROW_STRIDE + rowBlit,x + sta 103*BLIT_STRIDE + blitRoll,x rts ; Produce 82 rows from 64 rows @@ -4592,19 +4584,19 @@ expand_82: jsr e_r35tooroto jsr e_r40tooroto lsr - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x jsr e_46toroto lsr - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x jsr e_51toroto jsr e_55rotoroto jsr e_60rotoroto jsr e_65rotoroo lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_72roo @@ -4625,10 +4617,10 @@ expand_84: jsr e_t30orotoro jsr e_35torotoo lsr - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lsr jsr e_42too jsr e_r45torooto @@ -4644,7 +4636,7 @@ expand_84: jsr e_r95torooto jsr e_r100tooroto lsr - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x rts ; Produce 86 rows from 64 rows @@ -4652,13 +4644,13 @@ expand_86: jsr selectMip0 lda (pTex),y iny - sta 21*ROW_STRIDE + rowBlit,x - sta 22*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x + sta 22*BLIT_STRIDE + blitRoll,x lsr jsr e_23to - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_27roo @@ -4667,10 +4659,10 @@ expand_86: jsr e_30rotooro jsr e_t35rootoro jsr e_t40orotoro - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 46*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x lsr jsr e_47too jsr e_r50torooto @@ -4683,19 +4675,19 @@ expand_86: jsr e_r85torooto jsr e_r90tooroto lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x jsr e_96toroto - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lsr - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_102roo lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x rts ; Produce 88 rows from 64 rows @@ -4704,9 +4696,9 @@ expand_88: jsr e_t20orotoo jsr e_r25torooto jsr e_r30tooroto - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_37roo @@ -4722,9 +4714,9 @@ expand_88: jsr e_t75orotoo jsr e_r80torooto jsr e_r85tooroto - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_92roo @@ -4732,12 +4724,12 @@ expand_88: iny jsr e_95rotooro jsr e_t100orotoro - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x lsr - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x rts ; Produce 90 rows from 64 rows @@ -4745,23 +4737,23 @@ expand_90: jsr selectMip0 lda (pTex),y iny - sta 19*ROW_STRIDE + rowBlit,x + sta 19*BLIT_STRIDE + blitRoll,x jsr e_20rotooro jsr e_t25orotoro jsr e_30torooto jsr e_r35tooroto - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_42roo lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x lsr - sta 46*ROW_STRIDE + rowBlit,x - sta 47*ROW_STRIDE + rowBlit,x + sta 46*BLIT_STRIDE + blitRoll,x + sta 47*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_48ro @@ -4772,36 +4764,36 @@ expand_90: jsr e_65rotooro lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x lsr - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_73ro jsr e_75torooto jsr e_r80tooroto - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_87roo jsr e_t90rootoro jsr e_t95orotoo lsr - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_101rooto lsr - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x lsr - sta 108*ROW_STRIDE + rowBlit,x + sta 108*BLIT_STRIDE + blitRoll,x rts ; Produce 92 rows from 64 rows @@ -4809,20 +4801,20 @@ expand_92: jsr selectMip0 jsr e_t18o lsr - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 21*ROW_STRIDE + rowBlit,x - sta 22*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x + sta 22*BLIT_STRIDE + blitRoll,x lsr jsr e_23to jsr e_25rotooro lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr - sta 31*ROW_STRIDE + rowBlit,x - sta 32*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x + sta 32*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_33ro @@ -4838,27 +4830,27 @@ expand_92: jsr e_r80otoroo lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 87*ROW_STRIDE + rowBlit,x + sta 87*BLIT_STRIDE + blitRoll,x jsr e_88ro jsr e_t90orotoo lsr - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x jsr e_97roto jsr e_r100otoroo lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr - sta 106*ROW_STRIDE + rowBlit,x - sta 107*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x + sta 107*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_108ro @@ -4873,12 +4865,12 @@ expand_94: jsr e_30rotooro jsr e_t35orotoo lsr - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 41*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x lsr - sta 42*ROW_STRIDE + rowBlit,x + sta 42*BLIT_STRIDE + blitRoll,x jsr e_43to jsr e_r45otoroo jsr e_t50rootoro @@ -4889,18 +4881,18 @@ expand_94: jsr e_r75tooroto jsr e_80rotooro jsr e_t85orotoro - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x lsr - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x jsr e_93to jsr e_r95otoroo jsr e_t100rootoro jsr e_105torooto lsr - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x rts ; Produce 96 rows from 64 rows @@ -4908,15 +4900,15 @@ expand_96: jsr selectMip0 lda (pTex),y iny - sta 16*ROW_STRIDE + rowBlit,x - sta 17*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x + sta 17*BLIT_STRIDE + blitRoll,x lsr jsr e_18to jsr e_20rotooro lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr jsr e_27too jsr e_r30tooroto @@ -4932,8 +4924,8 @@ expand_96: jsr e_80rotooro lda (pTex),y iny - sta 85*ROW_STRIDE + rowBlit,x - sta 86*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x + sta 86*BLIT_STRIDE + blitRoll,x lsr jsr e_87too jsr e_r90tooroto @@ -4941,9 +4933,9 @@ expand_96: jsr e_t100orotoo lsr jsr e_105tooroto - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lsr - sta 111*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x rts ; Produce 98 rows from 64 rows @@ -4951,16 +4943,16 @@ expand_98: jsr selectMip0 jsr e_t15orooto lsr - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_22roo jsr e_t25rootoro jsr e_30torooto lsr - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_37roo @@ -4972,17 +4964,17 @@ expand_98: jsr e_65rootoro jsr e_70torooto lsr - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_77roo lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lsr - sta 81*ROW_STRIDE + rowBlit,x - sta 82*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x + sta 82*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_83ro @@ -4993,10 +4985,10 @@ expand_98: jsr e_105rotooro lda (pTex),y iny - sta 110*ROW_STRIDE + rowBlit,x - sta 111*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x + sta 111*BLIT_STRIDE + blitRoll,x lsr - sta 112*ROW_STRIDE + rowBlit,x + sta 112*BLIT_STRIDE + blitRoll,x rts ; Produce 100 rows from 64 rows @@ -5004,11 +4996,11 @@ expand_100: jsr selectMip0 lda (pTex),y iny - sta 14*ROW_STRIDE + rowBlit,x - sta 15*ROW_STRIDE + rowBlit,x + sta 14*BLIT_STRIDE + blitRoll,x + sta 15*BLIT_STRIDE + blitRoll,x lsr - sta 16*ROW_STRIDE + rowBlit,x - sta 17*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x + sta 17*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_18ro @@ -5026,27 +5018,27 @@ expand_100: jsr e_r75otooro jsr e_t80orotoo jsr e_r85tooroto - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x jsr e_92toro - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x jsr e_98to jsr e_r100otooro jsr e_t105orotoo lsr - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 111*ROW_STRIDE + rowBlit,x - sta 112*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x + sta 112*BLIT_STRIDE + blitRoll,x lsr - sta 113*ROW_STRIDE + rowBlit,x + sta 113*BLIT_STRIDE + blitRoll,x rts ; Produce 102 rows from 64 rows @@ -5058,10 +5050,10 @@ expand_102: iny jsr e_20rootoo jsr e_r25tooroto - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lsr - sta 31*ROW_STRIDE + rowBlit,x - sta 32*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x + sta 32*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_33ro @@ -5069,8 +5061,8 @@ expand_102: jsr e_40rotooro jsr e_t45orooto lsr - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_52roo @@ -5092,7 +5084,7 @@ expand_102: expand_104: jsr selectMip0 jsr e_t12oro - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_16rooto @@ -5114,14 +5106,14 @@ expand_104: jsr e_r95otooro jsr e_t100orotoo lsr - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_107roo jsr e_t110orotoo lsr - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x rts ; Produce 106 rows from 64 rows @@ -5136,9 +5128,9 @@ expand_106: jsr e_30tooroo lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x lsr - sta 36*ROW_STRIDE + rowBlit,x + sta 36*BLIT_STRIDE + blitRoll,x jsr e_37too lsr jsr e_40tooroo @@ -5150,39 +5142,39 @@ expand_106: jsr e_r60tooroto jsr e_65rootoro jsr e_70tooroto - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr - sta 76*ROW_STRIDE + rowBlit,x - sta 77*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x + sta 77*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_78ro - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x jsr e_82roto jsr e_85rootoro jsr e_90tooroto - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lsr - sta 96*ROW_STRIDE + rowBlit,x - sta 97*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x + sta 97*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_98ro jsr e_100tooroto - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr - sta 106*ROW_STRIDE + rowBlit,x - sta 107*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x + sta 107*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_108ro jsr e_110tooroto - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lsr - sta 116*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x rts ; Produce 108 rows from 64 rows @@ -5212,10 +5204,10 @@ expand_108: jsr e_r110otoroo lda (pTex),y iny - sta 115*ROW_STRIDE + rowBlit,x - sta 116*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x + sta 116*BLIT_STRIDE + blitRoll,x lsr - sta 117*ROW_STRIDE + rowBlit,x + sta 117*BLIT_STRIDE + blitRoll,x rts ; Produce 110 rows from 64 rows @@ -5223,14 +5215,14 @@ expand_110: jsr selectMip0 lda (pTex),y iny - sta 9*ROW_STRIDE + rowBlit,x + sta 9*BLIT_STRIDE + blitRoll,x jsr e_10rootoo lsr jsr e_15tooroo jsr e_t20orotoo lsr - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_27roo @@ -5238,12 +5230,12 @@ expand_110: jsr e_r35otooro jsr e_t40orooto jsr e_45rotooro - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 51*ROW_STRIDE + rowBlit,x + sta 51*BLIT_STRIDE + blitRoll,x lsr - sta 52*ROW_STRIDE + rowBlit,x + sta 52*BLIT_STRIDE + blitRoll,x jsr e_53to jsr e_55rootoro jsr e_60tooroto @@ -5256,20 +5248,20 @@ expand_110: jsr e_t95orooto jsr e_100rotooro jsr e_105torooto - sta 110*ROW_STRIDE + rowBlit,x + sta 110*BLIT_STRIDE + blitRoll,x lsr - sta 111*ROW_STRIDE + rowBlit,x - sta 112*ROW_STRIDE + rowBlit,x + sta 111*BLIT_STRIDE + blitRoll,x + sta 112*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_113ro - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 116*ROW_STRIDE + rowBlit,x - sta 117*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x + sta 117*BLIT_STRIDE + blitRoll,x lsr - sta 118*ROW_STRIDE + rowBlit,x + sta 118*BLIT_STRIDE + blitRoll,x rts ; Produce 112 rows from 64 rows @@ -5294,10 +5286,10 @@ expand_112: jsr e_r80otooro jsr e_t85orooto jsr e_90rotooro - sta 95*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 96*ROW_STRIDE + rowBlit,x + sta 96*BLIT_STRIDE + blitRoll,x jsr e_97roto jsr e_100rootoo jsr e_r105tooroo @@ -5323,18 +5315,18 @@ expand_114: jsr e_60tooroto jsr e_65rootoo lsr - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_72roo jsr e_t75orooto jsr e_80rotooro - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x - sta 87*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x + sta 87*BLIT_STRIDE + blitRoll,x lsr jsr e_88to jsr e_90rootoo @@ -5344,7 +5336,7 @@ expand_114: jsr e_110tooroto jsr e_115rootoo lsr - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x rts ; Produce 116 rows from 64 rows @@ -5373,9 +5365,9 @@ expand_116: jsr e_105rootoo jsr e_r110otoroo jsr e_t115orooto - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lsr - sta 121*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x rts ; Produce 118 rows from 64 rows @@ -5385,10 +5377,10 @@ expand_118: jsr e_10rootoo jsr e_r15otoroo jsr e_t20orooto - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lsr - sta 26*ROW_STRIDE + rowBlit,x - sta 27*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x + sta 27*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_28ro @@ -5410,19 +5402,19 @@ expand_118: jsr e_100tooroo lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lsr - sta 107*ROW_STRIDE + rowBlit,x + sta 107*BLIT_STRIDE + blitRoll,x jsr e_108to jsr e_110rotooro jsr e_115tooroo lda (pTex),y iny - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x lsr - sta 122*ROW_STRIDE + rowBlit,x + sta 122*BLIT_STRIDE + blitRoll,x rts ; Produce 120 rows from 64 rows @@ -5430,14 +5422,14 @@ expand_120: jsr selectMip0 lda (pTex),y iny - sta 4*ROW_STRIDE + rowBlit,x + sta 4*BLIT_STRIDE + blitRoll,x jsr e_5rootoo jsr e_r10otooro - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 16*ROW_STRIDE + rowBlit,x - sta 17*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x + sta 17*BLIT_STRIDE + blitRoll,x lsr jsr e_18to jsr e_20rootoo @@ -5460,13 +5452,13 @@ expand_120: jsr e_105tooroto jsr e_110rootoo jsr e_r115otooro - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 121*ROW_STRIDE + rowBlit,x - sta 122*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x + sta 122*BLIT_STRIDE + blitRoll,x lsr - sta 123*ROW_STRIDE + rowBlit,x + sta 123*BLIT_STRIDE + blitRoll,x rts ; Produce 122 rows from 64 rows @@ -5474,15 +5466,15 @@ expand_122: jsr selectMip0 lda (pTex),y iny - sta 3*ROW_STRIDE + rowBlit,x - sta 4*ROW_STRIDE + rowBlit,x + sta 3*BLIT_STRIDE + blitRoll,x + sta 4*BLIT_STRIDE + blitRoll,x jsr e_r5otooro jsr e_10tooroo jsr e_t15orooto - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lsr - sta 21*ROW_STRIDE + rowBlit,x - sta 22*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x + sta 22*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_23ro @@ -5538,7 +5530,7 @@ expand_124: jsr e_t115orooto jsr e_120rootoo lsr - sta 125*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x rts ; Produce 126 rows from 64 rows @@ -5571,9 +5563,9 @@ expand_126: jsr e_r110otooro jsr e_115tooroo jsr e_t120orooto - sta 125*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x lsr - sta 126*ROW_STRIDE + rowBlit,x + sta 126*BLIT_STRIDE + blitRoll,x rts ; Produce 128 rows from 64 rows @@ -5581,14 +5573,14 @@ expand_128: jsr selectMip0 lda (pTex),y iny - sta 0*ROW_STRIDE + rowBlit,x - sta 1*ROW_STRIDE + rowBlit,x + sta 0*BLIT_STRIDE + blitRoll,x + sta 1*BLIT_STRIDE + blitRoll,x lsr - sta 2*ROW_STRIDE + rowBlit,x - sta 3*ROW_STRIDE + rowBlit,x + sta 2*BLIT_STRIDE + blitRoll,x + sta 3*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 4*ROW_STRIDE + rowBlit,x + sta 4*BLIT_STRIDE + blitRoll,x jsr e_5rootoo jsr e_r10otooro jsr e_15tooroo @@ -5662,9 +5654,9 @@ expand_136: jsr e_55tooroo jsr e_t60orooto jsr e_65rootoo - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x jsr e_72too jsr e_r75otooro jsr e_80tooroo @@ -5747,8 +5739,8 @@ expand_148: jsr e_t0ooroo lda (pTex),y iny - sta 5*ROW_STRIDE + rowBlit,x - sta 6*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x + sta 6*BLIT_STRIDE + blitRoll,x lsr jsr e_7oo jsr e_t10orooto @@ -5765,10 +5757,10 @@ expand_148: jsr e_t65ooroo lda (pTex),y iny - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x lsr - sta 72*ROW_STRIDE + rowBlit,x + sta 72*BLIT_STRIDE + blitRoll,x jsr e_73to jsr e_75orooto jsr e_80roooto @@ -5779,7 +5771,7 @@ expand_148: jsr e_r105otooro jsr e_110toooro jsr e_115tooroo - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_121oroo @@ -5796,10 +5788,10 @@ expand_152: jsr e_10orooo jsr e_t15orooto jsr e_20orooto - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr - sta 27*ROW_STRIDE + rowBlit,x + sta 27*BLIT_STRIDE + blitRoll,x jsr e_28to jsr e_30roooto jsr e_35rootoo @@ -5809,13 +5801,13 @@ expand_152: jsr e_r55otooo jsr e_r60otooo lsr - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x jsr e_66tooro jsr e_70otooro - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 76*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x jsr e_77oro jsr e_80toooro jsr e_85tooroo @@ -5824,8 +5816,8 @@ expand_152: jsr e_t100ooroo lda (pTex),y iny - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lsr jsr e_107oo jsr e_t110orooto @@ -5843,14 +5835,14 @@ expand_156: jsr e_t15ooroo lda (pTex),y iny - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x lsr jsr e_22oo lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x lsr jsr e_27oo lda (pTex),y @@ -5858,10 +5850,10 @@ expand_156: jsr e_30orooo jsr e_t35orooto jsr e_40orooto - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x lsr - sta 47*ROW_STRIDE + rowBlit,x + sta 47*BLIT_STRIDE + blitRoll,x jsr e_48to jsr e_50orooto jsr e_55orooto @@ -5905,7 +5897,7 @@ expand_160: jsr e_t75ooroo lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x jsr e_81oroo jsr e_t85ooroo jsr e_t90ooroo @@ -5926,27 +5918,27 @@ expand_164: jsr e_10tooroo jsr e_15tooroo jsr e_20toooro - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x jsr e_27oro - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x jsr e_32oro jsr e_35toooro jsr e_40toooro jsr e_45otooro - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x jsr e_51tooro - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x jsr e_56tooro jsr e_60otooo lsr - sta 65*ROW_STRIDE + rowBlit,x - sta 66*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x + sta 66*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_67oo @@ -5971,10 +5963,10 @@ expand_168: jsr e_t0ooroo jsr e_5tooroo jsr e_10toooro - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x jsr e_17oro jsr e_20toooro jsr e_25otooro @@ -5989,16 +5981,16 @@ expand_168: jsr e_65roooto jsr e_70roooto jsr e_75orooto - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x lsr - sta 82*ROW_STRIDE + rowBlit,x + sta 82*BLIT_STRIDE + blitRoll,x jsr e_83to jsr e_85orooo lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lsr jsr e_92oo jsr e_t95ooroo @@ -6027,24 +6019,24 @@ expand_172: jsr e_55orooo lda (pTex),y iny - sta 60*ROW_STRIDE + rowBlit,x - sta 61*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x + sta 61*BLIT_STRIDE + blitRoll,x lsr jsr e_62oo jsr e_t65ooroo jsr e_t70ooroo jsr e_75tooroo jsr e_80toooro - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x - sta 87*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x + sta 87*BLIT_STRIDE + blitRoll,x jsr e_88ro jsr e_90otooo lsr - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_97oo @@ -6078,10 +6070,10 @@ expand_176: jsr e_r80ootoo jsr e_85rootoo jsr e_90roooto - sta 95*ROW_STRIDE + rowBlit,x - sta 96*ROW_STRIDE + rowBlit,x + sta 95*BLIT_STRIDE + blitRoll,x + sta 96*BLIT_STRIDE + blitRoll,x lsr - sta 97*ROW_STRIDE + rowBlit,x + sta 97*BLIT_STRIDE + blitRoll,x jsr e_98to jsr e_100orooo jsr e_t105ooroo @@ -6099,12 +6091,12 @@ expand_180: jsr e_10otooo jsr e_r15otooo lsr - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x jsr e_21otoo jsr e_25roooto jsr e_30roooto - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x lsr jsr e_37oo jsr e_t40ooroo @@ -6114,10 +6106,10 @@ expand_180: jsr e_r60otooo jsr e_r65ootoo jsr e_70roooto - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x lsr - sta 76*ROW_STRIDE + rowBlit,x - sta 77*ROW_STRIDE + rowBlit,x + sta 76*BLIT_STRIDE + blitRoll,x + sta 77*BLIT_STRIDE + blitRoll,x jsr e_78to jsr e_80orooo jsr e_t85ooroo @@ -6156,8 +6148,8 @@ expand_184: jsr e_r90otooo jsr e_r95ootoo jsr e_100roooto - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x lsr jsr e_107oo jsr e_t110ooroo @@ -6184,32 +6176,32 @@ expand_188: jsr e_55roooto jsr e_60orooo jsr e_t65ooroo - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x jsr e_72oro jsr e_75otooo jsr e_r80ootoo - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lsr - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x jsr e_87oto - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lsr - sta 92*ROW_STRIDE + rowBlit,x + sta 92*BLIT_STRIDE + blitRoll,x jsr e_93to jsr e_95orooo jsr e_t100ooroo - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 106*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x jsr e_107oro jsr e_110otooo lsr - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x jsr e_116otoo jsr e_120roooto jmp e_125oro @@ -6252,31 +6244,31 @@ expand_200: jsr e_t0oooro jsr e_5otooo jsr e_r10ootoo - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lsr - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x jsr e_17oto - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x lsr jsr e_22oo lda (pTex),y iny - sta 25*ROW_STRIDE + rowBlit,x - sta 26*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x + sta 26*BLIT_STRIDE + blitRoll,x jsr e_27oro jsr e_30otooo jsr e_r35ootoo - sta 40*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x lsr - sta 41*ROW_STRIDE + rowBlit,x - sta 42*ROW_STRIDE + rowBlit,x + sta 41*BLIT_STRIDE + blitRoll,x + sta 42*BLIT_STRIDE + blitRoll,x jsr e_43to jsr e_45orooo lda (pTex),y iny - sta 50*ROW_STRIDE + rowBlit,x - sta 51*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x + sta 51*BLIT_STRIDE + blitRoll,x jsr e_52oro jsr e_55otooo jsr e_r60ootoo @@ -6289,14 +6281,14 @@ expand_200: jsr e_95orooo lda (pTex),y iny - sta 100*ROW_STRIDE + rowBlit,x - sta 101*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x + sta 101*BLIT_STRIDE + blitRoll,x jsr e_102oro jsr e_105otooo jsr e_r110ootoo jsr e_115roooto - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x lsr jsr e_122oo jmp e_t125oo @@ -6310,10 +6302,10 @@ expand_208: jsr e_r10ootoo jsr e_15orooo jsr e_t20ooroo - sta 25*ROW_STRIDE + rowBlit,x + sta 25*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 26*ROW_STRIDE + rowBlit,x + sta 26*BLIT_STRIDE + blitRoll,x jsr e_27oo jsr e_r30ootoo jsr e_35roooto @@ -6324,8 +6316,8 @@ expand_208: jsr e_60orooo lda (pTex),y iny - sta 65*ROW_STRIDE + rowBlit,x - sta 66*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x + sta 66*BLIT_STRIDE + blitRoll,x jsr e_67oro jsr e_70otooo jsr e_r75ootoo @@ -6351,32 +6343,32 @@ expand_216: jsr e_20toooro jsr e_25otooo jsr e_30roooto - sta 35*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x jsr e_36oroo jsr e_40toooro - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x jsr e_46otoo jsr e_50roooto jsr e_55ooroo - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 61*ROW_STRIDE + rowBlit,x + sta 61*BLIT_STRIDE + blitRoll,x jsr e_62oo jsr e_r65ootoo - sta 70*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x lsr - sta 71*ROW_STRIDE + rowBlit,x + sta 71*BLIT_STRIDE + blitRoll,x jsr e_72oo jsr e_t75ooroo - sta 80*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 81*ROW_STRIDE + rowBlit,x + sta 81*BLIT_STRIDE + blitRoll,x jsr e_82oo jsr e_r85ootoo - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x lsr jsr e_92oo jsr e_t95ooroo @@ -6385,7 +6377,7 @@ expand_216: jsr e_110orooo lda (pTex),y iny - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x jsr e_116ooro jsr e_120otooo lsr @@ -6399,27 +6391,27 @@ expand_224: jsr e_t0oooro jsr e_5otooo jsr e_10roooto - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x jsr e_16oroo - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 21*ROW_STRIDE + rowBlit,x + sta 21*BLIT_STRIDE + blitRoll,x jsr e_22oo jsr e_r25ootoo jsr e_30orooo lda (pTex),y iny - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x jsr e_37oro jsr e_40otooo jsr e_45roooto jsr e_50ooroo - sta 55*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 56*ROW_STRIDE + rowBlit,x + sta 56*BLIT_STRIDE + blitRoll,x jsr e_57oo jsr e_r60ootoo jsr e_65orooo @@ -6442,63 +6434,63 @@ expand_232: ldy #7 jsr e_t0oooro jsr e_5ootoo - sta 10*ROW_STRIDE + rowBlit,x + sta 10*BLIT_STRIDE + blitRoll,x lsr - sta 11*ROW_STRIDE + rowBlit,x + sta 11*BLIT_STRIDE + blitRoll,x jsr e_12oo jsr e_t15oooro jsr e_20otooo jsr e_25roooto - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x jsr e_31oroo jsr e_35otooo lsr - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x - sta 42*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x + sta 42*BLIT_STRIDE + blitRoll,x jsr e_43to - sta 45*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x jsr e_46oroo - sta 50*ROW_STRIDE + rowBlit,x + sta 50*BLIT_STRIDE + blitRoll,x lda (pTex),y iny jsr e_51ooo jsr e_r55ootoo jsr e_60orooo jsr e_65toooro - sta 70*ROW_STRIDE + rowBlit,x - sta 71*ROW_STRIDE + rowBlit,x + sta 70*BLIT_STRIDE + blitRoll,x + sta 71*BLIT_STRIDE + blitRoll,x jsr e_72too - sta 75*ROW_STRIDE + rowBlit,x - sta 76*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x + sta 76*BLIT_STRIDE + blitRoll,x lsr jsr e_77oo lda (pTex),y iny - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x jsr e_82oro jsr e_85otooo - sta 90*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x lsr - sta 91*ROW_STRIDE + rowBlit,x + sta 91*BLIT_STRIDE + blitRoll,x jsr e_92oo jsr e_t95ooroo jsr e_100otooo - sta 105*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x lsr - sta 106*ROW_STRIDE + rowBlit,x - sta 107*ROW_STRIDE + rowBlit,x + sta 106*BLIT_STRIDE + blitRoll,x + sta 107*BLIT_STRIDE + blitRoll,x jsr e_108to jsr e_110ooroo - sta 115*ROW_STRIDE + rowBlit,x + sta 115*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 116*ROW_STRIDE + rowBlit,x + sta 116*BLIT_STRIDE + blitRoll,x jsr e_117oo lsr - sta 120*ROW_STRIDE + rowBlit,x - sta 121*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x + sta 121*BLIT_STRIDE + blitRoll,x jsr e_122oto jmp e_125oro @@ -6510,44 +6502,44 @@ expand_240: jsr e_5ootoo jsr e_10orooo jsr e_t15oooro - sta 20*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x jsr e_21otoo jsr e_25orooo lda (pTex),y iny - sta 30*ROW_STRIDE + rowBlit,x - sta 31*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x + sta 31*BLIT_STRIDE + blitRoll,x jsr e_32oro - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x jsr e_37too - sta 40*ROW_STRIDE + rowBlit,x - sta 41*ROW_STRIDE + rowBlit,x + sta 40*BLIT_STRIDE + blitRoll,x + sta 41*BLIT_STRIDE + blitRoll,x lsr jsr e_42oo lda (pTex),y iny - sta 45*ROW_STRIDE + rowBlit,x - sta 46*ROW_STRIDE + rowBlit,x + sta 45*BLIT_STRIDE + blitRoll,x + sta 46*BLIT_STRIDE + blitRoll,x jsr e_47oro jsr e_50ootoo jsr e_55orooo lda (pTex),y iny - sta 60*ROW_STRIDE + rowBlit,x + sta 60*BLIT_STRIDE + blitRoll,x jsr e_61ooro jsr e_65ootoo jsr e_70orooo jsr e_t75oooro - sta 80*ROW_STRIDE + rowBlit,x - sta 81*ROW_STRIDE + rowBlit,x + sta 80*BLIT_STRIDE + blitRoll,x + sta 81*BLIT_STRIDE + blitRoll,x jsr e_82too jsr e_85orooo lda (pTex),y iny - sta 90*ROW_STRIDE + rowBlit,x - sta 91*ROW_STRIDE + rowBlit,x - sta 92*ROW_STRIDE + rowBlit,x + sta 90*BLIT_STRIDE + blitRoll,x + sta 91*BLIT_STRIDE + blitRoll,x + sta 92*BLIT_STRIDE + blitRoll,x jsr e_93ro jsr e_95ootoo jsr e_100orooo @@ -6556,7 +6548,7 @@ expand_240: jsr e_115orooo lda (pTex),y iny - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x jsr e_121ooro jmp e_125oo @@ -6567,58 +6559,58 @@ expand_248: jsr e_t0oooro jsr e_5ootoo jsr e_10orooo - sta 15*ROW_STRIDE + rowBlit,x + sta 15*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 16*ROW_STRIDE + rowBlit,x + sta 16*BLIT_STRIDE + blitRoll,x jsr e_17oo lsr - sta 20*ROW_STRIDE + rowBlit,x - sta 21*ROW_STRIDE + rowBlit,x + sta 20*BLIT_STRIDE + blitRoll,x + sta 21*BLIT_STRIDE + blitRoll,x jsr e_22oto jsr e_25ooroo - sta 30*ROW_STRIDE + rowBlit,x + sta 30*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 31*ROW_STRIDE + rowBlit,x + sta 31*BLIT_STRIDE + blitRoll,x jsr e_32oo lsr - sta 35*ROW_STRIDE + rowBlit,x - sta 36*ROW_STRIDE + rowBlit,x + sta 35*BLIT_STRIDE + blitRoll,x + sta 36*BLIT_STRIDE + blitRoll,x jsr e_37oto jsr e_40ooroo jsr e_45otooo jsr e_50roooo lda (pTex),y iny - sta 55*ROW_STRIDE + rowBlit,x - sta 56*ROW_STRIDE + rowBlit,x + sta 55*BLIT_STRIDE + blitRoll,x + sta 56*BLIT_STRIDE + blitRoll,x jsr e_57oro jsr e_60otooo - sta 65*ROW_STRIDE + rowBlit,x + sta 65*BLIT_STRIDE + blitRoll,x lsr - sta 66*ROW_STRIDE + rowBlit,x + sta 66*BLIT_STRIDE + blitRoll,x jsr e_67oo jsr e_t70oooro - sta 75*ROW_STRIDE + rowBlit,x + sta 75*BLIT_STRIDE + blitRoll,x jsr e_76otoo jsr e_80orooo - sta 85*ROW_STRIDE + rowBlit,x + sta 85*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 86*ROW_STRIDE + rowBlit,x + sta 86*BLIT_STRIDE + blitRoll,x jsr e_87oo jsr e_r90ootoo jsr e_95orooo - sta 100*ROW_STRIDE + rowBlit,x + sta 100*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 101*ROW_STRIDE + rowBlit,x + sta 101*BLIT_STRIDE + blitRoll,x jsr e_102oo lsr - sta 105*ROW_STRIDE + rowBlit,x - sta 106*ROW_STRIDE + rowBlit,x - sta 107*ROW_STRIDE + rowBlit,x + sta 105*BLIT_STRIDE + blitRoll,x + sta 106*BLIT_STRIDE + blitRoll,x + sta 107*BLIT_STRIDE + blitRoll,x jsr e_108to jsr e_110ooroo jsr e_115otooo @@ -6626,48 +6618,48 @@ expand_248: jmp e_125oo e_125oro: - sta 125*ROW_STRIDE + rowBlit,x - sta 126*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x + sta 126*BLIT_STRIDE + blitRoll,x lsr - sta 127*ROW_STRIDE + rowBlit,x + sta 127*BLIT_STRIDE + blitRoll,x rts e_125roo: - sta 125*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x lsr - sta 126*ROW_STRIDE + rowBlit,x - sta 127*ROW_STRIDE + rowBlit,x + sta 126*BLIT_STRIDE + blitRoll,x + sta 127*BLIT_STRIDE + blitRoll,x rts e_125too: - sta 125*ROW_STRIDE + rowBlit,x + sta 125*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 126*ROW_STRIDE + rowBlit,x - sta 127*ROW_STRIDE + rowBlit,x + sta 126*BLIT_STRIDE + blitRoll,x + sta 127*BLIT_STRIDE + blitRoll,x rts e_120rootoo: - sta 120*ROW_STRIDE + rowBlit,x + sta 120*BLIT_STRIDE + blitRoll,x lsr - sta 121*ROW_STRIDE + rowBlit,x - sta 122*ROW_STRIDE + rowBlit,x + sta 121*BLIT_STRIDE + blitRoll,x + sta 122*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 123*ROW_STRIDE + rowBlit,x - sta 124*ROW_STRIDE + rowBlit,x + sta 123*BLIT_STRIDE + blitRoll,x + sta 124*BLIT_STRIDE + blitRoll,x rts e_t5orooto: lda (pTex),y iny - sta 5*ROW_STRIDE + rowBlit,x - sta 6*ROW_STRIDE + rowBlit,x + sta 5*BLIT_STRIDE + blitRoll,x + sta 6*BLIT_STRIDE + blitRoll,x lsr - sta 7*ROW_STRIDE + rowBlit,x - sta 8*ROW_STRIDE + rowBlit,x + sta 7*BLIT_STRIDE + blitRoll,x + sta 8*BLIT_STRIDE + blitRoll,x lda (pTex),y iny - sta 9*ROW_STRIDE + rowBlit,x + sta 9*BLIT_STRIDE + blitRoll,x rts diff --git a/Platform/Apple/virtual/src/raycast/expand_hdr.i b/Platform/Apple/virtual/src/raycast/expand_hdr.i new file mode 100644 index 00000000..4d6b9e1a --- /dev/null +++ b/Platform/Apple/virtual/src/raycast/expand_hdr.i @@ -0,0 +1,100 @@ + + .pc02 + +; Select mipmap level 0 (64x64 pixels = 32x32 bytes) +selectMip0: + ; pTex is already pointing at level 0, no need to adjust its level. + ; However, we do need to move it to the correct column. Currently txColumn + ; is 0..255 pixels, which we need to translate to 0..31 columns; that's + ; a divide by 8. But then we need to multiply by 32 bytes per column, + ; so (1/8)*32 = 4, so we need to multiply by 4 after masking. + lda txColumn + and #$F8 ; retain upper 5 bits + stz tmp + asl + rol tmp ; multiplied by 2 + asl + rol tmp ; multiplied by 4 + ldy tmp +mipReady: + clc ; adjust pTex by that much + adc pTex + sta pTex + tya + adc pTex+1 + sta pTex+1 + ldy pixNum ; get offset into the blit roll for this column + ldx @blitOffsets,y + ldy #0 ; default to copying from top of column + rts +@blitOffsets: .byte BLIT_OFF0,BLIT_OFF1,BLIT_OFF2,BLIT_OFF3,BLIT_OFF4,BLIT_OFF5,BLIT_OFF6 + +; Select mipmap level 0 (32x32 pixels = 16x16 bytes) +selectMip1: + ; pTex is pointing at level 0, so we need to move it to level 1. + ; Then we need to move it to the correct column. Currently txColumn + ; is 0..255 pixels, which we need to translate to 0..15 columns; that's + ; a divide by 16. But then we need to multiply by 16 bytes per column, + ; so (1/16)*16 = 1 ==> no multiply needed. + lda txColumn + and #$F0 ; retain upper 4 bits + ldy #>MIP_OFFSET_1 ; adjust to mip level 1 + bra mipReady + +; Select mipmap level 2 (16x16 pixels = 8x8 bytes) +selectMip2: + ; pTex is pointing at level 0, so we need to move it to level 2. + ; Then we need to move it to the correct column. Currently txColumn + ; is 0..255 pixels, which we need to translate to 0..8 columns; that's + ; a divide by 32. But then we need to multiply by 8 bytes per column, + ; so (1/32)*8 = 1/4 ==> overall we need to divide by 4. + lda txColumn + and #$E0 ; retain upper 3 bits + lsr ; div by 2 + lsr ; div by 4 + ; no need to add #MIP_OFFSET_2 ; adjust to mip level 2 + bra mipReady + +; Select mipmap level 3 (8x8 pixels = 4x4 bytes) +selectMip3: + ; pTex is pointing at level 0, so we need to move it to level 3. + ; Then we need to move it to the correct column. Currently txColumn + ; is 0..255 pixels, which we need to translate to 0..3 columns; that's + ; a divide by 64. But then we need to multiply by 4 bytes per column, + ; so (1/64)*4 = 1/16 ==> overall we need to divide by 16. + lda txColumn + and #$C0 ; retain upper 2 bits + lsr ; div by 2 + lsr ; div by 4 + lsr ; div by 8 + lsr ; div by 16 + clc + adc #MIP_OFFSET_3 ; adjust to mip level 3 + bra mipReady + +; Select mipmap level 4 (4x4 pixels = 2x2 bytes) +selectMip4: + ; pTex is pointing at level 0, so we need to move it to level 4. + ; Then we need to move it to the correct column. Currently txColumn + ; is 0..255 pixels, which we need to translate to 0..1 columns; that's + ; a divide by 128. But then we need to multiply by 2 bytes per column, + ; so (1/128)*2 = 1/64 ==> overall we need to divide by 64 + lda txColumn + and #$80 ; retain the high bit + beq :+ ; if not set, result should be zero + lda #64 ; else result should be 64 +: clc + adc #MIP_OFFSET_4 ; adjust to mip level 4 + bra mipReady + +; Select mipmap level 5 (2x2 pixels = 1x1 bytes) +selectMip5: + ; Mip level 5 is super-easy: it's one byte. Not much choice there. + lda #MIP_OFFSET_5 + bra mipReady + + diff --git a/Platform/Apple/virtual/src/raycast/genExpand.py b/Platform/Apple/virtual/src/raycast/genExpand.py index 075b7446..6f59f4e7 100755 --- a/Platform/Apple/virtual/src/raycast/genExpand.py +++ b/Platform/Apple/virtual/src/raycast/genExpand.py @@ -21,16 +21,7 @@ dstHeights = set() outFile = open("expand.s", "w") outFile.write(" .org $800\n") -outFile.write(" .pc02\n") -outFile.write("pTex = $A\n") -outFile.write("selectMip0 = $7003\n") -outFile.write("selectMip1 = selectMip0+3\n") -outFile.write("selectMip2 = selectMip1+3\n") -outFile.write("selectMip3 = selectMip2+3\n") -outFile.write("selectMip4 = selectMip3+3\n") -outFile.write("selectMip5 = selectMip4+3\n") -outFile.write("rowBlit = $B000\n") -outFile.write("ROW_STRIDE = 29\n") +outFile.write(" .include \"render.i\"\n") outFile.write("\n") def calcKey(cmds): @@ -127,7 +118,7 @@ class Segment: outFile.write(" lsr\n") else: assert c < screenHeight - outFile.write(" sta %s*ROW_STRIDE + rowBlit,x\n" % c) + outFile.write(" sta %s*BLIT_STRIDE + blitRoll,x\n" % c) else: if grouped: outFile.write(" rts\n") @@ -228,6 +219,9 @@ for h in range(0, 256, 2): outFile.write(" .addr expand_%d\n" % dstHeight) outFile.write("\n") +# Include the expand header code +outFile.write(" .include \"expand_hdr.i\"\n") + # Let's optimize. segsToOpt = copy.copy(allSegs) while len(segsToOpt) > 0: diff --git a/Platform/Apple/virtual/src/raycast/render.i b/Platform/Apple/virtual/src/raycast/render.i new file mode 100644 index 00000000..000d8949 --- /dev/null +++ b/Platform/Apple/virtual/src/raycast/render.i @@ -0,0 +1,125 @@ +; Shared definitions for the rendering code + +; Constants +TOP_LINE = $2180 ; 24 lines down from top +NLINES = 128 +SKY_COLOR_E = 1 ; blue +SKY_COLOR_O = 1 ; blue +GROUND_COLOR_E = 4 ; orange +GROUND_COLOR_O = 0 ; black +TEX_SIZE = $555 ; 32x32 + 16x16 + 8x8 + 4x4 + 2x2 + 1x1 + +; Byte offset for each pixel in the blit unroll +BLIT_OFF0 = 5 +BLIT_OFF1 = 8 +BLIT_OFF2 = 11 +BLIT_OFF3 = 1 +BLIT_OFF4 = 17 +BLIT_OFF5 = 20 +BLIT_OFF6 = 24 + +BLIT_STRIDE = 29 + +; Renderer zero page +lineCt = $3 ; len 1 +txNum = $4 ; len 1 +txColumn = $5 ; len 1 +pLine = $6 ; len 2 +pDst = $8 ; len 2 +pTex = $A ; len 2 +pixNum = $C ; len 1 +byteNum = $D ; len 1 +pTmp = $E ; len 2 +tmp = $10 ; len 2 +backBuf = $12 ; len 1 (value 0 or 1) +frontBuf = $13 ; len 1 (value 0 or 1) +pRayData = $14 ; len 2 +playerX = $16 ; len 2 (hi=integer, lo=fraction) +playerY = $18 ; len 2 (hi=integer, lo=fraction) +rayDirX = $1A ; len 1 +rayDirY = $1B ; len 1 +stepX = $1C ; len 1 +stepY = $1D ; len 1 +mapX = $1E ; len 1 +mapY = $1F ; len 1 +sideDistX = $50 ; len 1 +sideDistY = $51 ; len 1 +deltaDistX = $52 ; len 1 +deltaDistY = $53 ; len 1 +dist = $54 ; len 2 +diff = $56 ; len 2 +playerDir = $58 ; len 1 + +; Other monitor locations +a2l = $3E +a2h = $3F +resetVec = $3F2 + +; Tables and buffers +decodeTo01 = $800 +decodeTo23 = $900 +decodeTo45 = $A00 +decodeTo56 = $B00 +decodeTo57 = $C00 +clrBlitRollE = $D00 ; size 3*(128/2) = $C0, plus 2 for tya and rts +clrBlitRollO = $DC2 ; size 3*(128/2) = $C0, plus 2 for tya and rts +XF00 = $E00 ; unused + +prodosBuf = $AC00 ; temporary, before building the tables +screen = $2000 + +;--------------------------------- +; The following are all in aux mem... +expandVec = $800 ; size with expandCode: $30E9 +expandCode = $900 +textures = $3900 +tex0 = textures +tex1 = tex0+TEX_SIZE +tex2 = tex1+TEX_SIZE +tex3 = tex2+TEX_SIZE +texEnd = tex3+TEX_SIZE +; back to main mem +;--------------------------------- + +blitRoll = $B000 ; Unrolled blitting code. Size 29*128 = $E80, plus 1 for rts +MLI = $BF00 ; Entry point for ProDOS MLI +memMap = $BF58 ; ProDOS memory map + +; I/O locations +kbd = $C000 +clrAuxRd = $C002 +setAuxRd = $C003 +clrAuxWr = $C004 +setAuxWr = $C005 +clrAuxZP = $C008 +setAuxZP = $C009 +kbdStrobe = $C010 +clrText = $C050 +setText = $C051 +clrMixed = $C052 +setMixed = $C053 +page1 = $C054 +page2 = $C055 +clrHires = $C056 +setHires = $C057 + +; ROM routines +prntax = $F941 +rdkey = $FD0C +getln1 = $FD6F +crout = $FD8E +prbyte = $FDDA +cout = $FDED +prerr = $FF2D +monitor = $FF69 +getnum = $FFA7 + +; mipmap level offsets +MIP_OFFSET_0 = 0 +MIP_OFFSET_1 = $400 ; 32*32 +MIP_OFFSET_2 = $500 ; 32*32 + 16*16 +MIP_OFFSET_3 = $540 ; 32*32 + 16*16 + 8*8 +MIP_OFFSET_4 = $550 ; 32*32 + 16*16 + 8*8 + 4*4 +MIP_OFFSET_5 = $554 ; 32*32 + 16*16 + 8*8 + 4*4 + 2*2 + + diff --git a/Platform/Apple/virtual/src/raycast/render.s b/Platform/Apple/virtual/src/raycast/render.s index 13d55e7d..ae5426e3 100644 --- a/Platform/Apple/virtual/src/raycast/render.s +++ b/Platform/Apple/virtual/src/raycast/render.s @@ -1,6 +1,5 @@ .org $7000 -codeBeg = * .pc02 ; Enable 65c02 ops @@ -10,136 +9,17 @@ codeBeg = * ; code is at the very end. We jump to it now. jmp test -; Vectors for mip-map level selection, called by expansion code. - jmp selectMip0 - jmp selectMip1 - jmp selectMip2 - jmp selectMip3 - jmp selectMip4 - jmp selectMip5 - ; Conditional assembly flags DOUBLE_BUFFER = 1 ; whether to double-buffer DEBUG = 0 ; turn on verbose logging -; Constants -TOP_LINE = $2180 ; 24 lines down from top -NLINES = 128 -SKY_COLOR_E = 1 ; blue -SKY_COLOR_O = 1 ; blue -GROUND_COLOR_E = 4 ; orange -GROUND_COLOR_O = 0 ; black -TEX_SIZE = $555 ; 32x32 + 16x16 + 8x8 + 4x4 + 2x2 + 1x1 - -; My zero page -lineCt = $3 ; len 1 -txNum = $4 ; len 1 -txColumn = $5 ; len 1 -pLine = $6 ; len 2 -pDst = $8 ; len 2 -pTex = $A ; len 2 -pixNum = $C ; len 1 -byteNum = $D ; len 1 -pTmp = $E ; len 2 -tmp = $10 ; len 2 -backBuf = $12 ; len 1 (value 0 or 1) -frontBuf = $13 ; len 1 (value 0 or 1) -pRayData = $14 ; len 2 -playerX = $16 ; len 2 (hi=integer, lo=fraction) -playerY = $18 ; len 2 (hi=integer, lo=fraction) -rayDirX = $1A ; len 1 -rayDirY = $1B ; len 1 -stepX = $1C ; len 1 -stepY = $1D ; len 1 -mapX = $1E ; len 1 -mapY = $1F ; len 1 -sideDistX = $50 ; len 1 -sideDistY = $51 ; len 1 -deltaDistX = $52 ; len 1 -deltaDistY = $53 ; len 1 -dist = $54 ; len 2 -diff = $56 ; len 2 -playerDir = $58 ; len 1 - -; Other monitor locations -a2l = $3E -a2h = $3F -resetVec = $3F2 - -; Tables and buffers -decodeTo01 = $800 -decodeTo23 = $900 -decodeTo45 = $A00 -decodeTo56 = $B00 -decodeTo57 = $C00 -clrBlitRollE = $D00 ; size 3*(128/2) = $C0, plus 2 for tya and rts -clrBlitRollO = $DC2 ; size 3*(128/2) = $C0, plus 2 for tya and rts -XF00 = $E00 ; unused - -prodosBuf = $AC00 ; temporary, before building the tables -screen = $2000 - -;--------------------------------- -; The following are all in aux mem... -expandVec = $800 -expandCode = $900 ; size $2F8C -textures = $3900 -tex0 = textures -tex1 = tex0+TEX_SIZE -tex2 = tex1+TEX_SIZE -tex3 = tex2+TEX_SIZE -texEnd = tex3+TEX_SIZE -; back to main mem -;--------------------------------- - -blitRoll = $B000 ; Unrolled blitting code. Size 29*128 = $E80, plus 1 for rts -MLI = $BF00 ; Entry point for ProDOS MLI -memMap = $BF58 ; ProDOS memory map - -; I/O locations -kbd = $C000 -clrAuxRd = $C002 -setAuxRd = $C003 -clrAuxWr = $C004 -setAuxWr = $C005 -clrAuxZP = $C008 -setAuxZP = $C009 -kbdStrobe = $C010 -clrText = $C050 -setText = $C051 -clrMixed = $C052 -setMixed = $C053 -page1 = $C054 -page2 = $C055 -clrHires = $C056 -setHires = $C057 - -; ROM routines -prntax = $F941 -rdkey = $FD0C -getln1 = $FD6F -crout = $FD8E -prbyte = $FDDA -cout = $FDED -prerr = $FF2D -monitor = $FF69 -getnum = $FFA7 - -; Pixel offsets in the blit table -blitOffsets: .byte 5,8,11,1,17,20,24 +; Shared constants, zero page, buffer locations, etc. + .include "render.i" ; texture addresses texAddrLo: .byte tex0,>tex1,>tex2,>tex3 -; mipmap level offsets -MIP_OFFSET_0 = 0 -MIP_OFFSET_1 = $400 ; 32*32 -MIP_OFFSET_2 = $500 ; 32*32 + 16*16 -MIP_OFFSET_3 = $540 ; 32*32 + 16*16 + 8*8 -MIP_OFFSET_4 = $550 ; 32*32 + 16*16 + 8*8 + 4*4 -MIP_OFFSET_5 = $554 ; 32*32 + 16*16 + 8*8 + 4*4 + 2*2 - ; Movement amounts when walking at each angle ; Each entry consists of an X bump and a Y bump, in 8.8 fixed point walkDirs: @@ -713,121 +593,6 @@ nextLine: stx pLine+1 rts -; Select mipmap level 0 (64x64 pixels = 32x32 bytes) -selectMip0: - ; pTex is already pointing at level 0, no need to adjust its level. - ; However, we do need to move it to the correct column. Currently txColumn - ; is 0..255 pixels, which we need to translate to 0..31 columns; that's - ; a divide by 8. But then we need to multiply by 32 bytes per column, - ; so (1/8)*32 = 4, so we need to multiply by 4 after masking. - lda txColumn - and #$F8 ; retain upper 5 bits - stz tmp - asl - rol tmp ; multiplied by 2 - asl - rol tmp ; multiplied by 4 - adc pTex ; adjust pTex by that much - sta pTex - lda tmp - adc pTex+1 - sta pTex+1 -mipReady: - ldy pixNum ; get offset into the blit roll for this column - ldx blitOffsets,y - ldy #0 ; default to copying from top of column - rts - -; Select mipmap level 0 (32x32 pixels = 16x16 bytes) -selectMip1: - ; pTex is pointing at level 0, so we need to move it to level 1. - ; Then we need to move it to the correct column. Currently txColumn - ; is 0..255 pixels, which we need to translate to 0..15 columns; that's - ; a divide by 16. But then we need to multiply by 16 bytes per column, - ; so (1/16)*16 = 1 ==> no multiply needed. - lda txColumn - and #$F0 ; retain upper 4 bits - clc - adc pTex - sta pTex ; no need to add #MIP_OFFSET_1 ; adjust to mip level 1 - sta pTex+1 - jmp mipReady - -; Select mipmap level 2 (16x16 pixels = 8x8 bytes) -selectMip2: - ; pTex is pointing at level 0, so we need to move it to level 2. - ; Then we need to move it to the correct column. Currently txColumn - ; is 0..255 pixels, which we need to translate to 0..8 columns; that's - ; a divide by 32. But then we need to multiply by 8 bytes per column, - ; so (1/32)*8 = 1/4 ==> overall we need to divide by 4. - lda txColumn - and #$E0 ; retain upper 3 bits - lsr ; div by 2 - lsr ; div by 4 - clc - adc pTex - sta pTex ; no need to add #MIP_OFFSET_2 ; adjust to mip level 2 - sta pTex+1 - jmp mipReady - -; Select mipmap level 3 (8x8 pixels = 4x4 bytes) -selectMip3: - ; pTex is pointing at level 0, so we need to move it to level 3. - ; Then we need to move it to the correct column. Currently txColumn - ; is 0..255 pixels, which we need to translate to 0..3 columns; that's - ; a divide by 64. But then we need to multiply by 4 bytes per column, - ; so (1/64)*4 = 1/16 ==> overall we need to divide by 16. - lda txColumn - and #$C0 ; retain upper 2 bits - lsr ; div by 2 - lsr ; div by 4 - lsr ; div by 8 - lsr ; div by 16 - clc - adc #MIP_OFFSET_3 ; adjust to mip level 3 - sta pTex+1 - jmp mipReady - -; Select mipmap level 4 (4x4 pixels = 2x2 bytes) -selectMip4: - ; pTex is pointing at level 0, so we need to move it to level 4. - ; Then we need to move it to the correct column. Currently txColumn - ; is 0..255 pixels, which we need to translate to 0..1 columns; that's - ; a divide by 128. But then we need to multiply by 2 bytes per column, - ; so (1/128)*2 = 1/64 ==> overall we need to divide by 64 - lda txColumn - and #$80 ; retain the high bit - beq :+ ; if not set, result should be zero - lda #64 ; else result should be 64 -: clc - adc #MIP_OFFSET_4 ; adjust to mip level 4 - sta pTex+1 - jmp mipReady - -; Select mipmap level 5 (2x2 pixels = 1x1 bytes) -selectMip5: - ; Mip level 5 is super-easy: it's one byte. Not much choice there. - lda pTex - clc - adc #MIP_OFFSET_5 - sta pTex+1 - jmp mipReady - ; Draw a ray that was traversed by calcRay drawRay: ; Make a pointer to the selected texture @@ -844,12 +609,7 @@ drawRay: lda #254 ; clamp max height : tax DEBUG_STR "Calling expansion code." - sta setAuxRd ; switch to aux mem where textures and expansion code live - jsr @callit ; call the unrolled code - sta clrAuxRd ; back to main mem - rts ; and we're done. -@callit: - jmp (expandVec,x) ; use vector to get to the right code + jmp $100 ; was copied here earlier from @callIt ; Template for blitting code blitTemplate: ; comments show byte offset @@ -981,19 +741,19 @@ makeClrBlit: ; Clear the blit clearBlit: - ldx blitOffsets+0 + ldx #BLIT_OFF0 jsr @clear2 - ldx blitOffsets+1 + ldx #BLIT_OFF1 jsr @clear2 - ldx blitOffsets+2 + ldx #BLIT_OFF2 jsr @clear2 - ldx blitOffsets+3 + ldx #BLIT_OFF3 jsr @clear2 - ldx blitOffsets+4 + ldx #BLIT_OFF4 jsr @clear2 - ldx blitOffsets+5 + ldx #BLIT_OFF5 jsr @clear2 - ldx blitOffsets+6 + ldx #BLIT_OFF6 @clear2: ldy #GROUND_COLOR_E lda #SKY_COLOR_E @@ -1215,6 +975,23 @@ test: eor #$A5 sta resetVec+2 +; Put ourselves high on the stack, then copy the expansion caller to low stack. + ldx #$FF + txs + ldx #12 +: lda @callIt,x + sta $100,x + dex + bpl :- + bra :+ +@callIt: + sta setAuxRd + jsr $10A + sta clrAuxRd + rts + jmp (expandVec,x) +: + ; Establish the initial player position and direction ; X=2.5 lda #2 @@ -1230,12 +1007,6 @@ test: lda #0 sta playerDir -; Copy our code to aux mem so we can seamlessly switch back and forth -; It's wasteful but makes things easy for now. - ldy #>codeBeg - ldx #>codeEnd - >codeBeg + 1 - jsr copyToAux - ; Load the texture expansion code DEBUG_STR "Loading files." lda #>expandVec @@ -2650,5 +2421,3 @@ precast_15: .byte $7F,$07,$05,$56 .res 4 ; to bring it up to 256 bytes per angle -codeEnd = * -