[Sdcc-user] SDCC on the Wiznet 7100?

2010-02-03 Thread Peter Van Epp
ode generation to need to know that there isn't a P2 or XPAGE sfr present which may mean that I have missed some higher level setting. Peter Van Epp -- The Planet: dedicated and managed hosting, cloud storag

Re: [Sdcc-user] SDCC on the Wiznet 7100?

2010-02-03 Thread Peter Van Epp
ization that make me think thats where my problem lies. Peter Van Epp -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Cho

Re: [Sdcc-user] Default linker script for mcs51?

2010-02-11 Thread Peter Van Epp
return from main will lock up sjmp . ;------------ ... Peter Van Epp -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing an

Re: [Sdcc-user] Default linker script for mcs51?

2010-02-11 Thread Peter Van Epp
On Thu, Feb 11, 2010 at 08:22:57PM +0100, Brandon Fosdick wrote: > > On Feb 11, 2010, at 20:04 , Peter Van Epp wrote: > > > On Thu, Feb 11, 2010 at 12:27:04PM +0100, Brandon Fosdick wrote: > >> Well, it looks like I spoke too soon. > >> > >> SDCC is

[Sdcc-user] Modified copy of w7100.h

2010-03-15 Thread Peter Van Epp
While I'm here attached is a modified copy of the w7100.h file in SDCC. I sent a copy to the author some time back but haven't heard anything. I don't quarantee this is entirely correct, but it at least builds and runs on the W7100.

[Sdcc-user] A question on 8051 --stack-auto

2010-03-15 Thread Peter Van Epp
n is refused by the stack-auto compiled code). I'm just about to add printf statements to try and figure out whats wrong (and therefore a fix) but thought I'd inquire in case I'm just missing some needed step in this process. Peter Van Epp

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Peter Van Epp
rant by default. From the original Makefile: KEIL = c:/apps/keil/c51 ASM = $(KEIL)/bin/a51 AFLAGS = set "(large)" debug ep xref CC = $(KEIL)/bin/c51 CFLAGS = code noaregs objectextend symbols debug export C51INC = ../W7100/inc LINK = $(KEIL)/bin/bl51 export C51LIB = $(KEIL)/lib HEX =

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-16 Thread Peter Van Epp
ot;(large)" debug ep xref > > > > CC = $(KEIL)/bin/c51 > > CFLAGS = code noaregs objectextend symbols debug > > > > export C51INC = ../W7100/inc > > > > LINK = $(KEIL)/bin/bl51 > > export C51LIB = $(KEIL)/lib > > > > HEX = $(KEIL)/bin/o

Re: [Sdcc-user] A question on 8051 --stack-auto

2010-03-17 Thread Peter Van Epp
inderstand)? > > In general code that compiles in medium model should also compile in > large. Only pointers that expect to point to a certain memory space could > cause compile errors. > Its more than possibl

[Sdcc-user] Something ugly has happened to error reporting lately ...

2010-04-28 Thread Peter Van Epp
& *s >= '0' && *s <= '9') { rv = (rv * 10) + (*s - '0'); s++; } return (rv); } /*---*/ Peter Van Epp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user

Re: [Sdcc-user] Something ugly has happened to error reporting lately ...

2010-04-29 Thread Peter Van Epp
-opts.c: SDCPP synchronized with GCC CPP release version 4.5.0 Peter Van Epp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net

[Sdcc-user] Can someone educate the ignorant please?

2010-05-01 Thread Peter Van Epp
701 ;function lcd_set_text 702 ; ------------ ... Peter Van Epp -- ___ Sdcc-user mailing li

Re: [Sdcc-user] Can someone educate the ignorant please?

2010-05-02 Thread Peter Van Epp
ng the manual when it got past near and far defines in variables and on to bit and sfr functions with pointers being just after that of course :-) . As to the code I'm porting some fro

Re: [Sdcc-user] Something ugly has happened to error reporting lately ...

2010-05-04 Thread Peter Van Epp
On Tue, May 04, 2010 at 10:02:38AM +0200, Borut Razem wrote: > Now it is fixed. > Sorry that it took so long! > > Borut > Not a problem :-), I thought you may already know it was broken but pointed it out just in case you didn&#x

Re: [Sdcc-user] piklab compilation problem

2010-05-13 Thread Peter Van Epp
char demo4[20]; strcpy(demo1,"+------+"); strcpy(demo2,"| Ceng 336 |"); strcpy(demo3,"| SDCC LCD demo|"); strcpy(demo4,"+--+"); > lcdGoto(START_OF_LINE1); > for(i = 0; demo1[i]; i++) > lcdWrite(demo1[i]); Peter Van Epp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user

Re: [Sdcc-user] SDCC and the Eclipse plug in with the Z80

2010-05-19 Thread Peter Van Epp
ay.asm" *** the call to the linker starts here *** "c:/program files/sdcc"/bin/sdcc -V main.rel wiz.rel wizmemcpy.rel socket.rel l cd.rel sio.rel console.rel delay.rel + C:\PROGRA~1\sdcc\bin\sdld.exe -nf "main.lnk" "c

[Sdcc-user] programmer error or compiler bug?

2010-05-19 Thread Peter Van Epp
dptr with unfortunate results. So is this a compiler bug that I should be reporting or bad C code (neither the vendor's programmers or me are particularly good C programmers and I think I may be

Re: [Sdcc-user] programmer error or compiler bug?

2010-05-20 Thread Peter Van Epp
er in the attached tcp engine not the pointer which is actually the lower 16 bits of the 24 bit pointer that gets to the tcp engine. Peter Van Epp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user

[Sdcc-user] Expected value of P2 on the 8051

2010-05-25 Thread Peter Van Epp
Is it a correct assumption that the compiler is expecting the P2 port value to be 0 for use with movx @r0,a type instructions? On my particular varient (wiz7100) bits 15 to 8 are set by the P2 register (which is also used for an LCD display which presents a potential problem ...). I see in

Re: [Sdcc-user] Expected value of P2 on the 8051

2010-05-26 Thread Peter Van Epp
ta now I see where the problem likely is. This started out as atoi returning wrong values and tracing that indicates that it is using movx @r0 instructions and if P2 is an odd value it will write on random memory in xdata with likel

Re: [Sdcc-user] line info for 8051

2010-08-09 Thread Peter Van Epp
n you are looking for the .rst files instead of .lst files. I think the compiler (actually probably the linker) generates them automatically by default (but I have a couple of extra compiler flags in my make file at the moment so you may need to read the documentation to find

[Sdcc-user] I/O on the S51 simulator?

2010-12-11 Thread Peter Van Epp
a recent (week or two old) SDCC 3.0 snapshot, but the same thing happens on 2.9.0_RELEASE. Peter Van Epp` -- Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, i

Re: [Sdcc-user] I/O on the S51 simulator?

2010-12-13 Thread Peter Van Epp
On Sun, Dec 12, 2010 at 10:37:18AM +0100, roelof 't Hooft wrote: > On Sat, 2010-12-11 at 17:50 -0800, Peter Van Epp wrote: > > Is there a .h file that I'm missing that supplies a suitable putchar() > > function for the s51 simulator? If I compile this program: > &g

[Sdcc-user] sdcdb appears to be broken in the current snapshots

2010-12-13 Thread Peter Van Epp
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.0 #5 416 (Mar 22 2009) (MINGW32) Peter Van Epp -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative

[Sdcc-user] How to get output from the s51 simulator

2010-12-14 Thread Peter Van Epp
) User stopped F 0x06 0> q $ cat out hello world where test1.c looks like this which mostly initializes the UART and timer1 as the baud rate generator and defines a putchar() that uses the serial output to interface with the simulator. Hopefully this is useful to someone else ... Pet

Re: [Sdcc-user] sdcdb appears to be broken in the current snapshots

2010-12-14 Thread Peter Van Epp
On Tue, Dec 14, 2010 at 06:45:46PM +0100, Borut Razem wrote: > This shows how many peope are using it... > > Peter, can you please submit it to the bug tracker? > > Borut > Will do, I wasn't sure I wasn't doing something wrong as this is the first time I&#

Re: [Sdcc-user] sdcdb appears to be broken in the current snapshots

2010-12-18 Thread Peter Van Epp
to exit sdcdb not even cntrl-c will get control back to cygwin or sdcdb. I'll try and extract a small test program (this code takes most of the 64K external code and data memory which may be where the problem is :-)) and s

[Sdcc-user] Is this a bug?

2010-12-31 Thread Peter Van Epp
rtable bug or operator error in the form of poor coding practice (the original code from Wiznet that this is based on is full of poor coding practices :-))? Peter Van Epp -- Learn how Oracle Real Application Clusters (RAC)

Re: [Sdcc-user] Is this a bug?

2011-01-01 Thread Peter Van Epp
broken which looks to be the cause of why the code that worked on 2.9.0 release doesn't on 3.0.1. Peter Van Epp -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database s

[Sdcc-user] An 8051 printf question

2011-09-22 Thread Peter Van Epp
00 C1 0F 15 00 6F 03 18 18 0010: 45 2F 01 05 5D 02 00 00 DE 10 00 02 04 08 00 00 0020: 51 0A 04 01 Peter Van Epp -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitiv

Re: [Sdcc-user] An 8051 printf question

2011-09-23 Thread Peter Van Epp
rect understanding of what I wanted :-) By the way sprintf (str,"%hx", *sys_rstack); displays Hx on the lcd not the now expected 61. In any case thanks for the help! Peter Van Epp -- All of the d

Re: [Sdcc-user] An 8051 printf question

2011-09-23 Thread Peter Van Epp
n't pointer formats in printf. Thanks! Peter Van Epp -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fr

Re: [Sdcc-user] SDCC Compiler Issue

2011-10-05 Thread Peter Van Epp
void putchar (char c) { while (!TI) ; TI = 0; SBUF = c; } main() { /* code to initialize the UART and set the baud rate here! */ printf("Hello World"); } Peter Van Epp

Re: [Sdcc-user] Z80 Assembly Development

2016-08-17 Thread Peter Van Epp
em goes away. Peter Van Epp On Wed, Aug 17, 2016 at 11:01:05PM -0300, Augusto Fraga Giachero wrote: > I've tried what you suggested, linking the boot.rel first results in the > opposite effect, the _START area gets overwritten by the _CODE area. > Here a small showcase for the prob