summaryrefslogtreecommitdiff
path: root/str-player.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-10 19:47:26 +0000
committerpixel <pixel>2002-12-10 19:47:26 +0000
commit10ae629edf1f285a295df85664c075f58cf56a87 (patch)
tree087a6d6bae8781c610a03cf7d6e8cb52eb267543 /str-player.cpp
parent4cbd4b4b5331948d9cdc44292b7870bcfc5218bd (diff)
Bleh
Diffstat (limited to 'str-player.cpp')
-rw-r--r--str-player.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/str-player.cpp b/str-player.cpp
index caff4b9..3343881 100644
--- a/str-player.cpp
+++ b/str-player.cpp
@@ -73,18 +73,19 @@ void process_one_sector(Handle * f) {
f->read(sector, 2336);
h = (STR_Header *) ((Byte *) sector + 8);
+/*
printm(M_INFO, "SubHeader: FN = %x, CN = %x, SM = %x, CI = %x: ", sector[0], sector[1], sector[2], sector[3]);
printm(M_BARE, "SubHeader FN : %x\n", sector[0]);
printm(M_BARE, "SubHeader CN : %x\n", sector[1]);
printm(M_BARE, "SubHeader SM : %x\n", sector[2]);
printm(M_BARE, "SubHeader CI : %x\n", sector[3]);
-
+*/
if ((channel != -1) && (channel != sector[1]))
return;
if ((sector[2] == 0x48) || (sector[2] == 0x42)) {
- printm(M_BARE, "Video sector\n");
+/* printm(M_BARE, "Video sector\n");
printm(M_BARE, "Status : %04x\n", h->StSTATUS);
printm(M_BARE, "Type : %04x\n", h->StTYPE);
printm(M_BARE, "Sector Offset: %i\n", h->StSECTOR_OFFSET);
@@ -95,7 +96,7 @@ void process_one_sector(Handle * f) {
printm(M_BARE, "Movie Height : %i\n", h->StMOVIE_HEIGHT);
printm(M_BARE, "Movie HeadM : %08x\n", h->StMOVIE_HEADM);
printm(M_BARE, "Movie HeadV : %08x\n", h->StMOVIE_HEADV);
- printm(M_BARE, "Channels : %04x\n", h->Channels);
+ printm(M_BARE, "Channels : %04x\n", h->Channels); */
if (h->StSECTOR_OFFSET == 0) {
video = (Byte *) malloc(h->StSECTOR_SIZE * 2016);
if (!screen) {
@@ -137,9 +138,9 @@ void process_one_sector(Handle * f) {
int locked = 0;
SoundSector * buffer = (SoundSector *) sector;
- printm(M_BARE, "Audio sector\n");
+/* printm(M_BARE, "Audio sector\n");
printm(M_BARE, "Frequency: %i\n", xahalfhz(buffer) ? 18900 : 37800);
- printm(M_BARE, "Channels : %s\n", xastereo(buffer) ? "stereo" : "mono");
+ printm(M_BARE, "Channels : %s\n", xastereo(buffer) ? "stereo" : "mono"); */
// fwrite(sector + 8, 1, 2324, stdout);
while (audio_len > 0) {