Skip to content

title: "DecrunchFromIndex" description: TRSE built-in method (from IDE help)


DecrunchFromIndex

Systems: C64, MEGA65, PLUS4, C128, VIC20, PET, ATARI2600, APPLEII, SNES, ORIC, BBCM, ACORN, ATARI800
Parameters: a,b


DecrunchFromIndex( [address], [byte] );

  • [address] - address of crunched data
  • [byte] - index to decrunch

Description

Decrunches crunched data from the specific index. Used in conjunction with packed paw files that automatically generate index tables. Assume that you have compiled .paw-file with 5 crunched text screens, and wish to show them all sequentially

Example

// This paw file will contain an array of crunch indices #include "automatically_generated_paw_file.ras" begin for i:=0 to 5 do begin decrunch(my_crunched_data_array, i); // will decrunch and display each of the images.. ... wait... end;