Jump to content
IGNORED

C99C overlays?


Harry Potter

Recommended Posts

At this point in time, I think the GCC implementation is the most likely software to be in use by TI programmers. C99 was based mostly on the Small C core functions, while TIC for the Geneve included a bit more functionality. It depends on whether or not you want to write your code on a TI or a TI/Geneve emulator. If you want to use a PC for the coding with the TI as your target system, you are probably best off with GCC. It may not have all of the libraries you need yet--but if you add the ones you need, a lot of TI people will likely use them in the future.

Link to comment
Share on other sites

20 hours ago, Harry Potter said:

Does C99C support overlays?  If so, how do I use them?  I have two programs to port to the TI99/4A that require them.

AFAIK there isn't support in any of the c compilers for using SAMS pages for overlay programming. You would have to create your own library.

Link to comment
Share on other sites

Programming on a TI99/4A is not necessary, as I'm using an emulator on a Win10/64 system for testing.  I downloaded GCC, but I think it's a patch and not the full program.  I need to test it to see if it works.  I thank you for your support.

 

BTW, should I support C99C?  I have a project that can support it and really want to create it.

Link to comment
Share on other sites

Yes, GCC is a patch - you have to build the compiler yourself. Instructions are in the GCC thread but it takes a fair bit of time and does tend to run into a gotcha or two.

On Windows 10 you can install the Windows Subsystem for Linux and run the Linux version, I could send you my build folder if you get WSL installed.

 

As to whether you should support C99... that's really personal preference. But it's a limited subset of Small C which uses K&R-like syntax, so most software will be an effort to port to it. Unless you have already done so, I recommend that you attempt to port a small, simple program to it in order to become familiar with the limitations you will face. That should be enough information to decide. :)

 

Link to comment
Share on other sites

I want to port a specific program to the TI which requires overlays and am wondering how.  I don't want to use GCC as it requires a lot of work to initiate.  I can use C99C but need to familiarize myself with it.  My program is to serve the C community but doesn't need to be hosted on C99C.  I thank you for your information.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...