Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-31 Thread Philipp Klaus Krause
Am 31.07.21 um 15:10 schrieb Ben Ferguson: >>If you want to be lazy about your naked functions, you could also just > declare them as __sdccoldcall. > > I don't see this defined in the manual. What does it do? So far it is only in the manual in the branch that implementes the new convention. When

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-31 Thread Ben Ferguson
>If you want to be lazy about your naked functions, you could also just declare them as __sdccoldcall. I don't see this defined in the manual. What does it do? Why are you saying it's lazy? I'm writing asm that matches the calling convention that has been standard since I've started using sdcc. T

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-31 Thread Philipp Klaus Krause
Am 30.07.21 um 21:40 schrieb Ben Ferguson: > I am in favor of adding a cli option to enable the old calling method.  > > This change can break nearly every naked member we have if I understand > correctly, and without clear notice we may be compiling code for the old > convention, which will just

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-30 Thread Ben Ferguson
I am in favor of adding a cli option to enable the old calling method. This change can break nearly every naked member we have if I understand correctly, and without clear notice we may be compiling code for the old convention, which will just cause huge headaches. Which convention used is not im

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-30 Thread Philipp Klaus Krause
Am 30.07.21 um 15:12 schrieb a...@etchedpixels.co.uk: > On Tue, 27 Jul 2021 23:15:32 +0200 > Philipp Klaus Krause wrote: > >> A new calling convention for z80¹ has been implemented in the >> breaktheworld branch: >> https://sourceforge.net/p/sdcc/code/HEAD/tree/branches/breaktheworld/ >> >> Anyon

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-30 Thread alan
On Tue, 27 Jul 2021 23:15:32 +0200 Philipp Klaus Krause wrote: > A new calling convention for z80¹ has been implemented in the > breaktheworld branch: > https://sourceforge.net/p/sdcc/code/HEAD/tree/branches/breaktheworld/ > > Anyone wanting to test it or experiment with it is welcome to use the

Re: [Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-28 Thread Philipp Klaus Krause
Am 27.07.21 um 23:15 schrieb Philipp Klaus Krause: > A new calling convention for z80¹ has been implemented in the > breaktheworld branch: > https://sourceforge.net/p/sdcc/code/HEAD/tree/branches/breaktheworld/ > > Anyone wanting to test it or experiment with it is welcome to use the > branch. C c

[Sdcc-user] New calling convention for z80 in breaktheworld branch

2021-07-27 Thread Philipp Klaus Krause
A new calling convention for z80¹ has been implemented in the breaktheworld branch: https://sourceforge.net/p/sdcc/code/HEAD/tree/branches/breaktheworld/ Anyone wanting to test it or experiment with it is welcome to use the branch. C code should continue to just work without any changes (most regr