Kugel Fuhr
54f63a0cdc
Fix the behavior of variable symbols in regard to cheap locals. Previously
...
every assignment to a variable symbol opened the same scope for cheap locals.
So when redefining a variable symbol, an old cheap local scope was reopened
which was unexpected and confusing. The change fixes this so that only the
first definition of a variable symbol opens a new scope for cheap locals, but
redefinitions of the same symbol do not.
2025-06-19 09:11:30 +02:00
mrdudz
05506ede2a
comments
2025-06-18 02:41:22 +02:00
mrdudz
499fcbdb5f
we dont use the table in the custom jsr
2025-06-18 02:38:34 +02:00
mrdudz
80b4ea304b
fix table for added address modes
2025-06-18 02:24:59 +02:00
mrdudz
9eecd794b1
less hacky way to get the addr mode
2025-06-18 02:03:52 +02:00
mrdudz
ff1e5b3351
minimize diff
2025-06-18 01:14:31 +02:00
mrdudz
5a3aa1fd51
fix/add missing .ifp02x and .p02x pseudo ops, update test
2025-06-17 23:34:23 +02:00
mrdudz
2e27ee1702
added .IFM740 and .PM470, and while at it also .IFP02X and .P02X. Updated regression test to use these
2025-06-16 22:55:58 +02:00
mrdudz
0b74ae8c2d
add m740 to macpack cpu, add .ifpm740, add regression test for those
2025-06-16 21:59:38 +02:00
mrdudz
20e7c54fa3
more m740 fixes, makes the regression test work
2025-06-16 20:32:54 +02:00
mrdudz
7b12962eec
fix m740, survives disasm/asm roundtrip now, still needs some work though
2025-06-16 01:17:36 +02:00
mrdudz
5be4c4697c
original patch
2025-06-15 18:25:01 +02:00
Bob Andrews
647a79bb2f
Merge branch 'master' into checksorted
2025-06-14 02:16:34 +02:00
Bob Andrews
b9eeec0c51
Merge pull request #2677 from sintech/agat-support
...
Agat support
2025-06-13 17:59:40 +02:00
Bob Andrews
fc6ed60029
Merge branch 'master' into macexpand
2025-06-12 22:18:06 +02:00
mrdudz
aaa1058d32
use explicit markers (comments) for the bsearch table checking, simplifies the scripts and makes them more robust too :)
2025-06-09 21:48:20 +02:00
mrdudz
ba80de5efc
fix bsearch tables that must be sorted, add comment to all tables that must be sorted
2025-06-09 17:58:58 +02:00
Konstantin
34daf33d93
Remove dangling spaces
2025-06-07 14:10:50 +03:00
Konstantin
de524a6561
Initial Agat support
2025-06-04 22:51:17 +03:00
Gorilla Sapiens
9318c781ae
fixes #2666 , double charmap of char literals
2025-06-03 20:54:55 +00:00
Gorilla Sapiens
1b85ab6985
C style character translation in ca65
2025-05-06 03:02:18 +00:00
Bob Andrews
5e5dd1d6c4
Merge pull request #2498 from kugelfuhr/kugelfuhr/fix-include-in-macros
...
Fix .include within .macro/.repeat
2024-09-01 23:26:33 +02:00
Kugel Fuhr
b2aceaea24
Fix behavior of .INCLUDE within a macro or .REPEAT. In the original code
...
.INCLUDE was executed after expansion of the macro or .REPEAT - which was
wrong and caused all sorts of unexpected behavior. Related issues/PRs
are #231 , #1473 , #2159 and maybe others.
Note: After this change error messages for nested macro/.include statements
may be wrong. This is an unrelated bug that was always there and got exposed
by this fix. The bug needs to be addressed in a separate PR.
2024-09-01 19:58:07 +02:00
Kugel Fuhr
4b68d19993
Fix issue #1663 .
2024-09-01 10:42:18 +02:00
Evgeny Vrublevsky
c500cb9086
Add support of unnamed labels with @ (.localchar) prefix.
2024-04-07 13:34:48 +03:00
paul moore
9b5d11abde
fix blank lines
2024-03-18 16:08:13 -07:00
paul moore
1f1f2c5a68
move options, add doc
2024-03-18 16:04:49 -07:00
paul moore
eb2acfc3e4
move options, add doc
2024-03-18 15:58:00 -07:00
Bob Andrews
519a52d92c
Merge pull request #2209 from vrubleg/linecont
...
ca65: `.LINECONT` as a part of `.FEATURE`
2023-12-08 02:10:45 +01:00
paul moore
ac6d43adc9
fix option name
2023-12-03 15:27:49 -08:00
paul moore
c43557d4ed
complete first version
2023-12-03 13:58:04 -08:00
paul moore
b527549dd2
fix spaces at end of line
2023-12-03 13:19:42 -08:00
paul moore
617eb0e065
Added repeat support. Added short vs long expansion
2023-12-03 11:59:05 -08:00
paul moore
116f678180
fixed incorrect offsets , cleaned out redundant code
2023-12-02 11:04:25 -08:00
paul moore
d21616ea71
initial commit
2023-12-02 09:16:49 -08:00
paul moore
ca2cf4bf54
forgot to free retport line, remove old code
2023-12-01 16:34:47 -08:00
paul moore
b7af5ac438
fix gcc warning
2023-12-01 16:17:42 -08:00
paul moore
39744f1bde
initial commit
2023-12-01 15:40:33 -08:00
rumbledethumps
b17c4d3434
add rp6502 target
2023-11-16 18:46:16 -08:00
Evgeny Vrublevsky
c8df241337
Add line_continuations feature that works as .LINECONT but in a consistent way with other features.
2023-10-05 08:28:37 +03:00
bbbradsmith
28ffe2f59b
add jmp page crossing to --relax-checks, document it, fix --relax-checks documentation (segment branch error is not suppressed)
2023-08-19 15:39:51 -04:00
bbbradsmith
d09e0a7f20
Merge branch 'master' into ca65_jmp_abs_wrap_error
2023-08-19 14:07:52 -04:00
Bob Andrews
652949f183
Merge pull request #2104 from Movax12/remove-feature-requirement-addrsize
...
ca65: Remove .feature requirement for .addrsize
2023-05-22 00:39:04 +02:00
Movax12
a058d4a2f3
Fix warning message, remove comment
2023-05-08 16:55:54 -04:00
mvax
56df849101
add warning for .feature addrsize, clean up switch in SetFeature
2023-05-07 14:53:44 -04:00
mvax
11cc5b6f06
remove .feature requirment for addrsize function, silently ignore '.feature addrsize'
2023-05-06 14:24:53 -04:00
mvax
1c58b302d8
Bugfix for the .ISMNEMONIC, .ISMNEM builtin function
2023-05-05 12:31:19 -04:00
Brad Smith
5ed7153841
Merge branch 'master' into ca65_jmp_abs_wrap_error
2023-05-03 21:12:37 -04:00
Bob Andrews
b743b1a8c2
Merge pull request #2081 from bbbradsmith/suppress-size-error
...
ca65: Suppress '.size' error for multiply-defined symbols
2023-05-04 00:36:48 +02:00
Bob Andrews
83ff62d5e2
Merge pull request #2078 from bbbradsmith/line-endings
...
ca65 support for three line ending types: \r, \r\n, \n
2023-05-03 21:19:03 +02:00