1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-11 19:49:32 +00:00
Commit Graph

2777 Commits

Author SHA1 Message Date
jespergravgaard
5905c1d5b6 Now handling uncalled procedures. 2023-04-09 11:24:22 +02:00
jespergravgaard
416184894f #815 working on generalizing the control flow graph and control flow block into an interface. 2023-04-09 00:02:48 +02:00
jespergravgaard
5a74d14b41 #815 working on generalizing the control flow graph and control flow block into an interface. 2023-04-08 22:52:15 +02:00
jespergravgaard
185bd439e4 #815 more procedure compilation 2023-04-06 22:46:28 +02:00
jespergravgaard
7b1b3d3708 Merge branch 'master' into 814-upgrade-java 2023-04-06 08:55:27 +02:00
jespergravgaard
a12a211d70 #814 Upgrade to Java 17 plus upgraded libraries. 2023-04-06 08:44:31 +02:00
jespergravgaard
271163a25f Merge branch 'master' into 372-varcall-progress 2023-04-05 17:17:16 +02:00
jespergravgaard
f2b9b5bde7 FlightControl fix for #678. Improved doc. 2023-04-04 13:18:58 +02:00
jespergravgaard
b85e6fc715 FlightControl fix for #678. 2023-04-04 13:11:36 +02:00
jespergravgaard
3c52043744 FlightControl fix for #678. 2023-04-04 12:54:28 +02:00
jespergravgaard
5c86d25057 FlightControl fix for #678. 2023-04-04 12:45:38 +02:00
Flight_Control
c5f260e882 Implemented C99 compatible union initializer method.
- Added test cases.
- Reworked parser.
- Added code redesign to avoid crashes in Initializers.java.
2023-04-04 09:30:40 +02:00
jespergravgaard
08ed1deebd Working on #372 varcall. Struct of struct parameters working. 2023-04-03 10:37:54 +02:00
Flight_Control
9db2d9b960 Implemented C99 compatible union initializer method, using .member= syntax...
(cherry picked from commit ef62f80b2b693aa92bcbdfb873bad5f995b4b6ff)
2023-04-03 09:00:01 +02:00
Sven Van de Velde
51623c3657 Implemented C99 compatible union initializer method, using .member= syntax...
(cherry picked from commit f52f851127ab06064c010d310ee7d87f78e1f303)
2023-04-03 08:59:40 +02:00
jespergravgaard
594e8d688c Working on #372 varcall. Pointers to struct working. 2023-04-02 12:18:33 +02:00
jespergravgaard
2dd2f2e081 Working on #372 varcall. Fixed struct in/out by value - also when only called once. 2023-04-02 11:18:07 +02:00
jespergravgaard
9a85048003 Working on #372 varcall. Fixed struct in/out by value - also when only called once. 2023-04-02 11:17:57 +02:00
jespergravgaard
c9720722ad Working on #372 varcall. Fixed problem with returning a struct by value. 2023-04-01 19:30:19 +02:00
Jesper Balman Gravgaard
7098b28cb2 Merge branch 'error-handling' into 'master'
Catching a RunTimeException only when there is no UnknownFragmentException ...

See merge request camelot/kickc!25
2023-02-18 18:48:24 +00:00
Flight_Control
5fefeac7b6 Fixes functions declared in header files not assigned the correct code segment.
So the declarations of the functions receive also the currentCodeSegment, but only when the function is defined, the currentCodeSegment is to be assigned to the function (procedure!). During declaration of functions the code segment is likely Code ...
2022-11-22 07:30:22 +01:00
Flight_Control
379a3c1999 Catching a RunTimeException only when there is no UnknownFragmentException ...
and throw either
- Compile Error
- UnknownFragmentException (passing through).
2022-11-16 22:30:37 +01:00
jespergravgaard
63932ef555 Closes #807 bug when rewriting multiplication with power of 2, where the constant is the left operand. 2022-11-13 11:11:27 +01:00
jespergravgaard
95aa5ec6c4 Fixed problem where the compiler sometimes deletes a resource file when called. Closes #775 2022-06-19 09:14:21 +02:00
jespergravgaard
13a7063df0 Added some fragments. 2022-05-12 18:27:55 +02:00
jespergravgaard
e15c02839d Added some fragments. 2022-04-02 10:24:24 +02:00
jespergravgaard
d4b68806f8 Added PoC script for creating executable on MacOs using jpackage. #757 2022-02-20 21:14:26 +01:00
jespergravgaard
46f66c5499 Merge remote-tracking branch 'origin/master' 2022-02-18 09:18:17 +01:00
jespergravgaard
c7550fbd37 Updated version 2022-02-18 09:18:08 +01:00
jespergravgaard
e867c3a1d0 Updated LDQ z-indexing. 2022-02-13 22:35:08 +01:00
jespergravgaard
dec47ab811 merged master. 2022-02-13 11:52:34 +01:00
jespergravgaard
2791a0e099 Finished implementing support for huc6280 transfer instructions with abs,abs,abs addressing mode. 2022-02-13 11:49:02 +01:00
Jesper Balman Gravgaard
49abe6cdb7 Merge branch '766-add-huc6280-tst-instruction-addressing-modes' into 'master'
Resolve "Add Huc6280 TST instruction addressing modes"

Closes #766

See merge request camelot/kickc!15
2022-02-12 07:22:16 +00:00
jespergravgaard
42e31f6e69 Finished implementing support for huc6280 TST #imm.zp / #imm,abs / #imm,zp,x / #imm,abs,x. 2022-02-12 07:35:59 +01:00
jespergravgaard
ad48dfb7cf fixed test. 2022-02-10 21:16:39 +01:00
jespergravgaard
9c28ee4615 Made immediate word and relative word addressing modes explicit. Improved opcode-guesser to include search for these modes. 2022-02-09 07:14:19 +01:00
jespergravgaard
0b4a53ae12 Fixed new addressing modes. 2022-02-04 07:06:02 +01:00
jespergravgaard
48ed6891aa Removed Z register from huc6280 2022-02-04 06:46:25 +01:00
jespergravgaard
517b2af6d5 Added support for CPU HUC6280. 2022-01-30 21:41:50 +01:00
jespergravgaard
77d21270fb Added support for CPU HUC6280. 2022-01-24 01:04:31 +01:00
jespergravgaard
c9284e7ede moved fragment cache to target folder. generated during test stage. 2022-01-23 22:31:55 +01:00
jespergravgaard
c9ec085ad2 testing with ASM cache 2022-01-23 21:30:53 +01:00
Jesper Balman Gravgaard
d44a56fa77 Merge branch 'IcePic-master-patch-13431' into 'master'
Add function to clear pixels in c64-bitmap.c.

See merge request camelot/kickc!8
2022-01-23 18:49:55 +00:00
jespergravgaard
4d521217dd Postponed zeropage overflow to main memory until the final allocation (after uplift and optimization). Closes #753 2022-01-09 11:04:24 +01:00
jespergravgaard
b446d4d64b added missing fragments. closes #751 2022-01-08 13:50:11 +01:00
jespergravgaard
514171a803 added missing fragments. closes #750 2022-01-08 13:44:39 +01:00
jespergravgaard
46f6690b6d added missing fragments. closes #749 2022-01-08 13:41:11 +01:00
jespergravgaard
c70a44edc8 added missing fragments. #749 2022-01-08 13:33:43 +01:00
jespergravgaard
76d5ad3f44 added missing fragment. 2022-01-08 13:14:27 +01:00
Janne Johansson
62a1f1cec4 Add function to clear pixels in c64-bitmap.c. 2022-01-06 18:04:34 +00:00