Groups | Search | Server Info | Login | Register


Groups > comp.sys.apple2.programmer > #6313

Re: An Attempt at CC65

From Oliver Schmidt <ol.sc@web.de>
Newsgroups comp.sys.apple2.programmer
Subject Re: An Attempt at CC65
Date 2024-06-30 09:52 +0000
Message-ID <v5r9s2$3uo$1@solani.org> (permalink)
References <BSjnEMbtGSbpHPcpEKbl%matthewmpower@gmail.com>

Show all headers | View raw


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


Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Find similar


Thread

An Attempt at CC65 TRS-90 <matthewmpower@gmail.com> - 2024-06-30 01:01 +0000
  Re: An Attempt at CC65 TRS-90 <matthewmpower@gmail.com> - 2024-06-30 01:14 +0000
  Re: An Attempt at CC65 Oliver Schmidt <ol.sc@web.de> - 2024-06-30 09:52 +0000

csiph-web