Irmen de Jong
99b9370178
fix various bugs around word-indexing combined with address-of: &buffer[2000]
2025-05-10 16:22:05 +02:00
Irmen de Jong
53e442d509
fix regression in 11.3.1: allow bitwise operation between different types as long as they're the same size.
2025-05-07 23:06:45 +02:00
Irmen de Jong
f7cbfdff06
skip this test for now
2025-05-07 21:14:52 +02:00
Irmen de Jong
b28ee0819f
revert behavior change of @dirty variables, instead document the initialization behavior correctly in the docs
...
they get zeroed at program startup (like other uninitialized BSS variables), just not on entry in the subroutine.
2025-05-07 21:07:12 +02:00
Irmen de Jong
522958e0e9
@dirty variables now actually end up in the uninitialized BSS_NOCLEAR section
2025-05-06 01:41:34 +02:00
Irmen de Jong
d04164c0a6
fix const evaluation of bitwise logical expressions (&, |, ^, <<, >>) of signed operands
2025-04-30 22:27:31 +02:00
Irmen de Jong
b047731f82
removed some redundant arguments
2025-04-25 23:27:06 +02:00
Irmen de Jong
99ae8ea52e
code cleanup
2025-04-24 18:51:03 +02:00
Irmen de Jong
8debc42381
slightly stricter assignment type compatibility checking
2025-04-24 15:05:35 +02:00
Irmen de Jong
d2cc7ccdfa
remove redundant variable=0 initializations (BSS clear takes care of them)
2025-04-23 14:45:38 +02:00
Irmen de Jong
a4d0589f10
fix errors like parse error still printed in color when -plaintext is set
2025-04-22 19:26:11 +02:00
Irmen de Jong
5a7bc04816
update docs about library jump table
2025-04-19 13:49:03 +02:00
Irmen de Jong
59582f5210
added -quiet flag to suppres all compiler and assembler messages
2025-04-10 21:16:26 +02:00
Irmen de Jong
a6835ce3f0
fix signed word value range check error, fix rol2() on array element
2025-04-08 21:05:50 +02:00
Irmen de Jong
f1fec37c79
rename examples/vm to examples/virtual
2025-04-04 20:02:45 +02:00
Irmen de Jong
d0909d7810
added diskio.loadlib() convenience function to load library blobs
2025-03-24 22:35:34 +01:00
Irmen de Jong
1dc412eb90
simplify
2025-03-18 23:50:51 +01:00
Irmen de Jong
3770a4fe0c
easier datatype notation by just using the type objects directly
2025-03-18 23:33:04 +01:00
Irmen de Jong
79cda544c8
allow integer range as when choice value
2025-03-17 22:26:27 +01:00
Irmen de Jong
f04b97d890
support symlinks in paths (triggered by symlinked tmp on mac os)
2025-03-15 14:33:33 +01:00
Irmen de Jong
3e9b4ccc45
getting rid of needless absolute pathings
2025-03-14 20:39:18 +01:00
Irmen de Jong
2c3d838dd8
get rid of deprecated usage of thread id to create temporary test output file names
2025-03-14 01:23:01 +01:00
Irmen de Jong
7668a3c660
use kotest tempdir instead of hardcoded output directory
2025-03-14 01:18:33 +01:00
Irmen de Jong
5dd45b714a
psg module: the envelope handler no longer writes to vera PSG voices that haven't been enabled
2025-03-12 23:07:13 +01:00
Irmen de Jong
23474360ec
fix ncompare calls
2025-03-07 23:56:13 +01:00
gillham
81c255c450
Add strings.ncompare (and backing strncmp_mem) to compare up to n characters of a string. ( #164 )
...
* Add strings.ncompare (and backing strncmp_mem) to compare up to n characters of a string.
* Document strings.ncompare.
2025-03-07 23:53:56 +01:00
Irmen de Jong
220ab773aa
fix asmgen error when assigning address of split word array without explicit adressof syntax
2025-03-06 23:20:42 +01:00
Irmen de Jong
582a70b046
fix calling label as subroutine (JSR label)
2025-03-04 21:53:53 +01:00
Irmen de Jong
5b63590ebf
fix symbol prefixing bug triggered by certain usage of %option no_symbol_prefixing
2025-03-03 22:26:19 +01:00
Irmen de Jong
125b66c929
fix crash in asmgen for boolean comparison with false, when not using optimizations
2025-03-01 23:57:55 +01:00
Irmen de Jong
3e2b2a698d
Separate simple Ast and Symboltable from codeCore into new simpleAst module. VirtualMachine and Intermediate do not need them, just codeCore.
2025-02-24 22:06:52 +01:00
Irmen de Jong
e55ce5504e
added %option romable to enable romable mode, but only generate a bunch of warnings for problematic codegeneration atm
2025-02-20 23:40:44 +01:00
Irmen de Jong
d06e9ea7f6
allow comparisons against constant values with different type
2025-02-19 20:19:20 +01:00
Irmen de Jong
fc03d6f332
changed -sourcelines option to -nosourcelines (default is now to include them)
2025-02-12 21:27:46 +01:00
Irmen de Jong
2aeb7a838e
finalize extracting neo and atari compiler targets into configuration files instead
2025-02-12 14:01:04 +01:00
Irmen de Jong
99ff5dd078
extracting neo and atari compiler targets into configuration files instead
2025-02-12 13:58:34 +01:00
Irmen de Jong
49982b49b6
extracting neo and atari compiler targets into configuration files instead
2025-02-12 13:58:34 +01:00
Irmen de Jong
9e79722a7f
fix rangeexpression value type casting
2025-02-11 22:23:07 +01:00
Irmen de Jong
c7f0ff11ac
fix crash when initializing string variable with a non-string value
2025-02-10 02:54:53 +01:00
Irmen de Jong
cd2cc89e6a
fix type errors in Range containment check
2025-02-10 02:27:34 +01:00
Irmen de Jong
5b58e5b158
fix unit tests
2025-02-02 21:52:33 +01:00
Irmen de Jong
216825b98a
cx16: made fileselector example into a loadable library
2025-02-02 04:13:03 +01:00
gillham
e646dd1ed1
Add an encoding for the C64 OS custom character set. Use c64os: ( #158 )
2025-01-31 23:41:55 +01:00
Irmen de Jong
a106c88054
unit test for %output library, and docs.
2025-01-27 23:26:21 +01:00
Irmen de Jong
ee784e1ccc
fix indication for when imported modules are library modules or not.
...
This fixes a bug where syslib and such gets optimized away when it is loaded from an alternative library location using the configurable target library path property setting.
2025-01-26 21:19:29 +01:00
Irmen de Jong
d0c184c7de
remove needless 0 initializations of multi decl's
...
fix outdated text
2025-01-23 22:42:58 +01:00
Irmen de Jong
7a13f57ab0
enforce variable init values are only strings or arrays
2025-01-20 01:25:17 +01:00
Irmen de Jong
0c882836d9
support multi-value variable initialization: ubyte a,b,c = multi()
2025-01-18 22:08:31 +01:00
Irmen de Jong
228be5cd04
callgraph no longer forgets some identifier occurrences
2025-01-18 21:18:08 +01:00
Irmen de Jong
e8f3af6981
adding a configurable compilation target
2025-01-17 00:56:44 +01:00