Commit Graph

11479 Commits

Author SHA1 Message Date
Bob Andrews
f191272feb Merge branch 'master' into checksorted 2025-06-12 23:33:12 +02:00
Bob Andrews
0a1df881b3 Merge pull request #2697 from mrdudz/testdbginfo
add dbginfo and dbgsh to src/Makefile, add building dbginfo and dbgsh example to CI.
2025-06-12 21:44:37 +02:00
mrdudz
505160f169 a bit cleaner, also build dbgsh 2025-06-12 21:31:05 +02:00
mrdudz
b2616eac0d use -C correctly :) 2025-06-12 20:58:36 +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
a8b9c05584 Merge pull request #2696 from colinleroy/optimize-ntohs-on-c02
Use new CPU macro to optimize ntohs on 65c02
2025-06-12 19:51:11 +02:00
Colin Leroy-Mira
149b2b69ef Use new CPU macro to optimize ntohs on 65c02 2025-06-12 19:33:54 +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
Bob Andrews
49eaf54c89 Merge pull request #2690 from GorillaSapiens/issue_2608
fixes #2608
2025-06-12 15:54:44 +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
880322a5ae renamed test as requested. 2025-06-12 06:06:52 +00:00
Gorilla Sapiens
844596fd03 Merge branch 'master' into issue_2608 2025-06-12 05:59:27 +00:00
Bob Andrews
3b79c92f39 Update pragma.c just retrigger the checks 2025-06-11 21:06:58 +02:00
mrdudz
ccdc5b9fea massaged repro case from #2608 into a test 2025-06-11 20:50:04 +02:00
Gorilla Sapiens
51da666210 fixes #2608 2025-06-11 02:21:39 +00:00
mrdudz
d1def100dd use sort -c 2025-06-09 22:28:19 +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
717e32ba6a add "sorted" target 2025-06-09 18:45:52 +02:00
mrdudz
58ff844d04 add to GHA 2025-06-09 18:42:52 +02:00
mrdudz
d368f3d0ea simple script(s) to check if bsearch tables are sorted correctly 2025-06-09 18:26:41 +02:00
Bob Andrews
869ba5c493 Merge pull request #2683 from mrdudz/fixsorted
fix bsearch tables
2025-06-09 18:23:05 +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
Bob Andrews
58171691d0 Merge pull request #2673 from GorillaSapiens/issue_2666
fixes #2666, double charmap of char literals
2025-06-03 23:53:48 +02:00
Gorilla Sapiens
9318c781ae fixes #2666, double charmap of char literals 2025-06-03 20:54:55 +00:00
Colin Leroy-Mira
0122307399 Apple2: Dynamic IIe check on a2_lo_tgi 2025-06-01 12:53:36 +02:00
Colin Leroy-Mira
a9ab23ad51 Make waitvsync available on apple2 2025-06-01 12:53:36 +02:00
Colin Leroy-Mira
d3ef3e1b62 Apple2: Don't depend on apple2enh definition for characters
Up, Down and Del, as well as Open-Apple, exist on
non-enhanced Apple //e.
2025-05-31 19:43:53 +02:00
Bob Andrews
4971fe312a Merge pull request #2660 from GorillaSapiens/issue_2446
Issue 2446
2025-05-31 19:02:06 +02:00
Bob Andrews
df99b9a107 fix codestyle 2025-05-31 19:00:11 +02:00
Colin Leroy-Mira
c75c305c59 Apple2: Fix inconsistency (use bit like everywhere else) 2025-05-31 15:43:23 +02:00
Colin Leroy-Mira
d03529067a Apple2: don't define _allow_lowercase and uppercasemask on APPLE2ENH 2025-05-31 15:42:02 +02:00
Colin Leroy-Mira
89daccaa43 Apple2: automatically enable lowercase starting from //e 2025-05-31 15:42:02 +02:00
Colin Leroy-Mira
f8c51ffd3d Spare a few bytes 2025-05-31 12:04:47 +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
Colin Leroy-Mira
e444f4c40e Apple2: Safely check for 80-columns card
Check the Pascal ID bytes for an 80-columns card
to avoid blindly jumping into a $C300 that could be
totally unrelated.
2025-05-27 23:38:56 +02:00
Colin Leroy-Mira
816666615b Apple2: Make 80-columns support dynamic on apple2 target
Add a machinetype identifier to help us quickly identify
Apple //e (bit 7) and //e enhanced (bit 6).

Use it in conio functions for 80-columns code instead of
relying entirely on the __APPLE2ENH__ target.

Move videomode() to the apple2 target, and have it return
an error if 80-columns hardware is not available - this
is a lie for now, it is considered available on //e enhanced,
which may not be true, and not available on //e, which
may also be not true. An ulterior patch will make that
check correctly.

Adapt the box/line drawing characters so that one can use
MouseText on the apple2 target if it is available, by
defining DYN_DRAW_BOX. No change by default: MouseText is
considered available on apple2enh and not available on
apple2.
2025-05-27 19:03:20 +02: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
Colin Leroy-Mira
cd92e4f0af Apple2: Set mousecard IRQ rate when possible 2025-05-26 14:58:13 +02:00
Bob Andrews
3b089b715a Merge pull request #2485 from SvenMichaelKlose/add_plus4_getin_wrapper
Add Plus/4 wrapper for KERNAL's GETIN.
2025-05-25 03:58:00 +02:00
Bob Andrews
0d9ae7cb70 Update kgetin.s
use symbol from cbm_kernal.inc
2025-05-25 03:44:36 +02:00
Bob Andrews
cb0c9bf526 Merge pull request #1810 from mrdudz/coniopeek
conio peek for Atari, Atmos, NES, OSIC1P
2025-05-25 03:26:30 +02:00
mrdudz
bd63c6aa4b move char block printing into function 2025-05-25 03:23:54 +02:00