Irmen de Jong
ca129edce4
adding new 6502 codegen
2026-06-29 04:43:23 +02:00
Irmen de Jong
d83ece397d
add configurable default launcher types for custom compilation targets
2026-06-19 18:58:05 +02:00
Irmen de Jong
d5932a7a57
improved bankin support error message
2026-06-17 23:45:30 +02:00
Irmen de Jong
b5fc25b2f4
Merge branch 'v12.2.1'
...
# Conflicts:
# compiler/test/TestCompilerOnExamples.kt
# docs/source/_static/symboldumps/skeletons-cx16.txt
2026-06-17 19:41:34 +02:00
Irmen de Jong
0f80b695e7
Fix invalid optimizer edge cases
2026-06-17 01:18:39 +02:00
Irmen de Jong
1b5efe1e5d
fix datatype size comparison for strings vs pointers
2026-06-15 09:03:13 +02:00
Irmen de Jong
f9b3514f2a
fixes and tests for embedded arrays in structs
2026-06-14 16:18:23 +02:00
Irmen de Jong
1e5ba48fe0
tweak banked call support checks on compilation targets
2026-06-13 02:01:34 +02:00
Irmen de Jong
de706e79de
add friendly error for invalid 2D array syntax
2026-06-10 04:14:32 +02:00
Irmen de Jong
628bd41740
update kotest
2026-06-08 20:43:54 +02:00
Irmen de Jong
de988f72c6
switch from IDEA iml to Gradle build config, this finally fixes Kotest integration as well
2026-06-08 20:43:54 +02:00
Irmen de Jong
2e7235ec02
fix daemon mode error reporting paths
2026-06-07 02:31:06 +02:00
Irmen de Jong
2a5dbc1ef7
update project urls that have been moved from github to codeberg
2026-05-24 12:29:09 +02:00
Irmen de Jong
61b616701e
fix -watch mode to not use stale cached files on subsequent runs
2026-05-20 22:54:52 +02:00
Irmen de Jong
2685854113
memory("name") with only 1 arg now allowed to refer to the actual memory reservation call elsewhere (with all three name, size, align args).
2026-05-16 23:24:41 +02:00
Irmen de Jong
1bb9ad5f46
fix peekw target register assignment crash
2026-05-02 23:38:56 +02:00
Irmen de Jong
9d1fa856d4
added unit tests that use the ksim65 simulator to actually run the compiled code
2026-05-02 06:15:09 +02:00
Irmen de Jong
0a1d06b7f2
corrected associative -> commutative operators names, simplified maySwapOperandOrder logic
2026-04-30 01:13:50 +02:00
Irmen de Jong
2d3c20d347
c128: define golden ram area at $1300-$1BDF
2026-04-24 05:26:25 +02:00
Irmen de Jong
a40f9de9e6
fix IR codegen issue with DIVMOD and some other instructions
2026-04-24 04:22:29 +02:00
Irmen de Jong
930697dad5
using builder to improve massive lists of constructor params
2026-04-19 01:39:50 +02:00
Irmen de Jong
c0103f149e
more general implementation of struct definition equality check see github #198
2026-04-12 20:43:19 +02:00
Irmen de Jong
b2ed3b5934
add C128 MMU control registers to 'IO' registers ranges.
...
remove unused GoldenRam configuration stuff.
2026-04-10 16:52:28 +02:00
Irmen de Jong
9ae0623ad0
making MemoryAddress an Unsigned Int
2026-04-09 02:40:24 +02:00
Irmen de Jong
96eb3f0fb2
ImportFileSystem thread safe, IR performance tweaks
2026-04-03 06:53:08 +02:00
Irmen de Jong
1ed618c474
performance improvements in parser
2026-04-03 04:31:29 +02:00
Irmen de Jong
e6c26587d6
improve Position accuracy
2026-04-03 03:42:17 +02:00
Irmen de Jong
db417ab9ce
refactoring AstModification
2026-03-31 19:59:56 +02:00
Irmen de Jong
6184a5004c
wrapping child nodes mutable list away to avoid direct access that might corrupt it
2026-03-31 10:33:54 +02:00
Irmen de Jong
07772bddfd
better zeropage tests and symboltable tweaks
2026-03-31 07:21:56 +02:00
Irmen de Jong
15bf4c7692
unit test helpers refactoring
2026-03-31 05:50:30 +02:00
Irmen de Jong
5408a3ca68
fix compiler crash on certain pointer type struct fields
...
added new compiler options for debugging purposes
2026-03-29 08:25:53 +02:00
Irmen de Jong
400149d5a3
standardize gradle project configurations across submodules
2026-03-28 10:08:47 +01:00
Irmen de Jong
2bd7f3e210
improved SimpleAST optimizer
2026-03-27 01:13:38 +01:00
Irmen de Jong
68226a8fcd
Update Kotlin and dependencies to latest versions
...
- Bump Kotlin to 2.3.20 across all configurations.
- Upgrade `kotlin-result-jvm` to 2.3.1 in all modules.
- Update Gradle wrapper to 9.4.0.
- Add `poweroff_system()` function in virtual target symboldump
2026-03-25 17:51:01 +01:00
Irmen de Jong
e56ccdbc3a
add signed divmod() support for virtual target
2026-03-16 01:19:02 +01:00
Irmen de Jong
8be0cd3c19
fix certain value copying through pointer dereferences
2026-03-16 00:10:47 +01:00
Irmen de Jong
86f331aa39
thread locking tweaks
2026-03-14 00:13:56 +01:00
Irmen de Jong
e61328b6d6
update Java dependency to 17, update results library version
2026-03-14 00:04:11 +01:00
Irmen de Jong
c20e5b788b
implement missing square_long routine
...
improve agents system prompt file
2026-03-13 18:21:47 +01:00
Irmen de Jong
3b68741208
replace indexed pointer deref expressions with peek(ptr+index)
2026-03-08 12:59:34 +01:00
Irmen de Jong
1ad9e0fc46
implement missing struct field array indexing and faulty pointer dereferencing
2026-03-08 02:43:52 +01:00
Irmen de Jong
23b9a2792d
C64: move SCRATCH_PTR to $04+$05, from $9b+$9c because $9b is used by JiffyDOS. Fixes #217
2026-02-28 22:55:44 +01:00
Irmen de Jong
859a02fb0a
adding profiling instrumentation support
2026-02-27 22:41:42 +01:00
Irmen de Jong
bdbdf6e5cd
add lmh(longvalue) builtin function that returns the low, mid, hi (=bank) bytes of a long
...
symboldumps now also contain the builtin functions
2026-02-23 21:30:39 +01:00
Irmen de Jong
9736ac19d1
implementing multiple return values for builtin functions
2026-02-22 19:54:21 +01:00
Irmen de Jong
093be9f2dd
sys.push(), sys.pop() etc etc are now builtin functions again push() pop() to avoid storing value in temporary variables
...
this means that all of the syslib.p8 library files no longer contain all those stack related asmsubs
2026-02-21 02:11:34 +01:00
Irmen de Jong
2613d45cd5
swap() is now a statement instead of a builtin function call
2026-02-17 20:56:21 +01:00
Irmen de Jong
74ca190ce0
long args call convention is to pass via parameter variable not R14R15
2026-02-15 17:36:09 +01:00
Irmen de Jong
6a0b22bb64
implement sqrt(long)
2026-02-15 17:11:31 +01:00