There seems to be three RSC formats:
- Original format.
- TOS >= 4 format (colour icons, > 64k)
- "long" format (Interface, RSM, ORCS, > 64k)
I would expect the original format to be supported by all AES-es, and the TOS 4 format supported by TOS 4, MagiC, N.AES, XaAES and MyAES.
But what is the "long" format for? I understand the benefits over the TOS 4 format, but who uses it?
https://freemint.github.io/tos.hyp/en/a ... tml#RSXHDR
Is this supported by any AES directly, or does it require custom loading code?
RSC file formats
RSC file formats
Jo Even
VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
-
- Fuji Shaped Bastard
- Posts: 3413
- Joined: Sun Aug 03, 2014 5:54 pm
Re: RSC file formats
The ">64k" of TOS 4.04 is only because of the extra data needed for color icons. The actual resource data (OBJECTs, TEDINFOs etc) must still fit in the the first 64k, because all the offsets in the header are 16bit. The "long format" avoids this restriction by changing all offsets to 32bit. Sure, there may be not many applications that will need this (but ORCS is one of them 
AFAIK, only XaAES supports that format via rsrc_load(), but it can be detected using appl_getinfo(2).

AFAIK, only XaAES supports that format via rsrc_load(), but it can be detected using appl_getinfo(2).
Re: RSC file formats
Where can one find the documentation about the Long format?
Guillaume
Guillaume
Re: RSC file formats
The TOS formats:
https://bus-error.nokturnal.pl/atari_co ... dc.htm#rsc
Interface/RSM/ORCS format:
https://freemint.github.io/tos.hyp/en/a ... tml#RSXHDR
There's a library "xrsrc" in the Interface archives for loading and using RSC files in this format.
https://bus-error.nokturnal.pl/atari_co ... dc.htm#rsc
Interface/RSM/ORCS format:
https://freemint.github.io/tos.hyp/en/a ... tml#RSXHDR
There's a library "xrsrc" in the Interface archives for loading and using RSC files in this format.
Jo Even
VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
VanillaMiNT - Falcon060 - Milan060 - Falcon040 - MIST - Mega STE - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
Re: RSC file formats
As I know, the long format come from INTERFACE and source code was provide to use it.
MyAES support this for ever with rscr_load().
MyAES support this for ever with rscr_load().
OL
- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 3993
- Joined: Sun Jul 31, 2011 1:11 pm
Re: RSC file formats
TOS 4 format is supported also be (newer versions of) EmuTOS.joska wrote: Tue Mar 05, 2024 2:46 pm I would expect the original format to be supported by all AES-es, and the TOS 4 format supported by TOS 4, MagiC, N.AES, XaAES and MyAES.