• Re: An Attempt at CC65

    From Oliver Schmidt@21:1/5 to All on Sun Jun 30 09:52:02 2024
    Hi,

    I guess I thought I could just switch languages,
    compile, and run. I thought I could rewrite some
    of my silly BASIC programs in C and gain some speed
    and then I realized it may not be that simple. I've
    seen the TGI drivers. Is that how to get into GR and
    HGR and such?

    Yes, the goal of the cc65 library is NOT to make C programs look as similar
    to BASIC programs as possible.

    Yes, TGI is the cc65 way to do graphics.

    No, You can't just JSR to a ROM routine. The ROM is banked out. Use _sys() instead. See https://cc65.github.io/doc/funcref.html#ss3.15

    Regards,
    Oliver

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)