Commit 9a9487ca authored by Kevin Bracey's avatar Kevin Bracey
Browse files

PaletteV bulk read of pointer colours now works correctly in 1bpp modes.

Version 5.21. Tagged as 'Kernel-5_21'
parent aca95374
......@@ -6,9 +6,9 @@
GBLS Module_MinorVersion
GBLS Module_Date
GBLS Module_FullVersion
Module_MajorVersion SETS "5.20"
Module_Version SETA 520
Module_MajorVersion SETS "5.21"
Module_Version SETA 521
Module_MinorVersion SETS ""
Module_Date SETS "08 Mar 2000"
Module_FullVersion SETS "5.20"
Module_Date SETS "10 Mar 2000"
Module_FullVersion SETS "5.21"
END
/* (5.20)
/* (5.21)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 5.20
#define Module_MajorVersion_CMHG 5.21
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 08 Mar 2000
#define Module_Date_CMHG 10 Mar 2000
#define Module_MajorVersion "5.20"
#define Module_Version 520
#define Module_MajorVersion "5.21"
#define Module_Version 521
#define Module_MinorVersion ""
#define Module_Date "08 Mar 2000"
#define Module_Date "10 Mar 2000"
#define Module_FullVersion "5.20"
#define Module_FullVersion "5.21"
......@@ -748,6 +748,10 @@ PV_BulkRead ROUT
TEQ R8,#63
MOVEQ R8,#255 ; deal with braindamaged 8BPP case
;the mouse has colours 1-3
TST R7,#PV_BR_Mouse
MOVNE R8,#3
;take the colour type off the top of R1, leaving #colours wanted
BIC R1,R1,#&FF000000
......@@ -776,7 +780,6 @@ PV_BulkRead ROUT
TST R7,#PV_BR_Mouse
BEQ %FT40
ANDS LR,LR,#3
TEQ LR,#0
BEQ %FT50 ;colour 0 is invalid
ADD LR,LR,#256 ;bring into range (257-259)
......
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