mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-06-03 07:29:37 +00:00
30e6aff441
- Asm library code debug fixes. - Added test programs as explained in the documentation.
15 lines
378 B
C
15 lines
378 B
C
/* Here we use the flight_lib.asm library functions.
|
|
*/
|
|
|
|
#pragma encoding(screencode_mixed)
|
|
#pragma var_model(zp)
|
|
|
|
// We include the flight_lib_asm.h generated C function prototype file.
|
|
// This file contains the C function prototypes for import and usage.
|
|
#include "flight_lib_asm.h"
|
|
|
|
void main() {
|
|
flight_init(2);
|
|
flight_route(2, 10);
|
|
flight_distance(2, 0X2000);
|
|
} |