Re: [Sdcc-user] SDCC 2.4.0 vs 2.6.0 Interrupt Vector Table Generation....

2006-10-02 Thread Jesus Calvino-Fraga
Hummm, for some reason the quoted message below arrived twice into my mailbox. I just realized it after writing the answer/example that follows. Anyhow, here it is. It may be useful to somebody. As Maarten Brock said in another message, you can just add a dummy interrupt function to set the

[Sdcc-user] SDCC 2.4.0 vs 2.6.0 Interrupt Vector Table Generation....

2006-10-02 Thread Jon Hallsten
Hello all SDCC users & developers, being that the 8051 is in your area of expertise, I wanted to ask your thoughts on the following issue I have been having I have poured through the message boards to no avail.  My question is very unique.   I built a boot loader using SDCC 2.4.0 for th

[Sdcc-user] byte variable with bits function

2006-10-02 Thread Jorge Moreno
Hi: I need to use a byte variable in the bit addressable space and I need to define some bits within this byte to play some special functions. How do I do this with SDCC? Thanks in advance Jorge Moreno   Get your email and more, right on the new Yahoo.com --

Re: [Sdcc-user] OSEG full but lots of xram

2006-10-02 Thread Jean-Paul
Le Lundi 2 Octobre 2006 21:12, Karl Hiramoto a écrit : > My code was compiling/linking/running fine,  I added a few functions, > and now when linking i get: > > ?ASlink-Error-Could not get 4 consecutive bytes in internal RAM for area > OSEG. > Am I reading the error message correctly?: There is n

Re: [Sdcc-user] OSEG full but lots of xram

2006-10-02 Thread Maarten Brock
Hello Karl, Yes, you ran out of 'data' memory. Especially when accessing xdata (--model-large) the compiler uses many temporaries which are stored in registers and then in data memory. It tries to overlay them but is not very good at that. The result: high usage of the limited data memory res

[Sdcc-user] OSEG full but lots of xram

2006-10-02 Thread Karl Hiramoto
Hi all, My code was compiling/linking/running fine, I added a few functions, and now when linking i get: ?ASlink-Error-Could not get 4 consecutive bytes in internal RAM for area OSEG. sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.6.1 #4398 (Oct 2 2006) (UNIX