Re: [cc65] Home in CBM?

From: Per Olofsson <magervalp1gmail.com>
Date: 2009-10-19 13:30:16
On Sun, Oct 18, 2009 at 11:04 PM,  <Maspethrose7@aol.com> wrote:
> If I didn't mind size, I could easily emit a  gotoxy(0,0) or a puts(0x13),
> but I want to optimize my software as much as  possible.  A home() conio
> function would be nice,  though.

void home(void) {
  gotoxy(0, 0);
}

Takes less than 10 seconds to write, and compiles down to a single JSR
instruction.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 19 13:30:24 2009

This archive was generated by hypermail 2.1.8 : 2009-10-19 13:30:26 CEST