#25480 - ProblemBaby - Mon Aug 23, 2004 8:54 pm
Hi again
to DekuTree: If you read this, then maybe this is stuff you are going to take up in your article, if that is the case you can just say that and I can wait.
Ok:
Ive started to explore the XM-format and now most of the things (except for effects).
Iam using the 18157hz, Update on VBlank -style.
I want to have a nice structure in my replayer and I dont really know how people most often do.
My plan is to have a structure like
u32 SampleAddress[12];
u32 SampleLength[12];
u32 SampleCounter[12];
u16 Frequency[12];
u8 Volume[12];
s8 Panoration[12];
12 = MAX_CHANNELS
is twelve to much?
Ive calculated and found out that Ive to write 304(size of buffers)*12(MAX_CHANNELS)*2(left and right)
times to the buffers is that to much for one cycle. if it is written in ARM asm and putted in iwram?
then do you think the layout is good?
Then when I go through the pattern I just update this variables (Maybe have to add some for effects later) and oh I think you understand.
Some feedback would be nice!
to DekuTree: If you read this, then maybe this is stuff you are going to take up in your article, if that is the case you can just say that and I can wait.
Ok:
Ive started to explore the XM-format and now most of the things (except for effects).
Iam using the 18157hz, Update on VBlank -style.
I want to have a nice structure in my replayer and I dont really know how people most often do.
My plan is to have a structure like
u32 SampleAddress[12];
u32 SampleLength[12];
u32 SampleCounter[12];
u16 Frequency[12];
u8 Volume[12];
s8 Panoration[12];
12 = MAX_CHANNELS
is twelve to much?
Ive calculated and found out that Ive to write 304(size of buffers)*12(MAX_CHANNELS)*2(left and right)
times to the buffers is that to much for one cycle. if it is written in ARM asm and putted in iwram?
then do you think the layout is good?
Then when I go through the pattern I just update this variables (Maybe have to add some for effects later) and oh I think you understand.
Some feedback would be nice!