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
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
41e963b04b
memory() name argument should be string literal, nice error message
2025-03-01 12:38:42 +01:00
Irmen de Jong
6ff75bef29
fix verafx register address typo VERA_FX_POLY_FILL_H
2025-02-27 21:59:04 +01:00
Irmen de Jong
72c16d0d32
avoid doing useless jsr for reboot/poweroff calls
2025-02-26 20:42:38 +01:00
Irmen de Jong
94653e5c8c
possible workaround for SMC issue that could make sys.reset_system() and sys.poweroff_system() not work properly
2025-02-24 23:07:51 +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
ae04f5aee8
%option romable now disables floating point support
...
because if it's your code that is running in the rom bank you can't have the floating point routines available there
2025-02-23 10:21:55 +01:00
Irmen de Jong
5c56267662
Also romable warning for inline variables. Added TODO: Romable in library files where applicable
2025-02-21 21:58:31 +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
fb1e89d9ef
update docs about call convention for multi-value results (first is in A or AY, then R15...R0)
...
added sprites+coroutines+defer part to benchmark program
2025-02-19 22:10:12 +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
e6088dd315
optimize byte comparisons against small word constants
2025-02-13 12:02:11 +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
069143092d
fix Golden ram issues
2025-02-09 15:57:14 +01:00
Irmen de Jong
efd41260f2
added %jmptable
2025-02-09 15:02:59 +01:00
Irmen de Jong
a940dc7d43
improve dumpvars output for zeropage variables
2025-02-03 22:36:58 +01:00
Irmen de Jong
06ca68a625
add drivenumber to fileselector config
2025-02-02 23:09:27 +01:00
Irmen de Jong
5b58e5b158
fix unit tests
2025-02-02 21:52:33 +01:00
Irmen de Jong
74dd8fe80b
%output library header generation depends on compiler target
...
fileselector example tweaks
2025-02-02 20:51:45 +01:00
Irmen de Jong
75ddcda5f3
simplify DirectiveArg
2025-02-02 04:35:20 +01:00
Irmen de Jong
216825b98a
cx16: made fileselector example into a loadable library
2025-02-02 04:13:03 +01:00
Irmen de Jong
a96defab86
diskio: added several diskio routines to list only the files or dir entries on the disk
...
uses CBM DOS filtering $:*=c and $:*=p
2025-02-02 02:44:23 +01:00
Irmen de Jong
0864b0a1b7
cx16: added several diskio routines to list only the files or dir entries on the disk
...
uses CBM DOS filtering $:*=d and $:*=p
2025-02-01 22:41:34 +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
2b7947f9b0
fix address check issue when using custom launcher
2025-01-31 23:34:12 +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
bb75be0b44
library now includes the 2 byte PRG header
...
fixed some assorted things
2025-01-26 19:48:44 +01:00
Irmen de Jong
2478aea316
add %output library
2025-01-24 23:25:57 +01:00
Irmen de Jong
8583a96519
optimized gnomesorts
2025-01-24 00:40:11 +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
0191acb2b3
fix IR codegen for the RETURN 4,5,6,7
...
added cx16.EXTAPI_memory_decompress_from_func for cx16
2025-01-22 23:31:51 +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