1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-03 07:29:37 +00:00
kickc/src/test/kc/library/flight3/plane.c
Sven Van de Velde 30e6aff441 - Documentation for .asm libraries fixes.
- Asm library code debug fixes.
- Added test programs as explained in the documentation.
2023-12-15 14:51:18 +01:00

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);
}