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
|
79cda544c8
|
allow integer range as when choice value
|
2025-03-17 22:26:27 +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
|
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
|
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
|
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
|
41e963b04b
|
memory() name argument should be string literal, nice error message
|
2025-03-01 12:38:42 +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
|
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
|
09ec508f82
|
avoid unnecessary word extension when assigning a register byte to a byte target
|
2025-02-19 20:19:20 +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
|
17334a1c58
|
fix 6502 codegen error for mixed case register params and normal params
|
2025-02-10 22:06:11 +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
|
efd41260f2
|
added %jmptable
|
2025-02-09 15:02:59 +01:00 |
|
Irmen de Jong
|
60554389b3
|
for fileselector library save/restore the prog8 temporary ZP locations
|
2025-02-04 00:17:55 +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
|
74dd8fe80b
|
%output library header generation depends on compiler target
fileselector example tweaks
|
2025-02-02 20:51:45 +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 |
|
Irmen de Jong
|
f335251c2b
|
added ability to specify additional assembler options in custom target configurations
|
2025-02-01 16:09:43 +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
|
9cdf53019c
|
some tweaks to the configurable targets
|
2025-01-30 23:52:44 +01:00 |
|
Irmen de Jong
|
1a04a3eb3a
|
added ability to configure custom ASM launcher code in target configuration file
|
2025-01-30 22:10:42 +01:00 |
|
Irmen de Jong
|
a106c88054
|
unit test for %output library, and docs.
|
2025-01-27 23:26:21 +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
|
1e17df5296
|
optimize word+byte*2 expression to word+byte+byte (more efficient in 6502 codegen)
|
2025-01-24 21:30:02 +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
|
277a1a32b2
|
fix crash when declaring a string array with wrong variable type str vs str[]
|
2025-01-21 03:12:12 +01:00 |
|