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

2896 Commits

Author SHA1 Message Date
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
Jesper Balman Gravgaard
7e0986196e Merge branch '372-varcall-progress' into 'master'
Working on #372 varcall. Fixed problem with returning a struct by value.

See merge request camelot/kickc!37
2023-04-05 15:32:31 +00:00
jespergravgaard
271163a25f Merge branch 'master' into 372-varcall-progress 2023-04-05 17:17:16 +02:00
Jesper Balman Gravgaard
f864f61be2 Merge branch 'add-union-initializer-c99-syntax' into 'master'
Implemented C99 compatible union initializer method, using .member= syntax...

See merge request camelot/kickc!40
2023-04-04 20:35:44 +00: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
Jesper Balman Gravgaard
addfe05454 Merge branch 'fix-procedure-code-segment-updates' into 'master'
Fixes functions declared in header files not assigned the correct code segment.

See merge request camelot/kickc!26
2023-02-18 18:47:36 +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
Jesper Balman Gravgaard
152832fd4e Merge branch '807-fix-multiplication-bug' into 'master'
Closes #807 bug when rewriting multiplication with power of 2, where the...

Closes #807

See merge request camelot/kickc!24
2022-11-13 10:23:23 +00: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
d9d7f2cf03 touching fragment cache. 2022-02-18 10:46:49 +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
Jesper Balman Gravgaard
4c23b4ad9f Merge branch '770-update-45gs02-to-reflect-changed-z-indexing-when-doing-ldq' into 'master'
Resolve "Update 45GS02 to reflect changed Z-indexing when doing LDQ."

Closes #770

See merge request camelot/kickc!18
2022-02-13 21:48:03 +00:00
jespergravgaard
e867c3a1d0 Updated LDQ z-indexing. 2022-02-13 22:35:08 +01:00
Jesper Balman Gravgaard
230776a2da Merge branch '766-add-huc6280-tst-instruction-addressing-modes' into 'master'
Finished implementing support for huc6280 transfer instructions with abs,abs,abs addressing mode.

Closes #766

See merge request camelot/kickc!17
2022-02-13 11:05:44 +00: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
Jesper Balman Gravgaard
34d258c3c5 Merge branch '767-problem-with-z-register-on-cpu-huc6280' into 'master'
Resolve "Problem with Z-register on CPU HuC6280"

Closes #767

See merge request camelot/kickc!16
2022-02-04 05:59:13 +00: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
Jesper Balman Gravgaard
ec3120fc1d Merge branch 'jespergravgaard-master-patch-82001' into 'master'
Fixed mkdir problem.

See merge request camelot/kickc!13
2022-01-24 08:26:29 +00:00
Jesper Balman Gravgaard
66205f3a99 Fixed mkdir problem. 2022-01-24 08:19:42 +00:00
Jesper Balman Gravgaard
0685e974db Merge branch '758-add-support-for-cpu-huc6280' into 'master'
Resolve "Add support for CPU HuC6280"

Closes #758

See merge request camelot/kickc!12
2022-01-24 00:17:33 +00:00
jespergravgaard
77d21270fb Added support for CPU HUC6280. 2022-01-24 01:04:31 +01:00
jespergravgaard
7b06467064 collapsed build&test. fixed doxygen. 2022-01-23 23:41:54 +01:00
Jesper Balman Gravgaard
d9aca64c45 Merge branch '761-improve-gitlab-pipeline' into 'master'
Resolve "Improve gitlab pipeline"

Closes #761

See merge request camelot/kickc!11
2022-01-23 21:51:48 +00:00
jespergravgaard
c9284e7ede moved fragment cache to target folder. generated during test stage. 2022-01-23 22:31:55 +01:00