summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-17 22:36:17 +0000
committerPixel <Pixel>2002-06-17 22:36:17 +0000
commit4f9643c00b8be3ef4381d81999c096acb40c6040 (patch)
treea962dc57b7fe6530301bb38c523b3e3b40ebc837
parent9781e04e02b868f7b3211ef642fcacb1eb1d9098 (diff)
STR...
-rw-r--r--FAQ-cd.txt13
-rw-r--r--str-util.cpp12
2 files changed, 20 insertions, 5 deletions
diff --git a/FAQ-cd.txt b/FAQ-cd.txt
index 778b0d7..3ffda84 100644
--- a/FAQ-cd.txt
+++ b/FAQ-cd.txt
@@ -183,8 +183,8 @@ int is_valid_BCD(uchar x) {return (((x & 15) < 10) && ((x >> 4) < 10));}
o) 2nd byte: Channel Number (CN)
o) 3rd byte: Sub Mode (SM)
o) 4st byte: Coding Info (CI)
- -) I've *never* seen any SubHeader with a FN, CN or CI different from 0,
- please inform me if you do.
+ -) I've *never* seen any SubHeader for a sector containing data with a FN,
+ CN or CI different from 0, please inform me if you do.
-) The Sub Mode byte is a bit field which seems to be described like this:
0: End of Record (EOR)
1: Video
@@ -197,8 +197,11 @@ int is_valid_BCD(uchar x) {return (((x & 15) < 10) && ((x >> 4) < 10));}
Very last things to know: of course, the PSX has the CDs in MODE 2... So the
common files are stored in MODE 2 FORM 1, the STR/XA files are stored in
- MODE 2 and I've never seen any file stored in MODE 2 FORM 2. And the MODE 2
- FORM 1 and MODE 2 FORM 2 are also called XA-Mode1 and XA-Mode2 or simplier:
- XA-1 and XA-2.
+ "MODE 2" but actually they are in MODE 2 FORM 2. The MOVCONV tool will
+ in fact produce files that does contain the subheaders. And those subheaders
+ seems to contain a CN equals to 1, and the flags RT and Data are activated.
+
+ The last but not the least: the MODE 2 FORM 1 and MODE 2 FORM 2 are also
+ called XA-Mode1 and XA-Mode2 or simplier: XA-1 and XA-2.
I hope this will help you as it helped me writing this software.
diff --git a/str-util.cpp b/str-util.cpp
new file mode 100644
index 0000000..b93e2a6
--- /dev/null
+++ b/str-util.cpp
@@ -0,0 +1,12 @@
+#include <stdlib.h>
+#include "fileutils.h"
+#include "generic.h"
+#include "yazedc.h"
+
+
+
+
+#ifdef __STR_MAIN__
+int main(void) {
+}
+#endif