Commit Graph

  • f6becd1b27 compiler should know about W65C02/65CE02 as well mrdudz 2025-06-28 01:51:13 +02:00
  • b05e418e0b rp6502 actually uses W65C02 mrdudz 2025-06-28 01:45:26 +02:00
  • d472ac8fc0 fix table mrdudz 2025-06-28 01:44:40 +02:00
  • 0b49d66f05 sort table mrdudz 2025-06-28 01:06:37 +02:00
  • f09aaeb085 update docs a bit, create a seperate CPU page mrdudz 2025-06-28 00:58:44 +02:00
  • b38422ef9f 65CE02 has phz and asw mrdudz 2025-06-28 00:55:41 +02:00
  • e3140349b0 add 65CE02 and W65C02 to disassembler mrdudz 2025-06-28 00:54:13 +02:00
  • e93356e3bb add 65CE02 table mrdudz 2025-06-28 00:38:16 +02:00
  • 76aa7cbc40 add names and bit(field)s for WDC65C02 and 65CE02 mrdudz 2025-06-27 19:40:41 +02:00
  • 91bf4352a9 Merge pull request #2749 from mrdudz/unbreakmaster Bob Andrews 2025-06-27 17:45:42 +02:00
  • 0a5211dcaa ...and the reference for the test mrdudz 2025-06-27 17:39:04 +02:00
  • 0d28f6ff8c fix test mrdudz 2025-06-27 17:32:20 +02:00
  • 74a2262157 hotfix mrdudz 2025-06-27 17:26:11 +02:00
  • d909a2c285 Merge pull request #2746 from mrdudz/bequiet Bob Andrews 2025-06-27 16:43:13 +02:00
  • 270552af48 Merge pull request #2734 from mrdudz/mega65c Bob Andrews 2025-06-27 16:41:28 +02:00
  • 9c4934239e Merge pull request #2743 from kugelfuhr/kugelfuhr/include-guard Bob Andrews 2025-06-27 16:16:51 +02:00
  • ecdc59de47 more QUIET=1 mrdudz 2025-06-27 00:10:07 +02:00
  • 0d98ab42f0 pass QUIET in the workflows mrdudz 2025-06-27 00:00:48 +02:00
  • 1f1e1f1490 output target before name(s) mrdudz 2025-06-26 23:53:36 +02:00
  • 0c22e310ef ...and patch the Makefile in src the same way mrdudz 2025-06-26 23:44:56 +02:00
  • 703b166b29 handle -s and QUIET accordingly in libsrc too. those who never used make -s before might start doing it now :) mrdudz 2025-06-26 23:18:35 +02:00
  • 261180577c add subdirs to "platforms" mrdudz 2025-06-26 22:44:26 +02:00
  • 000789de95 adjust makefiles in util to common behaviour mrdudz 2025-06-26 22:36:12 +02:00
  • 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