xref: /freebsd/contrib/file/magic/Magdir/uxn (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1
2#------------------------------------------------------------------------------
3# $File: uxn,v 1.1 2024/07/30 22:25:24 christos Exp $
4# uxn:  file(1) magic for Uxn ROM files
5#
6# https://100r.co/site/uxn.html
7# https://wiki.xxiivv.com/site/uxn.html
8#
9# Created by Samuel Dionne-Riel <samuel@dionne-riel.com>
10
11# https://wiki.xxiivv.com/site/metadata.html
120x00			byte 		=0xa0
13>0x01			ubeshort 	x
14>>0x03			byte 		=0x80
15>>>0x04			byte 		=0x06
16>>>>0x05		byte 		=0x37	Varvara Uxn ROM
17>>>>>0x01		ubeshort 	x       with metadata at 0x%x
18>>>>>>(0x01.S-0x0ff)	string 		x 	(%s)
19