[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple2 - Contiki Compile Report



> 
> The problem is CH_ENTER which is defined as '\n' by the Contiki header files,
> but the apple2.h header file contains 
> 
>         #define CH_CURS_DOWN 	0x0A
> 
> which is the same as '\n' with the Apple2 character translation applied. 
> 
> One of both is probably wrong, but since I'm no apple specialist, I cannot
> tell which one.

#define CH_CURS_DOWN 	0x0A
ifdef apple
#define CH_ENTER_DOWN 	0x0D  // apple return key
endif

Apple ( \n) = 0x0D