Re: [Sdcc-user] Physical Addresses with -Wl-b

2011-12-19 Thread George Oikonomou
Hi Maarten, srecord it is. Thanks once again George On 19 Dec 2011, at 22:22, Maarten Brock wrote: > Hi George, > > What happens in crtbank.asm is under your control when > you write your own. So you can get the correct value in > PSBANK. But what will go wrong is the LSW of the > physical/

Re: [Sdcc-user] Physical Addresses with -Wl-b

2011-12-19 Thread Maarten Brock
Hi George, What happens in crtbank.asm is under your control when you write your own. So you can get the correct value in PSBANK. But what will go wrong is the LSW of the physical/virtual address. The linked code will jump to 0x when it needs to go to 0x1 instead of the bank at 0x8000