Skip to content

Commit

Permalink
more small doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
freem committed Nov 14, 2014
1 parent c400028 commit 370aa6e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
15 changes: 14 additions & 1 deletion doc/NeoRomFS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ but I can come up with a few instances of when it would possibly be useful.

sucks that most of those are for my own testing purposes.

* 6502 emulator
* 6502 (or other CPU) emulator
loading source or binary files

* FM/sound sequencer
Expand All @@ -26,6 +26,19 @@ references to look at:
* FAT16B (the canonical "FAT16")
* FAT32

[Simplest filesystem I can think of]
Work in progress since this part was written at 4AM one day...

Root Element\
* Number of Entries
Entry List\
repeat for number of entries {
* Name (null terminated)
* Type (0=File, 1=Directory, 2=Device?)
* Size
* Pointer to Data
}

[quick romfs overview]

offset content
Expand Down
8 changes: 5 additions & 3 deletions doc/mkisofs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ https://wiki.neogeodev.org/index.php?title=ISO_generation
The example from the wiki:
mkisofs -iso-level 1 -o neogeocd.iso -pad -N -V "NGCDTEST" P1.PRG M1.Z80 SPR.SPR S1.FIX V1.PCM IPL.TXT ABS.TXT BIB.TXT CPY.TXT

The setup I prefer is something like this:
The setup I would prefer is something like this:
mkisofs -iso-level 1 -o neogeocd.iso -pad -N -V "NGCDTEST" --path-list pathlist.txt

where pathlist.txt is a file containing a list of directories and filenames to be
added to the filesystem. This way, you don't have to type a bunch of files on the
command line.
command line. However, it doesn't like to work properly for me, so I end up having
the file list in the Makefile as a multi-line definition.

In addition, I have provided an example .mkisofsrc file that can be used/edited.

Expand All @@ -18,4 +19,5 @@ in which sortfile.txt includes pairs of filenames and sorted offset weights.
Files are sorted with the highest weights first and the lowest weights last.
Weight values are between -2147483647 and 2147483647.

This means you probably want to put any dummy file as -2147483647
You probably want to put dummy files near the end (-2147483647),
but I'm not 100% sure on that.

0 comments on commit 370aa6e

Please sign in to comment.