|
|
| version 1.9, 2004/03/07 01:23:14 | version 1.12, 2005/02/07 14:46:07 |
|---|---|
| Line 111 static void writeseg(const char *fname, | Line 111 static void writeseg(const char *fname, |
| FILEH fh; | FILEH fh; |
| UINT size; | UINT size; |
| BYTE buf[0x1000]; | UINT8 buf[0x400]; // Stack 0x1000 -> 0x400 |
| fh = file_create_c(fname); | fh = file_create_c(fname); |
| if (fh == FILEH_INVALID) { | if (fh == FILEH_INVALID) { |
| Line 144 const char *p; | Line 144 const char *p; |
| SPRINTF(work, str_picstat, | SPRINTF(work, str_picstat, |
| pic.pi[0].imr, pic.pi[0].irr, pic.pi[0].isr, | pic.pi[0].imr, pic.pi[0].irr, pic.pi[0].isr, |
| pic.pi[1].imr, pic.pi[1].irr, pic.pi[1].isr, | pic.pi[1].imr, pic.pi[1].irr, pic.pi[1].isr, |
| mouseif.portc, sysport.c); | mouseif.upd8255.portc, sysport.c); |
| file_write(fh, work, strlen(work)); | file_write(fh, work, strlen(work)); |
| file_close(fh); | file_close(fh); |
| } | } |