Jump to content
insomnia

GCC for the TI

Recommended Posts

Nice! But you say it /crashes/ in Classic99? Or just doesn't sound right?

 

Classic99's speech implementation is unable to halt the CPU - if you want it to work in Classic99 you can't just blitz data at the speech synth, you have to monitor the buffer control bits and feed it only when it's low. I know why it doesn't work and the fix is complex, but coming.

 

But if it is actually /crashing/, that I want to know about.

 

Share this post


Link to post
Share on other sites

I see things run off into illegal instructions... but not if I'm stepping through... and that wasn't until I added the 'blast-mode' say-data piece so maybe if I implement the prescribed buffer flow stuff it'll work... 

 

 

Share this post


Link to post
Share on other sites

This is all good stuff but maybe should be in its own thread? Try to keep this thread about issues with the compiler - this thread is huge as is.

Share this post


Link to post
Share on other sites
5 hours ago, chue said:

This is all good stuff but maybe should be in its own thread? Try to keep this thread about issues with the compiler - this thread is huge as is.

Agree and sorry. Questioning the one came to the other and there seemed no other suitable C thread to ask the inititial question in. Made seperate topic (or if a mod reads this, please move whole chain)

 

Edited by xahmol

Share this post


Link to post
Share on other sites

When I coded the fix to stop crashing classic99 by overrunning the speech fifo, I still had compiler usability issues... I had to force the function to never be inlined, so that in the context of the say_data function it would actually perform a call. The optimizer leaves the status check in during the compilation of the routine I used to read status. But if it inlined that into a greater function, it decided the __asm__ had no side effects and removed it. I probably needed to make sure the __asm__ produced an output to a gcc register.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...