Enlarge SDCC's stack

Page 1/4
| 2 | 3 | 4

By sp4

Master (214)

sp4's picture

04-02-2015, 22:09

Hi, I implemented the play() function in C and I need to enlarge the stack for put three and many other parameter.
What SDCC's parameter can I use for enlarge the stack.
Help me please.

Login or register to post comments

By Marq

Champion (387)

Marq's picture

04-02-2015, 23:05

By looking at the crt0, it seems SDCC doesn't set its own stack. One thing to do is to avoid big local arrays or define them as static.

By AxelF

Champion (395)

AxelF's picture

04-02-2015, 23:12

Nooooo... not another "SDCC help me please" topic

By Vampier

Prophet (2402)

Vampier's picture

05-02-2015, 05:49

request for future versions of msx.org ... "ignore button"

Look at this guys recent topics....

By enribar

Paragon (1199)

enribar's picture

05-02-2015, 10:35

I personally know this guy, it's not the same person as AG.
SP4 is trying to program something good for the MSX, he only needs some help in C.
As I can see, he isn't opening tons of threads, let's say... 5 or 6?
Btw, with the help of the SDCC he is trying to move a spider-robot with his MSX, very amazing project! Cool

By Grauw

Ascended (10639)

Grauw's picture

05-02-2015, 10:43

I second enribar.

AxelF, Vampier, I don’t know what your problem is, I don’t know why you’re replying in this hostile way.

It’s important for a development community that one feels free to ask questions.

Information about C programming for MSX isn’t exactly growing on trees, so the questions are absolutely understandable (although perhaps not always phrased in the best way). I’m also learning new things reading and thinking of answers to these questions.

By DanySoft

Champion (452)

DanySoft's picture

05-02-2015, 11:55

Sometimes some of you already know how to solve the problem in C?

I can not help ...
I have many projects underway msx .... but are .asm and .bas


By syn

Prophet (2106)

syn's picture

05-02-2015, 12:24

third enibar/second grauw.

What use is a forum if ppl cant ask questions? SP4 is obviously very enthusiastic and coding frequently. With higher frequency, he runs faster into problems than someone else. The only thing that may be regarded as spamming is that he had 3 topics about line, which judging from the post may have been unintended as some of those seem be a reply to some other post.

By Manuel

Ascended (19062)

Manuel's picture

05-02-2015, 13:10

Yep, please continue to ask questions, but simply use a single thread for them, sp4! That's easier for everyone, I think!

By AxelF

Champion (395)

AxelF's picture

05-02-2015, 14:08

@enribar Grauw and syn

I dont mind sp4 his enthusiasm, but opening 6 topics for the same kind of sdcc problem is quite annoying...
please keep it in one sdcc topic.

I also advice sp4 to do some research first, before asking all those questions.

By Vampier

Prophet (2402)

Vampier's picture

05-02-2015, 16:56

I 2nd AxelF.. I clearly state my gripe above. My history in the MSX scene has always been of mentoring and providing help where I could, else I would not click on these topics. However some aptitude is required to program.

Page 1/4
| 2 | 3 | 4