Uxn program file
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|rom}} }} Uxn is a simple virtual machine. A Uxn program file is loaded into the virtual machine's me...") |
(Identification of file) |
||
Line 6: | Line 6: | ||
Uxn is a simple virtual machine. A Uxn program file is loaded into the virtual machine's memory starting at address 0x0100, and then execution starts at address 0x0100. | Uxn is a simple virtual machine. A Uxn program file is loaded into the virtual machine's memory starting at address 0x0100, and then execution starts at address 0x0100. | ||
+ | |||
+ | == Identification == | ||
+ | Any valid uxn file will have the first byte being a nonzero multiple of thirty-two, other than thirty-two itself. | ||
+ | |||
+ | A uxn file with metadata will have {{magic|A0 xx xx 80 06 37}} as the first six bytes, where the second and third bytes are a big-endian 16-bit address of the metadata (where the beginning of the file is address 0x0100). | ||
== Links == | == Links == | ||
* https://wiki.xxiivv.com/site/uxn.html | * https://wiki.xxiivv.com/site/uxn.html |
Revision as of 17:33, 25 April 2023
Uxn is a simple virtual machine. A Uxn program file is loaded into the virtual machine's memory starting at address 0x0100, and then execution starts at address 0x0100.
Identification
Any valid uxn file will have the first byte being a nonzero multiple of thirty-two, other than thirty-two itself.
A uxn file with metadata will have A0 xx xx 80 06 37
as the first six bytes, where the second and third bytes are a big-endian 16-bit address of the metadata (where the beginning of the file is address 0x0100).