Re: [cc65] C64: printf() into another VIC bank, memory layout

From: Oliver Schmidt <>
Date: 2013-08-18 13:56:45

> I outfitted my application, which uses functions like printf() and
> cputsxy(), with a custom font. I didn't yet find a way to make those
> functions write into Screen RAM position other than 0x0400, which means that
> the font currently has to be situated in VIC bank 3.

Regarding stdio functions like printf() you might be interested in
this thread:

Regarding conio functions like cputsxy() - which are totally different
from stdio functions (!) - you can see in
that SCREEN_PTR is used. In you
can see that this maps to location $D1.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Aug 18 13:56:55 2013

This archive was generated by hypermail 2.1.8 : 2013-08-18 13:56:57 CEST