Bugs item #440498, was opened at 2001-07-11 13:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100599&aid=440498&group_id=599
Category: msc51(8051) target
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: limitations ??
Initial Comment:
Hi,
i am a new user of 'SDCC'. I tried the following
construction:
void Show(void)
{
MoveXY(1,1);
PrintLCD("HALLO WELT!");
Delay(30000);
Delay(30000);
Delay(30000);
MoveXY(1,2);
PrintLCD("S.T.R.I.N.G.");
Delay(30000);
Delay(30000);
Delay(30000);
/* Delay(30000); */ <- this line
ClearScreen();
}
it is a simple routine to display some text on a LCD-
Display. if i add the line called 'this line', my
program does not work. if i do it without 'this line'
it works perfectly.
is it possible that the length of a function is
limited in 'SDCC' or whats the problem with 'this
line' ???
regards
Klaus P.
-testa inc.-
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100599&aid=440498&group_id=599

Yes, it's my fault if the build is broken. 'cvs update -d; ./configure'
is your friend.
I've commited a medium rework of the way the libraries are built, some
small changes to the include files, and have make the z80 port able to
link directly from sdcc. You can now produce a valid, linked, runnable
ihx for the z80 directly from sdcc. It only works in the one C file input
case, but it is nice to have for completeness.
The changes are:
* Moved the source install dir to $/share/sdcc/lib/src
* Added sdcc-lib.h which defines port specific properties. For example,
the z80 port doesn't support reentrant or code.
* Added the defines _REENTRANT and _CODE, which depending on the port
often resolve to reentrant and code.
* Replaced all reentrant and code references in the libraries and headers
with the new defines.
* Added support for compiling part of the libs for the z80 and gbz80
* Changed the lib build directory to build/$PORT to keep things clean.
* Fixed up the dependencies to make a second make do nothing.
-- Michael

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details