--- np2/debugsub.c 2004/03/07 01:23:14 1.9 +++ np2/debugsub.c 2004/07/01 11:42:54 1.11 @@ -111,7 +111,7 @@ static void writeseg(const char *fname, FILEH fh; UINT size; - BYTE buf[0x1000]; + BYTE buf[0x400]; // Stack 0x1000 -> 0x400 fh = file_create_c(fname); if (fh == FILEH_INVALID) { @@ -144,7 +144,7 @@ const char *p; SPRINTF(work, str_picstat, pic.pi[0].imr, pic.pi[0].irr, pic.pi[0].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_close(fh); }