This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
614 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Submodule TempleOS
updated
from 0e5871 to f75b59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule isoparser
deleted from
954c2c
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
This is free and unencumbered software released into the public domain. | ||
|
||
Anyone is free to copy, modify, publish, use, compile, sell, or | ||
distribute this software, either in source code form or as a compiled | ||
binary, for any purpose, commercial or non-commercial, and by any | ||
means. | ||
|
||
In jurisdictions that recognize copyright laws, the author or authors | ||
of this software dedicate any and all copyright interest in the | ||
software to the public domain. We make this dedication for the benefit | ||
of the public at large and to the detriment of our heirs and | ||
successors. We intend this dedication to be an overt act of | ||
relinquishment in perpetuity of all present and future rights to this | ||
software under copyright law. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
For more information, please refer to <http://unlicense.org> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# redseafs | ||
FUSE implementation of TempleOS RedSea file system | ||
|
||
|
||
This is a proof-of-concept, it will probably get better. (Time zones are not handled correctly.) | ||
|
||
|
||
Currently, you can use redseafs to create/modify/read RedSea ISO.C files on any system that supports FUSE. | ||
|
||
|
||
# Commands | ||
|
||
`isoc-mount [--rw] <filename.ISO.C> <mount_point>` will mount an ISO.C image on `mount_point` | ||
|
||
Specify `--rw` to commit writes to ISO.C file, otherwise discarded on unmount. | ||
|
||
Specify `--2k` to pad ISO.C file to multiple of 2048 bytes, for compatibility with VirtualBox virtual CD or physical disc ONLY | ||
|
||
(2k padded ISO.C files will not mount with TempleOS `MountFile()`, you will get `ERROR: Not RedSea`) | ||
|
||
If the ISO.C file does not exist, a blank filesystem will be created (and written on unmount if `--rw` specified.) | ||
|
||
`fusermount -u <mount_point>` to unmount | ||
|
||
# Installation | ||
|
||
Clone the repo, move `isoc-mount` and `isoc.py` to `/usr/bin`, `chmod +x`. | ||
|
||
On a Debian/Ubuntu system: `sudo apt install fuse; sudo apt install python-pip; sudo pip install fusepy` | ||
|
||
NOTE: This will install fusepy globally, if that's not what you want... then you probably don't need instructions anyway :P | ||
|
||
# Prerequisites | ||
|
||
- FUSE | ||
- pip install: fusepy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env python | ||
import os, sys | ||
|
||
pad = "0" | ||
rw = "" | ||
ctr = 0 | ||
while ctr < len(sys.argv): | ||
if sys.argv[ctr].lower() == "--rw": | ||
rw = "rw" | ||
del(sys.argv[ctr]) | ||
ctr += 1 | ||
ctr = 0 | ||
while ctr < len(sys.argv): | ||
if sys.argv[ctr].lower() == "--2k": | ||
pad = "1" | ||
del(sys.argv[ctr]) | ||
ctr += 1 | ||
|
||
if len(sys.argv) < 3: | ||
print "Usage: " + sys.argv[0] + " [--rw] [--2k] <filename.ISO.C> <mount_point>" | ||
print " --rw: commit writes to ISO.C file, otherwise discarded on unmount." | ||
print " If the ISO.C file does not exist, a new one will be created." | ||
print " --2k: Pad ISO.C to multiple of 2048 bytes " | ||
print " (for VirtualBox or physical disk only) " | ||
sys.exit() | ||
|
||
os.system('"' + sys.argv[0][:sys.argv[0].rfind("/")+1] + 'isoc.py" "' + sys.argv[1] + '" "' + sys.argv[2] + '" "' + rw + '" "' + pad + '" &') |
Oops, something went wrong.