]> granicus.if.org Git - file/commitdiff
PR/496: Add more details for the PS/X executable format and add the CPE format.
authorChristos Zoulas <christos@zoulas.com>
Fri, 13 Nov 2015 00:39:08 +0000 (00:39 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 13 Nov 2015 00:39:08 +0000 (00:39 +0000)
magic/Magdir/console

index 9dee3ffc5f14ae3375f6431d597179955d542749..aea4902b6b8226d5ee9d41dd5e6e43ed2a4929f3 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: console,v 1.20 2015/03/15 23:21:42 christos Exp $
+# $File: console,v 1.21 2015/11/13 00:39:08 christos Exp $
 # Console game magic
 # Toby Deshane <hac@shoelace.digivill.net>
 #    ines:  file(1) magic for Marat's iNES Nintendo Entertainment System
 #------------------------------------------------------------------------------
 # Sony Playstation executables (Adam Sjoegren <asjo@diku.dk>) :
 0      string  PS-X\ EXE       Sony Playstation executable
+>16    lelong  x               PC=0x%08lx,
+>20    lelong  !0              GP=0x%08lx,
+>24    lelong  !0              .text=[0x%08lx,
+>>28   lelong  x               \b0x%lx],
+>32    lelong  !0              .data=[0x%08lx,
+>>36   lelong  x               \b0x%lx],
+>40    lelong  !0              .bss=[0x%08lx,
+>>44   lelong  x               \b0x%lx],
+>48    lelong  !0              Stack=0x%08lx,
+>48    lelong  =0              No Stack!,
+>52    lelong  !0              StackSize=0x%lx,
+#>76   string  >\0             (%s)
 #  Area:
 >113   string  x               (%s)
 
+# CPE executables
+0      string  CPE             CPE executable
+>3     byte    x               (version %d)
+
 #------------------------------------------------------------------------------
 # Microsoft Xbox executables .xbe (Esa Hyytia <ehyytia@cc.hut.fi>)
 0       string          XBEH            XBE, Microsoft Xbox executable