From: Bodo W. <bod...@we...> - 2009-07-03 06:25:55
|
> if(stream == NULL) > return NULL; Are you sure that malloc() returned a valid pointer? For debugging I would change this code into: if (stream == NULL) { P2 = 0xAA; return NULL; } Or, as I know assembler, I would look into the machine code to check it does The Right Thing(TM). HTH, Bodo |