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
Irmen de Jong
07be7f0154
fix long argument @R0R1 register usage in regular subroutines
2026-02-15 14:54:47 +01:00
Irmen de Jong
f95f568319
fix mflpt5 overflow error message
2026-02-12 02:29:10 +01:00
Andy De George
099514a2c0
Fix error output file path: Encode to URI ( #214 )
2026-02-06 22:09:58 +01:00
Irmen de Jong
ed02b84f7d
micro optimization for containment checks in compiler
2026-02-06 02:43:12 +01:00
Irmen de Jong
10ae42ed59
suggest import for undefined block symbols, update github links
2026-01-25 05:45:33 +01:00
Irmen de Jong
9a5edeebbc
upgrade to kotlin 2.3.0
2026-01-24 00:29:45 +01:00
Irmen de Jong
2e0db6f211
add swap() builtin for optimized value swaps without the need for a temporary variable
2026-01-23 23:17:10 +01:00
Irmen de Jong
51ac096a31
add a -warnimplicitcasts compiler option
2026-01-23 03:06:53 +01:00
Irmen de Jong
aac7d68455
fix watch mode to clear file cache every cycle
2026-01-14 20:16:33 +01:00
Irmen de Jong
8c4944d703
optimized long and float copying through pointers
2026-01-12 00:19:21 +01:00
Irmen de Jong
bbfb2eb367
optimized longvar = lptr^^
2026-01-07 23:30:35 +01:00
Irmen de Jong
78d6d2d59a
breaking change: renamed R0R1_32 etc combined register parameters to just R0R1, R2R3, etc etc (_32 suffix is removed to make it more consistent with the other existing register names)
2026-01-07 21:56:16 +01:00