i dont know how to initiate arm and set the start address using arm-linux.whether in ctr0.s ?
I think the function 'decode' will just take a pointer to where the mp3 is. In minimad.c : decode(fdm, stat.st_size);
where fdm is the pointer to the mp3 data
what do the stdin and stdout refer to ? keyboard and screen? in minimad.c : int main(int argc, char *argv[]) { struct stat stat; void *fdm;
if (argc != 1) return 1; .. if you run minimad with any parameters it will return doing nothing.
Yes it will normally print the data to the screen so you redirect it to a file using "> audio.pcm."
"if (argc != 1)" means return if the arguments are not 1. So if there are no arguments it will do nothing.
Have you managed to compile minimad.c for arm yet?