Crates.io | neotron-romfs-mkfs |
lib.rs | neotron-romfs-mkfs |
version | 0.1.0 |
source | src |
created_at | 2024-06-06 17:07:47.625323 |
updated_at | 2024-06-06 17:07:47.625323 |
description | Build a Neotron ROM-FS image |
homepage | |
repository | https://github.com/Neotron-Compute/neotron-romfs |
max_upload_size | |
id | 1263907 |
size | 13,737 |
Make a ROMFS image:
$ cargo run --bin neotron-romfs-mkfs -- ./snake ./flames > rom.fs
Compiling neotron-romfs-mkfs v0.1.0 (/home/jonathan/Documents/github/neotron-romfs/mkfs)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
Running `target/debug/neotron-romfs-mkfs ./snake ./flames`
Loading ./snake
Loading ./flames
Then you can use lsfs
to inspect the contents:
$ cargo run --bin neotron-romfs-lsfs -- ./rom.fs
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/neotron-romfs-lsfs ./rom.fs flames`
Found name="snake", ctime=2024-06-05T17:16:51Z, size=1138136
Found name="flames", ctime=2024-06-05T17:16:51Z, size=1090264
Neotron-ROMFS-mkfs Copyright (c) The Neotron Developers, 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
The full text is here