Bob Andrews
b9eeec0c51
Merge pull request #2677 from sintech/agat-support
...
Agat support
2025-06-13 17:59:40 +02:00
mrdudz
505160f169
a bit cleaner, also build dbgsh
2025-06-12 21:31:05 +02:00
mrdudz
86cf60d0e6
add dbginfo to src/Makefile, add building dbginfo example to CI. Fixes #2681 , supersedes #2682
2025-06-12 20:53:55 +02:00
Bob Andrews
57fa64bac6
Merge pull request #2686 from colinleroy/fix-temp-name
...
Fix temporary file name creation.
2025-06-12 18:39:54 +02:00
Colin Leroy-Mira
ffd667c2c9
Fix temporary file name creation.
...
Use the original name as template for readability in
the map file, and use the process PID instead of platform-dependant
or deprecated random filename functions to make unique temporary
filenames. Also, create these temporary files in the output
directory.
2025-06-12 18:00:10 +02:00
Bob Andrews
59441b3139
Merge pull request #2695 from kugelfuhr/kugelfuhr/fix-2363
...
Add macros to check for CPU type and supported instruction set.
2025-06-12 17:56:08 +02:00
Kugel Fuhr
ace81bd36a
Add macros to check for CPU type and supported instruction set.
2025-06-12 14:42:38 +02:00
Gorilla Sapiens
844596fd03
Merge branch 'master' into issue_2608
2025-06-12 05:59:27 +00:00
Gorilla Sapiens
51da666210
fixes #2608
2025-06-11 02:21:39 +00: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
cbf1b1d5a7
Updated translation table
2025-06-07 14:00:10 +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
Bob Andrews
df99b9a107
fix codestyle
2025-05-31 19:00:11 +02:00
Gorilla Sapiens
779c393e65
fixes *.s -> *.o -> exe path
2025-05-29 15:05:03 +00:00
Gorilla Sapiens
842ec4b481
tmpfiles for the *.grc -> *.s -> *.o -> exe path
2025-05-29 14:26:25 +00:00
Gorilla Sapiens
9ae0eaafcc
fixed inaccurate comment
2025-05-27 14:13:52 +00:00
Gorilla Sapiens
a1139aa6b8
removed dangling space
2025-05-27 06:31:54 +00:00
Gorilla Sapiens
ca8b072608
fixed another pedantic github build problem
2025-05-27 06:30:12 +00:00
Gorilla Sapiens
9a2f754e8d
fixes problems found by github autobuild
2025-05-27 06:18:24 +00:00
Gorilla Sapiens
11d3338282
bugfixes
2025-05-27 06:00:24 +00:00
Gorilla Sapiens
e451134e23
fixes issue #2446
2025-05-27 05:03:17 +00:00
Bob Andrews
7621fb91f0
Merge pull request #2642 from GorillaSapiens/ca65_charset_translations
...
C style character translation in ca65
2025-05-24 17:23:19 +02:00
Bob Andrews
8f4451a468
Merge pull request #2658 from kugelfuhr/kugelfuhr/fix-2655
...
Fix -W -unreachable-code not working in all cases
2025-05-24 17:17:36 +02:00
Bob Andrews
2edb5b96c5
Merge pull request #2654 from kugelfuhr/kugelfuhr/fix-2599
...
Fix missing warning for non void functions without a return statement
2025-05-24 16:59:00 +02:00
Kugel Fuhr
7be7ce4e9b
Remove tabs.
2025-05-21 11:21:40 +02:00
Kugel Fuhr
b5b7ea422e
Make sure, the command line setting for the "Unreachable code" warning is
...
checked in all cases before outputting such a warning. Fixes #2655 .
2025-05-21 11:04:21 +02:00
Kugel Fuhr
c7c7377f7a
Remove the unused function ClearDiagnosticStrBufs().
2025-05-21 10:20:59 +02:00
Kugel Fuhr
81e1312416
Remove the unused function ClearDiagnosticStrBufs().
2025-05-20 13:50:33 +02:00
Kugel Fuhr
500887ec23
Fix #2599 . The compiler handled all functions returning an int but without a
...
"return" statement by silently adding "return 0" instead of emitting a
warning. This is the desired behavior for the "main" function in C99 and
above, but the compiler applied it to all functions.
2025-05-17 17:18:05 +02:00
Max
8fbb4c39c4
Fixed a typo in Granularity
2025-05-13 09:14:03 +02:00
Gorilla Sapiens
1b85ab6985
C style character translation in ca65
2025-05-06 03:02:18 +00:00
Bob Andrews
75d43ef88e
Merge pull request #2636 from GorillaSapiens/issue_2607
...
issue #2607 , enable '\e' character escape for --standard cc65
2025-05-06 01:47:23 +02:00
Gorilla Sapiens
f48fb03540
issue #2607 , enable '\e' character escape for --standard cc65
2025-05-05 17:53:42 +00:00
Bob Andrews
4fb87d27dc
Merge pull request #2610 from GorillaSapiens/c_6.4.4.4_test1
...
conform to 6.4.4.4 for hex and octal escapes
2025-05-05 17:14:01 +02:00
Gorilla Sapiens
f13f2cb619
fixes issue #2637
2025-05-03 02:41:08 +00:00
Gorilla Sapiens
6a17aedd81
conform to 6.4.4.4 for hex and octal escapes
...
fixes problem noted in #2610
2025-05-02 05:03:55 +00:00
Kugel Fuhr
f1ed5b7057
Fixed a typo in g_typeadjust(). Will fix #2611 .
2025-04-07 09:20:51 +02:00
Bob Andrews
d5cf8ef7ea
Merge pull request #2587 from colinleroy/rewind-asm-and-fseek-paravirt
...
Rewrite rewind() in assembly,add lseek() to paravirt
2025-01-27 17:18:12 +01:00
Kugel Fuhr
447b6e5573
More explicit solution. The first one was a bit hackish.
2025-01-05 16:45:59 +01:00
Kugel Fuhr
3a52c143fb
Fix #2566 .
2025-01-05 16:45:59 +01:00
sidney
5be0b10b62
sim65: add tracing, and a sim65 control peripheral for sim65 runtime control.
...
This PR is the first of two PRs that replaces earlier PRs #2589 and #2590 .
Due to a git branching mishap it was decided to re-partition the new
functionality in two sequential PRs that offer self-contained, new
functionality to sim65.
The functionality in this first PR extends the sim65 simulator in the following ways:
(1) It provides tracing functionality, i.e., the possibility of printing one line of simulator state information per instruction executed.
(2) It provides a memory mapped "sim65 control" peripheral that allows control of (a) the tracing functionality, and (b) the cpu mode.
(3) It provides command-line options to sim65 to enable the tracing, and to override the CPU mode as specified in the program file header.
More detailed information and some discussion can be found in the discussions with the (now retracted) PRs #2589 and #2590 .
This PR provides the technical infrastructure inside the sim65 simulator program itself. Once this PR is accepted, a follow-up PR will be posted that adds C and assembly-language support for the new tracing and peripheral features so they can be easily accessed from the CC65 compiler and the CA65 assembler; some examples; and the documentation for these features. The lack of the latter, in this pull request, will be addressed then.
2025-01-03 21:39:20 +01:00
Colin Leroy-Mira
50cccc2c3a
Add lseek to sim6502 paravirt
2025-01-01 14:32:03 +01:00
sidney
66594d44a5
Forget to include sys/time.h which is needed for MingGW32 builds.
2025-01-01 08:58:51 +01:00
Sidney Cadot
acb8eae032
Merge branch 'master' into feature-add-timer
2024-12-31 12:37:55 +01:00
sidney
511f4478de
Fixed style issues.
2024-12-29 22:26:38 +01:00
sidney
7576f59e6a
Visual Studio compiler demands an explicit cast from uint64_t to uint8_t.
2024-12-28 06:57:37 +01:00
sidney
29063021a8
Cosmetic improvements.
2024-12-28 06:49:23 +01:00
sidney
e785b88d42
Cleaning up the GetWallclockTime function.
2024-12-27 09:21:04 +01:00