mrdudz
0c22e310ef
...and patch the Makefile in src the same way
2025-06-26 23:44:56 +02:00
mrdudz
703b166b29
handle -s and QUIET accordingly in libsrc too. those who never used make -s before might start doing it now :)
2025-06-26 23:18:35 +02:00
mrdudz
261180577c
add subdirs to "platforms"
2025-06-26 22:44:26 +02:00
mrdudz
000789de95
adjust makefiles in util to common behaviour
2025-06-26 22:36:12 +02:00
mrdudz
fed7276a63
make makefiles in samples behave the same as the others
2025-06-26 22:16:08 +02:00
Colin Leroy-Mira
a028ac4140
Apple2: Fix permanently disabled IRQ
...
Regression introduced in 990d65e :
Pushing status, initializing IRQ handler (which enables IRQ)
then pulling status re-disables IRQ.
2025-06-26 21:52:15 +02:00
mrdudz
cc6813428c
fix the fix
2025-06-26 21:00:20 +02:00
mrdudz
46770bbb63
another for cmd.exe
2025-06-26 20:53:10 +02:00
mrdudz
70f9723a89
dumb down for cmd.exe
2025-06-26 20:42:15 +02:00
mrdudz
afe395e970
fix -s vs QUIET in testtarget
2025-06-26 20:15:28 +02:00
mrdudz
7a85575158
fix handling of QUIET in the "test" directory
2025-06-26 19:48:16 +02:00
mrdudz
73869a6f38
make propagating QUIET=1 down actually work, also set --no-print-directory depending on QUIET
2025-06-26 19:45:52 +02:00
mrdudz
75aa45d41e
when -s was used, implicitly use QUIET=1. also explicitly propagate QUIET to submakefile(s)
2025-06-26 18:42:01 +02:00
mrdudz
4f5fc898d7
someone accidently checked this in, i guess
2025-06-26 18:40:32 +02:00
Bob Andrews
bc9ebfb077
Update ppubuf.s - fix ppu ringbuffer size as suggested in #1703
2025-06-26 16:05:12 +02:00
Bob Andrews
c5fccb2c7e
Merge pull request #2742 from kugelfuhr/kugelfuhr/sp-backwards-compat
...
Allow "sp" as an alias for "c_sp" to avoid breaking old code
2025-06-26 15:43:54 +02:00
Kugel Fuhr
d5e7c94eb2
Introduce an optimization for (header) files containing include guards: If
...
such an include guard exists, the file is not read and parsed multiple times
(as before) but duplicate inclusion is detected before opening the file and
the additional overhead is avoided.
2025-06-26 10:10:11 +02:00
Kugel Fuhr
e2a39d076d
Renamed the assembler test.
2025-06-26 09:00:03 +02:00
Kugel Fuhr
399f5aaab7
Check that there are no library modules that use the old "sp" symbol instead
...
of "c_sp".
2025-06-26 08:23:51 +02:00
Kugel Fuhr
5db2aed129
Allow "sp" as an alias for "c_sp" for backwards compatibility. Using it will
...
work but generates a linker warning. Added a test to check for this warning.
2025-06-26 07:40:04 +02:00
mrdudz
2de056167a
fix warnings
2025-06-26 02:16:05 +02:00
mrdudz
b1a123b601
fix c65 lib, remove includes from cbm generic lib
2025-06-26 02:10:15 +02:00
mrdudz
01ba0b562d
Merge branch 'master' into mega65c
2025-06-26 01:52:10 +02:00
Bob Andrews
3a6766d0a0
Merge pull request #2737 from mrdudz/asmversion
...
fix version in sysuname for all targets
2025-06-26 01:47:47 +02:00
mrdudz
8bf6bb606c
make sure "make platforms" actually checks all targets
2025-06-26 01:34:32 +02:00
mrdudz
0290b276ae
fix sysuname for all targets, somehow this was forgotten
2025-06-26 01:21:28 +02:00
Bob Andrews
801508aecf
Merge pull request #2735 from kugelfuhr/kugelfuhr/fix-2025
...
Add an optimization that removes compare instructions preceeding RTS or function calls
2025-06-26 00:29:29 +02:00
mrdudz
1b815d4148
add joydemo to c65/mega65 samples, it works when driver is statically linked
2025-06-25 23:52:59 +02:00
mrdudz
ad4d86bbf2
add a standard joystick driver, adapted from the c64 one
2025-06-25 23:44:07 +02:00
mrdudz
38bdb2326b
added a simple joystick api example, since we didn't have one.
2025-06-25 23:14:08 +02:00
mrdudz
f8b1691eff
prepare vic3 header
2025-06-25 21:48:25 +02:00
mrdudz
a7e509cd43
better handling of the cursor, use kernal function to read key, not the UART directly
2025-06-25 21:39:03 +02:00
mrdudz
ef1b101538
fix cursor()
2025-06-25 20:38:58 +02:00
Kugel Fuhr
fa81f14cbf
Add an explicit "exit 0" to the shell scripts. This worked more or less by
...
coincidence before since shell scripts return the exit code of the last
command run if there is no explicit exit statement.
2025-06-25 20:34:41 +02:00
Kugel Fuhr
55d9b2dbd0
Rewrite the optimization step from c0a1b1b887 to
...
remove compares not only before RTS but also befoire function calls that don't
use the flags but destroy all of them. The latter is currently the case for
all functions called. This way the optimization covers a lot more cases than
just checking for RTS.
2025-06-25 20:07:36 +02:00
mrdudz
2206b8d199
fix getscreensize
2025-06-25 18:52:36 +02:00
Kugel Fuhr
1feeee9ce0
Do only check .c and .h files.
2025-06-25 09:37:58 +02:00
mrdudz
1e209b1f15
forgot, need sleep
2025-06-25 05:14:26 +02:00
mrdudz
4db5ac6c14
SCREEN_PTR does only contain the offset apparently (unlike on other cbm systems), so we need extra handling
2025-06-25 05:13:09 +02:00
mrdudz
955c6627c0
forgot settime...
2025-06-25 02:47:33 +02:00
mrdudz
db49432561
some more simple fixes, make targettest(s) work
2025-06-25 02:38:40 +02:00
mrdudz
79b2d25840
name the SIDs 1 and 2 just like the CIAs
2025-06-25 02:32:46 +02:00
mrdudz
23336420b1
a bunch of simple conio fixes, makes a few more samples work
2025-06-25 00:23:58 +02:00
mrdudz
fa6d72cae5
move zp range to a somewhat safer place
2025-06-25 00:14:19 +02:00
mrdudz
4d1fbe3f90
fix refs (remove 652SC02)
2025-06-24 21:59:35 +02:00
mrdudz
f787e0857a
remove non existing kernal export
2025-06-24 21:52:48 +02:00
mrdudz
faa287f578
enable building library and samples
2025-06-24 21:40:59 +02:00
mrdudz
d6cc893940
fix instruction set bits set by the compiler. in particular do not set the 65SC02 bit for 4510/45GS02, else we get clashes with sta(zp)
2025-06-24 21:39:39 +02:00
mrdudz
d374ea2cde
include target header to allow lib to build
2025-06-24 21:30:53 +02:00
mrdudz
450c8f7c55
startup code and minimalist kernal support for c65 and mega65
2025-06-24 21:23:04 +02:00