move CoordinatesFile pstring to SHR stage 2 so it doesn't get clobbered by FXDATA index

This commit is contained in:
4am 2024-06-02 21:17:51 -04:00
parent ceca849a86
commit 021c06725a
7 changed files with 28 additions and 21 deletions

View File

@ -22,13 +22,14 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.IRIS.DATA"
startzp
!pseudopc 0 {
stage3
+SHR_STAGE_3 coords, shrlo, shrhi, mirror_rows, shr_mirror_cols
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.IRIS.DATA"

View File

@ -23,13 +23,14 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.IRIS.DATA"
startzp
!pseudopc 0 {
stage3
+SHR_STAGE_3 coords, shrlo, shrhi, mirror_rows, shr_mirror_cols
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.IRIS.DATA"

View File

@ -28,6 +28,9 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.RADIAL.DATA"
startzp
!pseudopc 0 {
; bottom-left quadrant (opposite row, original column, reverse input order)
@ -118,7 +121,5 @@ src2 lda $FD00, y ; SMC high byte
exit rts
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.RADIAL.DATA"

View File

@ -28,6 +28,9 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.RADIAL.DATA"
startzp
!pseudopc 0 {
; top-left quadrant (original row, original column, original input order)
@ -91,7 +94,5 @@ src2 lda $FD00, y ; SMC high byte
exit rts
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.RADIAL.DATA"

View File

@ -22,13 +22,14 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.RIPPLE.DATA"
startzp
!pseudopc 0 {
stage3
+SHR_STAGE_3 coords, shrlo, shrhi, mirror_rows, shr_mirror_cols
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.RIPPLE.DATA"

View File

@ -22,13 +22,14 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.SFIRIS.DATA"
startzp
!pseudopc 0 {
stage3
+SHR_STAGE_3 coords, shrlo, shrhi, mirror_rows, shr_mirror_cols
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.SFIRIS.DATA"

View File

@ -23,13 +23,14 @@ stage2
+SHR_STAGE_2 startzp, endzp
rts
CoordinatesFile
+PSTRING "SHR.SFIRIS.DATA"
startzp
!pseudopc 0 {
stage3
+SHR_STAGE_3 coords, shrlo, shrhi, mirror_rows, shr_mirror_cols
}
endzp
!if (* - stage2 > $200) { !serious "Stage2 code is too large" }
}
CoordinatesFile
+PSTRING "SHR.SFIRIS.DATA"