From 4f9643c00b8be3ef4381d81999c096acb40c6040 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 17 Jun 2002 22:36:17 +0000 Subject: STR... --- FAQ-cd.txt | 13 ++++++++----- str-util.cpp | 12 ++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 str-util.cpp 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 +#include "fileutils.h" +#include "generic.h" +#include "yazedc.h" + + + + +#ifdef __STR_MAIN__ +int main(void) { +} +#endif -- cgit v1.2.3