Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Oliver Schmidt Newsgroups: comp.sys.apple2.programmer Subject: Re: Possibly stupid question about cc65 and the Language Card Date: Fri, 6 Jan 2023 01:18:01 -0000 (UTC) Message-ID: References: <20230106004202.19966041@SGX-CMP-480> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 6 Jan 2023 01:18:01 -0000 (UTC) Injection-Info: solani.org; logging-data="806492"; mail-complaints-to="abuse@news.solani.org" User-Agent: NewsTap/5.5 (iPhone/iPod Touch) Cancel-Lock: sha1:3bwPI9Qr4ehwyiChPb98l5q+NpY= sha1:NgIFjuj6xnT+H590r4RkXFvr6eU= X-User-ID: eJwFwQERADEIAzBLz6DlJoc+4F/CEjiNfwbBwGKPiGsaZ0ZW3dTYAmJnb3yi1U7rrBMR5g8fRREy Xref: csiph.com comp.sys.apple2.programmer:5991 Hi Colin, > I'm experimenting with pushing parts of programs to the language card, > using #pragma code-name (push, "LC") with cc65. :-) > This gives good results on my Apple //c. I get ~3k more heap available, > and everything seems fine. :-)) > But the same programs crashes hard when emulated on MAME. :-( > I noticed > that the `mame apple2c -listslots` does not list a language card > (contrary to `mame apple2 -listslots`. > > Is this wrong, or am I wrong? Is there a way to verify the presence of > that card in my Apple //c? The 16kB Language Card upgraded an Apple ][ from 48kB to 64kB. All later Apple II came with at least 64kB - meaning that they all contain a "logic" Language Card. The Apple //c came even with 128kB - meaning that it always contains two "logic" Language Cards. Apart from that: ProDOS uses 13kB of the 16kB Language Card. So if there's no "logic" Language Card, ProDOS won't boot at all. Regards, Oliver