Commit 327f14a0 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix background tiling logic

Detail:
  s/StartLoop - Fix non-softload version to exit immediately after the tiled OS_SpriteOp instead of falling through to the old manual loop. Make sure r1 is initialised correctly for the manual loop (contrary to the source comments, the function was previously relying on r1 being a pointer to the redraw rectangle on entry)
Admin:
  Tested on BB-xM (ROM build with OS_SpriteOp 65), Iyonix (softload without OS_SpriteOp 65 available)
  Issue spotted by eagle-eyed Sprow


Version 0.98. Tagged as 'Pinboard-0_98'
parent c257ae41
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.97"
Module_Version SETA 97
Module_MajorVersion SETS "0.98"
Module_Version SETA 98
Module_MinorVersion SETS ""
Module_Date SETS "09 Mar 2014"
Module_ApplicationDate SETS "09-Mar-14"
Module_ComponentName SETS "Pinboard"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Pinboard"
Module_FullVersion SETS "0.97"
Module_HelpVersion SETS "0.97 (09 Mar 2014)"
Module_FullVersion SETS "0.98"
Module_HelpVersion SETS "0.98 (09 Mar 2014)"
END
/* (0.97)
/* (0.98)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.97
#define Module_MajorVersion_CMHG 0.98
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 09 Mar 2014
#define Module_MajorVersion "0.97"
#define Module_Version 97
#define Module_MajorVersion "0.98"
#define Module_Version 98
#define Module_MinorVersion ""
#define Module_Date "09 Mar 2014"
......@@ -18,6 +18,6 @@
#define Module_ComponentName "Pinboard"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Pinboard"
#define Module_FullVersion "0.97"
#define Module_HelpVersion "0.97 (09 Mar 2014)"
#define Module_LibraryVersionInfo "0:97"
#define Module_FullVersion "0.98"
#define Module_HelpVersion "0.98 (09 Mar 2014)"
#define Module_LibraryVersionInfo "0:98"
......@@ -531,9 +531,13 @@ PlotImageTiled
LDR r1,=ErrorNumber_Sprite_BadReasonCode
TEQ r0,r1
EXIT NE
|
EXIT
]
05
ADR r1,dataarea ; Get the redraw rectangle
; Work out MinX of first tile to plot
LDR r14,[r1,#28] ; X0 of current rectangle.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment