Enlarge SDCC's stack

Pagina 1/4
| 2 | 3 | 4

Door sp4

Master (214)

afbeelding van sp4

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.

Aangemeld of registreer om reacties te plaatsen

Van Marq

Champion (387)

afbeelding van Marq

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.

Van AxelF

Champion (395)

afbeelding van AxelF

04-02-2015, 23:12

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

Van Vampier

Prophet (2397)

afbeelding van Vampier

05-02-2015, 05:49

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

Look at this guys recent topics....

Van enribar

Paragon (1195)

afbeelding van enribar

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

Van Grauw

Ascended (10623)

afbeelding van Grauw

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.

Van DanySoft

Champion (452)

afbeelding van DanySoft

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
(use ZXBASIC, SJASM, GEN80, NestorBASIC, CALL TURBO ON / OFF)
Goodbye

DanySoft

Van syn

Prophet (2098)

afbeelding van syn

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.

Van Manuel

Ascended (18958)

afbeelding van Manuel

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!

Van AxelF

Champion (395)

afbeelding van AxelF

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.

Van Vampier

Prophet (2397)

afbeelding van Vampier

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.

Pagina 1/4
| 2 | 3 | 4