• Jeffrey Lee's avatar
    Fix plotting of RISC OS 5 type sprites and masks. Fix hang when attempting to... · 00df471b
    Jeffrey Lee authored
    Fix plotting of RISC OS 5 type sprites and masks. Fix hang when attempting to report "alpha mask not supported" error. Fix reading/writing of alpha mask pixels.
    
    Detail:
      s/vdu/vdugrafg - Fixed PutSprite and PlotMask to correctly deal with RISC OS 5 type sprite mode words. Fix infinite loops in PutSpriWideMaskErr casued by R14 getting trashed.
      s/vdu/vdugrafh - Fixed SpriteMaskAddr malfunctioning when trying to calculate addresses in alpha masks. Minor ReadPixelMask & WritePixelMask optimisations.
      s/vdu/vduswis - Fixed OS_ScreenMode 13 & 14 to count "G2" as a valid colour specifier.
    Admin:
      Tested on BB-xM
      Should hopefully fix the random hangs reported on the forums when trying to use sprites with alpha masks
    
    
    Version 5.35, 4.79.2.197. Tagged as 'Kernel-5_35-4_79_2_197'
    00df471b
vduswis 90.4 KB