Commit Graph

  • fed7276a63 make makefiles in samples behave the same as the others mrdudz 2025-06-26 22:16:08 +02:00
  • a028ac4140 Apple2: Fix permanently disabled IRQ Colin Leroy-Mira 2025-06-26 13:08:04 +02:00
  • cc6813428c fix the fix mrdudz 2025-06-26 21:00:20 +02:00
  • 46770bbb63 another for cmd.exe mrdudz 2025-06-26 20:53:10 +02:00
  • 70f9723a89 dumb down for cmd.exe mrdudz 2025-06-26 20:42:15 +02:00
  • afe395e970 fix -s vs QUIET in testtarget mrdudz 2025-06-26 20:15:28 +02:00
  • 7a85575158 fix handling of QUIET in the "test" directory mrdudz 2025-06-26 19:48:16 +02:00
  • 73869a6f38 make propagating QUIET=1 down actually work, also set --no-print-directory depending on QUIET mrdudz 2025-06-26 19:45:52 +02:00
  • 75aa45d41e when -s was used, implicitly use QUIET=1. also explicitly propagate QUIET to submakefile(s) mrdudz 2025-06-26 18:42:01 +02:00
  • 4f5fc898d7 someone accidently checked this in, i guess mrdudz 2025-06-26 18:40:32 +02:00
  • bc9ebfb077 Update ppubuf.s - fix ppu ringbuffer size as suggested in #1703 Bob Andrews 2025-06-26 16:05:12 +02:00
  • c5fccb2c7e Merge pull request #2742 from kugelfuhr/kugelfuhr/sp-backwards-compat Bob Andrews 2025-06-26 15:43:54 +02:00
  • 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. Kugel Fuhr 2025-06-26 10:10:11 +02:00
  • e2a39d076d Renamed the assembler test. Kugel Fuhr 2025-06-26 09:00:03 +02:00
  • 399f5aaab7 Check that there are no library modules that use the old "sp" symbol instead of "c_sp". Kugel Fuhr 2025-06-26 08:23:51 +02:00
  • 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. Kugel Fuhr 2025-06-26 07:40:04 +02:00
  • 2de056167a fix warnings mrdudz 2025-06-26 02:16:05 +02:00
  • b1a123b601 fix c65 lib, remove includes from cbm generic lib mrdudz 2025-06-26 02:10:15 +02:00
  • 01ba0b562d Merge branch 'master' into mega65c mrdudz 2025-06-26 01:52:10 +02:00
  • 3a6766d0a0 Merge pull request #2737 from mrdudz/asmversion Bob Andrews 2025-06-26 01:47:47 +02:00
  • 8bf6bb606c make sure "make platforms" actually checks all targets mrdudz 2025-06-26 01:34:32 +02:00
  • 0290b276ae fix sysuname for all targets, somehow this was forgotten mrdudz 2025-06-26 01:21:28 +02:00
  • 801508aecf Merge pull request #2735 from kugelfuhr/kugelfuhr/fix-2025 Bob Andrews 2025-06-26 00:29:29 +02:00
  • 1b815d4148 add joydemo to c65/mega65 samples, it works when driver is statically linked mrdudz 2025-06-25 23:52:59 +02:00
  • ad4d86bbf2 add a standard joystick driver, adapted from the c64 one mrdudz 2025-06-25 23:44:07 +02:00
  • 38bdb2326b added a simple joystick api example, since we didn't have one. mrdudz 2025-06-25 23:14:08 +02:00
  • f8b1691eff prepare vic3 header mrdudz 2025-06-25 21:48:25 +02:00
  • a7e509cd43 better handling of the cursor, use kernal function to read key, not the UART directly mrdudz 2025-06-25 21:39:03 +02:00
  • ef1b101538 fix cursor() mrdudz 2025-06-25 20:38:58 +02:00
  • 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. Kugel Fuhr 2025-06-25 20:34:41 +02:00
  • 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. Kugel Fuhr 2025-06-25 20:07:36 +02:00
  • 2206b8d199 fix getscreensize mrdudz 2025-06-25 18:52:36 +02:00
  • 1feeee9ce0 Do only check .c and .h files. Kugel Fuhr 2025-06-25 09:37:58 +02:00
  • 1e209b1f15 forgot, need sleep mrdudz 2025-06-25 05:14:26 +02:00
  • 4db5ac6c14 SCREEN_PTR does only contain the offset apparently (unlike on other cbm systems), so we need extra handling mrdudz 2025-06-25 05:13:09 +02:00
  • 955c6627c0 forgot settime... mrdudz 2025-06-25 02:47:33 +02:00
  • db49432561 some more simple fixes, make targettest(s) work mrdudz 2025-06-25 02:38:40 +02:00
  • 79b2d25840 name the SIDs 1 and 2 just like the CIAs mrdudz 2025-06-25 02:32:46 +02:00
  • 23336420b1 a bunch of simple conio fixes, makes a few more samples work mrdudz 2025-06-25 00:23:58 +02:00
  • fa6d72cae5 move zp range to a somewhat safer place mrdudz 2025-06-25 00:14:19 +02:00
  • 4d1fbe3f90 fix refs (remove 652SC02) mrdudz 2025-06-24 21:59:35 +02:00
  • f787e0857a remove non existing kernal export mrdudz 2025-06-24 21:52:48 +02:00
  • faa287f578 enable building library and samples mrdudz 2025-06-24 21:40:59 +02:00
  • 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) mrdudz 2025-06-24 21:39:39 +02:00
  • d374ea2cde include target header to allow lib to build mrdudz 2025-06-24 21:30:53 +02:00
  • 450c8f7c55 startup code and minimalist kernal support for c65 and mega65 mrdudz 2025-06-24 21:23:04 +02:00
  • bfb16888d1 simple linker config for c65 and mega65 mrdudz 2025-06-24 21:20:31 +02:00
  • a37a88d5bf std cbm tgi colors mrdudz 2025-06-24 21:19:38 +02:00
  • 7a6c60ade4 Do also sort variables to satisfy sorted_codeopt.sh. Kugel Fuhr 2025-06-24 20:21:43 +02:00
  • 681b49a111 initial target header files for c65 and mega65 mrdudz 2025-06-24 19:55:28 +02:00
  • 7be14a951c initial asm includes for c65 and mega65 mrdudz 2025-06-24 19:33:49 +02:00
  • c0a1b1b887 Add an optimization step that removes compare instructions preceeding an RTS. Since nothing is passed back in the flags, these instructions have no effect. Fixes #2025. Kugel Fuhr 2025-06-24 18:02:24 +02:00
  • 358167556c Merge remote-tracking branch 'upstream' into tryrenaming mrdudz 2025-06-24 17:51:48 +02:00
  • 54a2410b5a Merge pull request #2674 from GorillaSapiens/c_sp Bob Andrews 2025-06-24 17:44:13 +02:00
  • cd96ce96a1 Merge pull request #2733 from Russell-S-Harper/update-docn-with-cscanf Bob Andrews 2025-06-24 17:27:08 +02:00
  • 450898513c Updated doc'n with cscanf Russell-S-Harper 2025-06-23 21:15:27 -04:00
  • b2e5d3cd25 insipid formatting whack-a-mole Gorilla Sapiens 2025-06-23 17:51:44 +00:00
  • 5fc15a7a60 test #2674 mrdudz 2025-06-23 17:09:06 +02:00
  • 4863a3e29b Merge pull request #2705 from Russell-S-Harper/add-conio-cgets Bob Andrews 2025-06-23 16:10:51 +02:00
  • ad9e5cebbb Delete l.txt Bob Andrews 2025-06-23 15:50:57 +02:00
  • a0c6c64826 Merge pull request #2723 from kugelfuhr/kugelfuhr/fix-2717 Bob Andrews 2025-06-23 15:14:01 +02:00
  • 30bee8e268 test for #2208 mrdudz 2025-06-23 14:54:05 +02:00
  • 4c81eacefe Added -d/--debug and -m/--multi-pass switches to the disassembler. The latter will make the disassembler run multiple preparation passes to find all addresses where labels must be placed. Without -m some label addresses are found in the final pass, where the disassembler cannot make use of them. Kugel Fuhr 2025-06-20 13:00:12 +02:00
  • c520455b2b Merge pull request #2729 from kugelfuhr/kugelfuhr/fix-2208 Bob Andrews 2025-06-23 14:22:22 +02:00
  • c20461d213 Merge pull request #2722 from kugelfuhr/kugelfuhr/da65-cleanup Bob Andrews 2025-06-23 14:18:18 +02:00
  • c832af8a71 Merge pull request #2710 from kugelfuhr/kugelfuhr/fix-2694 Bob Andrews 2025-06-23 14:17:55 +02:00
  • 96bb1e4336 Fix coding style. Kugel Fuhr 2025-06-20 15:55:31 +02:00
  • 49713f73e0 Output relative branch targets as "*-30" instead of "* + (-30)". Kugel Fuhr 2025-06-20 08:13:12 +02:00
  • 540a6a7658 Merge pull request #2728 from kugelfuhr/kugelfuhr/da65-improvements Bob Andrews 2025-06-23 13:47:23 +02:00
  • 2e7ee0f105 Merge pull request #2711 from mrdudz/plus4tgi Bob Andrews 2025-06-23 13:40:41 +02:00
  • 46be7778cd Merge pull request #2730 from mrdudz/mega65target Bob Andrews 2025-06-23 13:34:47 +02:00
  • 034fc93c75 enable 4510/45GS02 in the compiler - however, the resulting asm files cant be assembled because of sp vs c_sp clash mrdudz 2025-06-23 13:23:23 +02:00
  • 0489098517 restore comment alignment Gorilla Sapiens 2025-06-22 21:34:41 +00:00
  • 44672e6281 prepared lib makefile. skip building the library while compiler support is not there mrdudz 2025-06-22 21:43:21 +02:00
  • f6a3f66f0b asm configs mrdudz 2025-06-22 21:42:36 +02:00
  • 715d9c00a2 initial (identical) minimal "library" for assembly support for c65 and mega65. taken from #1792 mrdudz 2025-06-22 21:09:40 +02:00
  • 6d7f37c4f2 update list of targets in the docs mrdudz 2025-06-22 21:08:13 +02:00
  • 8615c244d9 add initial target for mega65, also added c65 where missing. reworked from #1792 mrdudz 2025-06-22 21:07:38 +02:00
  • a7af49a763 Merge branch 'master' into c_sp Gorilla Sapiens 2025-06-22 19:02:24 +00:00
  • e949fbdbbf Unify CPU list in the docs. Kugel Fuhr 2025-06-22 20:32:55 +02:00
  • 7d231d60a6 Minor corrections after looking at the diff. Kugel Fuhr 2025-06-22 12:15:33 +02:00
  • b9a703749c Replace all tables by hash tables. This allows to remove the ugly special casing of "long addresses" and prepares the code base for use with the full address range of the 65816. Use fixed size data types for addresses and target data words of known size. Many other minor improvements. Kugel Fuhr 2025-06-22 11:50:47 +02:00
  • 7573272836 Merge pull request #2724 from mrdudz/mega65asm Bob Andrews 2025-06-22 17:36:36 +02:00
  • 7854a53434 When studying expressions and recalculating the address size for a symbol expression, use the symbol address size only if it is smaller than the one that was calculated. Kugel Fuhr 2025-06-18 11:53:44 +02:00
  • 1d7bc938f2 add roundtrip disasm tests for all cpus mrdudz 2025-06-22 01:18:41 +02:00
  • 233c784c03 fix aslq in the disassembler mrdudz 2025-06-22 01:16:03 +02:00
  • 2ae30b5b50 cleanup mrdudz 2025-06-22 01:15:40 +02:00
  • c3b75f0ac1 comment mrdudz 2025-06-22 01:15:10 +02:00
  • 4a11fa791a more codestyle mrdudz 2025-06-21 22:33:43 +02:00
  • 6b554362a5 codestyle/comment mrdudz 2025-06-21 22:23:19 +02:00
  • 4820b716c7 use sect2 for cpu subsections mrdudz 2025-06-21 22:12:53 +02:00
  • 12e40f4aff fix some codestyle mrdudz 2025-06-21 22:05:30 +02:00
  • 698045c7c2 updated the docs mrdudz 2025-06-21 21:55:21 +02:00
  • c35405f14b add new sourcefile(s) mrdudz 2025-06-21 20:52:03 +02:00
  • 5e414edb50 are we more pedantic than local make? mrdudz 2025-06-21 20:47:57 +02:00
  • 2244a5ab0a include header :) mrdudz 2025-06-21 20:44:37 +02:00
  • 3321910848 implement 45GS02 compound instrictions in the disassembler mrdudz 2025-06-21 20:37:31 +02:00
  • 37144ed014 fix akkumulator addressing for some compound instructions mrdudz 2025-06-21 20:35:25 +02:00
  • 7f40affb59 Adding documentation and some minor reformatting to ensure consistency Russell-S-Harper 2025-06-21 08:48:41 -04:00
  • 8bfaaa60ba Revising to align with stdio fgets Russell-S-Harper 2025-06-21 06:01:13 -04:00