diff options
author | Christos Zoulas <christos@zoulas.com> | 1997-11-05 15:52:11 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 1997-11-05 15:52:11 +0000 |
commit | e4c42d5ee48909393f345e43e3d599b55a76287f (patch) | |
tree | 55b2680d2197a280060b336df2a336348a218373 /magic | |
parent | 20c6aa7abdaf922e64c4e65d5a7d4768c27b950f (diff) | |
download | file-git-e4c42d5ee48909393f345e43e3d599b55a76287f.tar.gz |
Initial revision
Diffstat (limited to 'magic')
-rw-r--r-- | magic/Magdir/cisco | 10 | ||||
-rw-r--r-- | magic/Magdir/lecter | 4 | ||||
-rw-r--r-- | magic/Magdir/mime | 7 | ||||
-rw-r--r-- | magic/Magdir/os9 | 86 | ||||
-rw-r--r-- | magic/Magdir/ti-8x | 36 |
5 files changed, 143 insertions, 0 deletions
diff --git a/magic/Magdir/cisco b/magic/Magdir/cisco new file mode 100644 index 00000000..77e3efb5 --- /dev/null +++ b/magic/Magdir/cisco @@ -0,0 +1,10 @@ +#------------------------------------------------------------------------------ +# cisco: file(1) magic for cisco Systems routers +# +# Most cisco file-formats are covered by the generic elf code +# +# Microcode files are non-ELF, 0x8501 conflicts with NetBSD/alpha. +0 belong&0xffffff00 0x85011400 cisco IOS microcode +>7 string >\0 for '%s' +0 belong&0xffffff00 0x8501cb00 cisco IOS experimental microcode +>7 string >\0 for '%s' diff --git a/magic/Magdir/lecter b/magic/Magdir/lecter new file mode 100644 index 00000000..87c186ba --- /dev/null +++ b/magic/Magdir/lecter @@ -0,0 +1,4 @@ +#------------------------------------------------------------------------------ +# DEC SRC Virtual Paper: Lectern files +# Karl M. Hegbloom <karlheg@inetarena.com> +0 string lect DEC SRC Virtual Paper Lectern file diff --git a/magic/Magdir/mime b/magic/Magdir/mime new file mode 100644 index 00000000..01027091 --- /dev/null +++ b/magic/Magdir/mime @@ -0,0 +1,7 @@ +#------------------------------------------------------------------------------ +# mime: file(1) magic for MIME encoded files +# +0 string Content-Type:\ +>14 string >\0 %s +0 string Content-Type: +>13 string >\0 %s diff --git a/magic/Magdir/os9 b/magic/Magdir/os9 new file mode 100644 index 00000000..95d23f19 --- /dev/null +++ b/magic/Magdir/os9 @@ -0,0 +1,86 @@ +# +# $NetBSD: os9,v 1.2 1997/01/09 20:19:04 tls Exp $ +# +# Copyright (c) 1996 Ignatios Souvatzis. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This product includes software developed by Ignatios Souvatzis for +# the NetBSD project. +# 4. The name of the author may not be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# +# +# OS9/6809 module descriptions: +# +0 beshort 0x87CD OS9/6809 module: +# +>6 byte&0x0f 0x00 non-executable +>6 byte&0x0f 0x01 machine language +>6 byte&0x0f 0x02 BASIC I-code +>6 byte&0x0f 0x03 P-code +>6 byte&0x0f 0x04 C I-code +>6 byte&0x0f 0x05 COBOL I-code +>6 byte&0x0f 0x06 FORTRAN I-code +# +>6 byte&0xf0 0x10 program executable +>6 byte&0xf0 0x20 subroutine +>6 byte&0xf0 0x30 multi-module +>6 byte&0xf0 0x40 data module +# +>6 byte&0xf0 0xC0 system module +>6 byte&0xf0 0xD0 file manager +>6 byte&0xf0 0xE0 device driver +>6 byte&0xf0 0xF0 device descriptor +# +# OS9/m68k stuff (to be continued) +# +0 beshort 0x4AFC OS9/68K module: +# +# attr +>14 byte&0x80 0x80 re-entrant +>14 byte&0x40 0x40 ghost +>14 byte&0x20 0x20 system-state +# +# lang: +# +>13 byte 1 machine language +>13 byte 2 BASIC I-code +>13 byte 3 P-code +>13 byte 4 C I-code +>13 byte 5 COBOL I-code +>13 byte 6 Fortran I-code +# +# +# type: +# +>12 byte 1 program executable +>12 byte 2 subroutine +>12 byte 3 multi-module +>12 byte 4 data module +>12 byte 11 trap library +>12 byte 12 system module +>12 byte 13 file manager +>12 byte 14 device driver +>12 byte 15 device descriptor diff --git a/magic/Magdir/ti-8x b/magic/Magdir/ti-8x new file mode 100644 index 00000000..d740060a --- /dev/null +++ b/magic/Magdir/ti-8x @@ -0,0 +1,36 @@ +# ------------------------------------------------------------------------ +# ti-8x: file(1) magic for the TI-8x and TI-92 Graphing Calculators. +# +# From: Ryan McGuire (rmcguire@freenet.columbus.oh.us). +# +# NOTE: This list is not complete. +# +# Magic Numbers for the TI-82 +# +0 string **TI82** TI-82 Graphing Calculator +>0x000037 byte 0x0B TI-BASIC Group/Program File. +# +# Magic Numbers for the TI-83 +# +0 string **TI83** TI-83 Graphing Calculator +>0x000037 byte 0x0B TI-BASIC Group/Program File. +# +# Magic Numbers for the TI-85 +# +0 string **TI85** TI-85 Graphing Calculator +>11 string Backup Backup File. +>0x000032 string ZS4 - ZShell Version 4 File. +>0x000032 string ZS3 - ZShell Version 3 File. +>0x00000B string GDatabase Graphics Database. +>0x00003B byte 0x12 TI-BASIC Group/Program File. +# +# Magic Numbers for the TI-92 +# +0 string **TI92** TI-92 Graphing Calculator +>0x000058 byte 0x12 TI-BASIC Group File. +>0x000012 string Function Function. +>0x000048 byte 0x12 TI-BASIC Program. +# Files for the TI-80 and TI-81 are pretty rare. I'm not going to put the +# program/group magic numbers in here because I cannot find any. +0 string **TI80** TI-80 Graphing Calculator File. +0 string **TI81** TI-81 Graphing Calculator File. |