1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-11 17:29:39 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Flight_Control
1a53d6a913 - Refer .asm library imported global variables to the the namespace where the global variable resides.
- Generalized the AsmLibrary procedures to symbols, to also allow exporting variables.
- Removed the initialization part of .asm library header generation for global exported variables.
- The directive __asm_export can now also be used to indicate global variables exporting within C libraries (for potential .asm library generation).
- Converted the usage of typedef to struct for __conio global variable in cx16_conio.c
- Updated example code.
- Fixed a bug where for exported structs and imported structs, the variables were defined as volatile to non-volatile.
- VariableBuilder constructor now also received the program variable to refer to program level configurations defined.
- Remove to declare string constants as .asm library exported global variables.
- Removed the optimization PassNAsmLibraryGlobalVarsExport. It is not needed. Each global variable export must be explicitly declared using asm_export or __asm_export.
- Improved naming of variables and procedures to retrieve and manage import and export libraries within the program.
2024-04-26 12:44:28 +03:00
Sven Van de Velde
fa678aac3d - Rework printf to include printf in libraries. printf_type functions don't user anymore the format structure, but all formatting is passed as parameters. 2023-12-16 19:12:46 +01:00
jespergravgaard
72471bbcd0 Rewrote printf() to use a putc() function pointer. Working on #698 2021-08-13 09:19:33 +02:00
jespergravgaard
e7ca7913f1 Integrated <conio.h> and <printf.h> to work together. Added missing fragments. 2020-05-03 00:34:06 +02:00
jespergravgaard
9ddcb9790a Implemented 8 queen problem recursive solution. 2020-04-25 23:28:38 +02:00
jespergravgaard
ae28cb9c67 Improved minus literal implementation. Added <ctype.h> toupper(), <string.h> strupr(). Added support for %X (upper case HEX) in printf() format. Closes #419 2020-04-25 13:15:22 +02:00
jespergravgaard
d160e45c8a changed printf() cursor to be x,y-based. 2020-04-22 00:14:30 +02:00
jespergravgaard
f6ee599d79 Added printf() support for newlines, %% and %c. Added tests for different formats. #410 #415 2020-04-21 08:41:52 +02:00
jespergravgaard
897cde29e4 Added printf.h which contains functions for printing formatted numbers and strings. 2020-04-18 20:54:39 +02:00