Commit Graph

11877 Commits

Author SHA1 Message Date
mrdudz
b99bdf1e89 if "geos-template.d64" exists, copy the samples to that instead of a blank image 2025-07-12 21:15:12 +02:00
mrdudz
7117936828 calculate number of disk blocks from size of VLIR record(s) 2025-07-12 20:58:18 +02:00
Bob Andrews
5fc300b987 Merge pull request #2280 from pm100/seglist
Add segment ID to assembler listing for reloc code
2025-07-10 22:49:21 +02:00
Bob Andrews
3e3a65f82e Update ca65.sgml 2025-07-10 22:35:18 +02:00
Bob Andrews
f7ebd4dfea Merge branch 'master' into seglist 2025-07-10 22:21:57 +02:00
Bob Andrews
bb736972f0 Merge pull request #2279 from pm100/macexpand
Expand macros in listing
2025-07-10 22:17:13 +02:00
Bob Andrews
ffa72f56f1 codestyle 2025-07-10 21:19:55 +02:00
Bob Andrews
97e4c6b42f some cosmetics 2025-07-10 21:18:12 +02:00
Bob Andrews
61362779a5 Merge branch 'master' into macexpand 2025-07-10 21:05:20 +02:00
Bob Andrews
d8b4013f3c Merge branch 'master' into seglist 2025-07-10 20:48:28 +02:00
Bob Andrews
ce6e322046 Merge pull request #2785 from kugelfuhr/kugelfuhr/modernize-ca65-diags
Modernize ca65 diagnostics
2025-07-10 18:47:34 +02:00
Kugel Fuhr
2926a95e71 Use correct type for function used in atexit(). 2025-07-10 17:14:50 +02:00
Kugel Fuhr
72e3956aeb Add missing definitions for Windows. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
26968ffdf2 Fixed a typo :-( 2025-07-10 17:14:50 +02:00
Kugel Fuhr
bb255838a6 Fix include files for Windows (hopefully). 2025-07-10 17:14:50 +02:00
Kugel Fuhr
0c14830da0 Remove tabs. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
abb0adf546 Update visual studio project files with added sources. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
97ef430053 Restore description for --debug which was lost. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
7e97e99bae Do also color quoted text. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
8c654193f7 For the assembler tests, switch off UTF-8 output so we have always the
identical diagnostics indepdendent of the console properties.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
8d7c87f753 Fix problem with UTF-8 output when switching the code page under windows fails. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
c466faf484 Use UTF-8 for diagnostic output if it is available. Added a command line
switch --no-utf8 to disable the use of UTF-8 characters.
2025-07-10 17:14:50 +02:00
Kugel Fuhr
b1eb1bf6ab Colorize diagnostics. 2025-07-10 17:14:50 +02:00
Kugel Fuhr
ffcff0fa61 Much improved error messages for ca65. For most errors it will now say what
was expected and what was found instead. Also improved error recovery in a few
places.
2025-07-10 17:14:47 +02:00
Bob Andrews
4afbd1104d Merge pull request #2777 from kugelfuhr/kugelfuhr/ca65-errors
Improve error handling for ca65
2025-07-10 17:05:32 +02:00
Bob Andrews
4a53a891e8 Merge pull request #2778 from colinleroy/optimise-ldaxi
Optimise ldaxi
2025-07-10 17:03:28 +02:00
Bob Andrews
9971d9fac0 Merge pull request #2776 from colinleroy/optimize-incdecsp-further
Further optimize inc/decsp
2025-07-10 17:02:32 +02:00
Bob Andrews
7d7cfde818 Merge pull request #2786 from mrdudz/fixmakefiles
Fixmakefiles
2025-07-10 00:01:12 +02:00
Bob Andrews
9ff71e431b Merge branch 'master' into fixmakefiles 2025-07-09 23:41:26 +02:00
Bob Andrews
ac6b1326e9 Merge pull request #2784 from kugelfuhr/kugelfuhr/fix-cleanup
Add missing files to "clean" target
2025-07-09 23:41:01 +02:00
mrdudz
472525eecd redirect errors into file so we can see it if needed 2025-07-09 23:10:43 +02:00
mrdudz
6aad5f6c18 fix error log output 2025-07-09 18:35:05 +02:00
mrdudz
18bb697891 fix stderr redirection 2025-07-09 14:20:42 +02:00
Kugel Fuhr
d82a1f9fa0 Apply changes by @mrduz. Fixes an error in the makefile and adjusts the
mostlyclean target accordingly.
2025-07-09 13:35:27 +02:00
Bob Andrews
50220800aa Merge pull request #2771 from colinleroy/much-smaller-strndup
Make strndup smaller, safer, faster
2025-07-09 00:55:04 +02:00
Kugel Fuhr
735edaa8f7 Add missing files to "clean" target. 2025-07-08 07:38:59 +02:00
Bob Andrews
593bf159fa Merge pull request #2774 from mrdudz/somedocs
Somedocs
2025-07-07 23:27:14 +02:00
Bob Andrews
7c6efded1c Merge pull request #2782 from kugelfuhr/kugelfuhr/use-static-inline
Use "static inline" instead of macros in the source
2025-07-07 23:25:11 +02:00
Bob Andrews
8a976d555b Merge pull request #2783 from kugelfuhr/kugelfuhr/macro-locals
Add info about cheap local names in macro local symbols.
2025-07-07 16:52:04 +02:00
Kugel Fuhr
b64c811a3f Add info about cheap local names in macro local symbols. 2025-07-07 12:05:46 +02:00
Kugel Fuhr
9be9003e9a Removed the inline.h module and removed the use of macros instead of "static
inline".
2025-07-07 11:23:12 +02:00
Kugel Fuhr
8dc815f53f Fixed typos in comments. 2025-07-06 21:07:34 +02:00
Colin Leroy-Mira
20a9db757d Optimize multiple incax* and incax*/ldaxi
- Group multiple calls to incax* and decax* into a single one
- Replace incaxN/jsr ldaxi with ldy #N+1/jsr ldaxidx

Fixes #2055
2025-07-06 20:37:01 +02:00
Kugel Fuhr
b7e592699d Fix a copy&paste error (mrduz). 2025-07-06 20:20:32 +02:00
Bob Andrews
f1b9cf0e32 Merge pull request #2780 from mrdudz/cpumac
remove .macpack cpu, fixes #2779
2025-07-06 20:14:44 +02:00
Kugel Fuhr
57283733e7 Remove unwanted duplicate reference output for the tests. 2025-07-06 20:06:48 +02:00
mrdudz
48924cc9d5 remove .macpack cpu, fixes #2779 2025-07-06 19:14:48 +02:00
Colin Leroy-Mira
facf7b2a0c Add basic test for incsp optimisation 2025-07-06 18:35:21 +02:00
Kugel Fuhr
929fc94466 Added the necessary control files and reference output for the tests. 2025-07-06 16:58:58 +02:00
Colin Leroy-Mira
87e5775efb Merge branch 'master' into much-smaller-strndup 2025-07-06 13:36:58 +02:00