C64

Home

 

C64 is a is a language superset of the standard 'C' language. A .pdf describes the language.

The C64 language has been implemented as a compiler for the Raptor64 CPU.

Download: C64.zip

 

nocall / naked - specifies to not generate function prologue / epilogue code

typenum() - returns a hash code identifying the type

__int8 - 8 bit integer data type

__int16 - 16 bit integer data type

__int32 - 32 bit integer data type

__int64 - 64 bit integer data type

byte - 8 bit integer data type

char - 16 bit integer data type

short int - 32 bit data type

int - 64 bit data type

try / catch - exception handling mechanism

forever - loop construct

until - loop construct

true/false are defined as 1 and 0 respectively

spinlock / spinunlock / lockfail - implement spinlocks

thread - storage class for variables