• Jeffrey Lee's avatar
    Change Wimp_ReadSysInfo 2 to not return alpha sprite names. Add... · 8913591b
    Jeffrey Lee authored
    Change Wimp_ReadSysInfo 2 to not return alpha sprite names. Add Wimp_ReadSysInfo 29 and Wimp_Extend 257.
    
    Detail:
      s/Wimp01 - Change romspr_suffix initialisation so that it won't store alpha sprite suffixes. This has the knock-on effect of making Wimp_ReadSysInfo 2 no longer return alpha sprite suffixes, without affecting any of the sprite search code
      hdr/Wimp, s/Wimp01 - Add Wimp_ReadSysInfo 29 to read the alphaspriteflag value - i.e. whether alpha sprites are supported by the OS/Wimp and *IconSprites, Wimp_Extend 13, etc. will look for them
      hdr/Wimp - Document the private Wimp_Extend reason codes and add a couple of ROL's reason codes
      s/NewSWIs - Tidy up Wimp_Extend implementation to use a jump table instead of a load of tests and branches. Add an implementation of ROL's Wimp_Extend 257, which just acts as a wrapper around Wimp_Extend 13
    Admin:
      Tested on Raspberry Pi
      Wimp_ReadSysInfo 2 change should fix issue reported on forums with software unexpectedly using low-res sprites or failing altogether:
      http://www.riscosopen.org/forum/forums/4/topics/2274
    
    
    Version 5.35. Tagged as 'Wimp-5_35'
    8913591b
VersionASM 1010 Bytes