Re: [cc65] c programm

Date view Thread view Subject view

From: Greg King (gngking_at_erols.com)
Date: 2003-02-13 07:32:21


A macro will do what you want to do:

#define MAKE_WORD(high,low) (((high) << 8) | (low))

extern void fastcall setcharcolors(unsigned int c);

int main(void) {

  setcharcolors(MAKE_WORD(1,0));
  return 0;
  }

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-02-13 10:26:49 CET