From: johanknol Date: Fri, 9 Feb 2001 14:56:47 +0000 (+0000) Subject: prevent overflow of XSEG X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8fb561cfc67f6f6c2dd64fc4fe5e225e14469992;p=fw%2Fsdcc prevent overflow of XSEG git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@608 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/examples/ds390/ow390/thermodl.c b/device/examples/ds390/ow390/thermodl.c index 3d790a49..1c6e68ee 100644 --- a/device/examples/ds390/ow390/thermodl.c +++ b/device/examples/ds390/ow390/thermodl.c @@ -182,7 +182,8 @@ int main() //short argc, char **argv) // void PrintResults(ThermoStateType *ThermoState, FILE *fp, int ConvertToF) { - char str[80000]; + // aslink only can handle 64k, so we use the second 64k bank + char *str=(char*)0x190000; // check if need to use standard out if (fp == NULL)