uxn 567 B

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