00001
00003 #include "record.h"
00004 #include "filesys.h"
00005 #include "storage.h"
00006 #include "vs10xx.h"
00007 #include "console.h"
00008 #include "ui.h"
00009 #include "display.h"
00010
00011
00012 extern xdata unsigned char SPMax;
00013
00015 code const unsigned char RIFFHeader0[] = {
00016 'R' , 'I' , 'F' , 'F' ,
00017 0x70, 0x70, 0x70, 0x70,
00018 'W' , 'A' , 'V' , 'E' ,
00019
00020 'f' , 'm' , 't' , ' ' ,
00021 0x14, 0x00, 0x00, 0x00,
00022 0x11, 0x00,
00023 0x01, 0x00,
00024 0x44, 0xac, 0x00, 0x00,
00025 0xd7, 0x0f, 0x00, 0x00,
00026 0x00, 0x01,
00027 0x04, 0x00,
00028 0x02, 0x00,
00029 0xf9, 0x01,
00030
00031 'f' , 'a' , 'c' , 't' ,
00032 0xc8, 0x01, 0x00, 0x00,
00033 0xff, 0xff, 0xff, 0xff
00034
00035 };
00036
00038 code const unsigned char RIFFHeader504[] = {
00039 'd' , 'a' , 't' , 'a' ,
00040 0x70, 0x70, 0x70, 0x70
00041 };
00042
00043
00045 code const unsigned char RIFFHeader9k6Hz[] = {
00046 'R' , 'I' , 'F' , 'F' ,
00047 0x70, 0x70, 0x70, 0x70,
00048 'W' , 'A' , 'V' , 'E' ,
00049
00050 'f' , 'm' , 't' , ' ' ,
00051 0x14, 0x00, 0x00, 0x00,
00052 0x11, 0x00,
00053 0x01, 0x00,
00054 0x80, 0x25, 0x00, 0x00,
00055 0xd7, 0x0f, 0x00, 0x00,
00056 0x00, 0x01,
00057 0x04, 0x00,
00058 0x02, 0x00,
00059 0xf9, 0x01,
00060
00061 'f' , 'a' , 'c' , 't' ,
00062 0xc8, 0x01, 0x00, 0x00,
00063 0xff, 0xff, 0xff, 0xff
00064
00065 };
00066
00067
00068
00069