Irmen de Jong
37b3868ca3
symboldump now also includes aliased symbols (like palette.set_default)
2025-04-08 21:40:28 +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
69c96ad99b
cx16: added cx16.push_rambank/rombank and cx16.pop_rambank/rombank for easy temporary bank switching
2025-04-06 15:33:35 +02:00
Irmen de Jong
b72877d59d
cx16: added routines to get and set the default palette (new rom 49+ extapi)
2025-04-06 15:14:04 +02:00
Irmen de Jong
05eb15d4f7
add cx16.memory_decompress_from_func()
2025-04-06 13:48:08 +02:00
Irmen de Jong
f1fec37c79
rename examples/vm to examples/virtual
2025-04-04 20:02:45 +02:00
Irmen de Jong
73f6880ff8
fix irq related crash by no longer zeroing out stored vector
2025-04-02 22:22:21 +02:00
Irmen de Jong
8a53742f31
fix notreached error
2025-04-01 23:12:08 +02:00
adiee5
9be40e85ff
Improve romability of low-level libs ( #160 )
...
* Improve romability of low-level libs
* Improve ROMability of targeted syslibs
Previous commit just did that for multitarget libs, now it's also syslibs of built-in targets that get this treatment too.
2025-04-01 23:00:14 +02:00
Irmen de Jong
61079c1eb7
errormessage for assignment to str/arrays in ROM
2025-03-31 23:57:04 +02:00
Irmen de Jong
1075ee8fc3
errormessage for non romable extsub bank declaration
2025-03-31 23:05:58 +02:00
Irmen de Jong
a28b265197
fix diskio merge issue on c64 and c128. Fixes #167
2025-03-31 22:06:49 +02:00
Irmen de Jong
20e534c468
fix memtop limit when using -varshigh option
2025-03-27 23:31:05 +01:00
Irmen de Jong
da7aa5dc49
forloop temp index variables no longer inline when romable
2025-03-26 22:38:50 +01:00
Irmen de Jong
8f2a43ca0a
temp vars for for loops indices in romable mode, are no longer allocated from the precious Zeropage
2025-03-26 22:12:22 +01: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
1641999d20
upgrade to kotlin 2.1.20
2025-03-22 23:06:44 +01:00
Irmen de Jong
e16452037c
no more self modifying code for loops over non-const word range
2025-03-22 22:51:30 +01:00
Irmen de Jong
344d79684a
get rid of more modifying code in forloops (byte ranges with step 1/-1)
...
fix invalid stack corrupting loops
2025-03-22 20:45:28 +01:00
Irmen de Jong
573a1d9b7b
refactor for loop over byte ranges
2025-03-22 16:07:46 +01:00
Irmen de Jong
25ab57580c
for loop over string no longer requires self-modifying code
2025-03-22 13:38:49 +01:00
Irmen de Jong
a332e0e3d1
remove self-modifying code from @(ptr)++ and @(ptr)--
...
romable errors for string and array variables turned into read-only warnings
remove self-modifying code from @(ptr)++ and @(ptr)--
2025-03-21 23:54:19 +01:00
Irmen de Jong
376f1cb139
remove self-modifying code from rol(ptr) and ror(ptr)
2025-03-21 23:16:40 +01:00
Irmen de Jong
90f80558d7
add more 'modified' comments to self-modifying code lines
2025-03-21 17:59:49 +01:00
Irmen de Jong
e281994898
intellij syntax def file works for all jetbrains ides
2025-03-21 01:32:24 +01:00
markjreed
29fac122e1
fix: ignore EOF when looking for error status after reading first byte of newly-opened file ( #166 )
...
* fix: ignore EOF when looking for error status after reading first byte of newly-opened file
* fix: replace hard-coded $40 and $BF with STATUS_EOF and ~STATUS_EOF
2025-03-19 23:00:55 +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
8b08895d0f
also add strings.ncompare() to virtual lib
2025-03-09 14:33:31 +01:00
Irmen de Jong
8f8d99e3ed
updated symboldumps
v11.2
2025-03-07 23:58:06 +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
ef23d52ed7
better error if module name clash occurs caused by case-insensitive names
2025-03-07 21:35:35 +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
e3e5bff7bb
add missing sprites benchmark module
2025-03-06 19:39:55 +01:00
Irmen de Jong
7b9a841b2a
fix C64 graphics.plot() it was broken since 10.5
2025-03-06 00:42:17 +01:00
Irmen de Jong
40423911ef
added footgun warning when calling labels as subroutine
2025-03-04 22:14:21 +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
2b6510dc19
improve error message for non-numeric when choice values
2025-03-03 19:48:45 +01:00
Irmen de Jong
9d49589d73
fix codegen for @(ptr-offset)=value writing bogus values
2025-03-02 23:40:14 +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
5255f1c052
print offending source position in more of the TODO errors to help diagnosing
2025-03-01 23:16:34 +01:00
Irmen de Jong
a6ba05d60c
compile time evaluation of constant rangecheck
2025-03-01 13:45:11 +01:00