• Jeffrey Lee's avatar
    Automatically adjust wimpslot when running AIFs via FSControl 4 · 1c07c7cd
    Jeffrey Lee authored
    Detail:
      s/FSCommon - Adjust ValidateR2R5_WriteToCoreCodeLoad to try and increase the wimpslot if it isn't already big enough to contain the region being validated (i.e. the program being loaded)
      s/FSControl - FSControl 4 now checks AIF memory limts and tries to extend wimpslot as necessary both before and after decompression. An extra 8K is added to the calculated memory requirements to take into account memory which isn't declared in the header (root stack chunk?) which is required by SCL initialisation.
    Admin:
      Tested in Iyonix ROM softload
      This should eliminate most/all of the "No writeable memory at this address", abort on data transfer, and "Not enough memory for C library" errors users receive due to the wimpslot being too small when all they want to do is run a program
    
    
    Version 2.81. Tagged as 'FileSwitch-2_81'
    1c07c7cd
FSControl 78.3 KB