1
0
mirror of https://github.com/cc65/cc65.git synced 2026-01-23 08:16:38 +00:00

Commit Graph

  • 05b3825683 sim65 : improve implementation of ROL and ROR operations Sidney Cadot 2024-12-03 23:33:57 +01:00
  • fbd8961be1 sim65: changing memory access types to uint8_t and uint16_t. Sidney Cadot 2024-12-03 21:21:49 +01:00
  • 162bc6b305 Merge pull request #2553 from sidneycadot/fix-remove-zregister Bob Andrews 2024-12-03 02:15:50 +01:00
  • 84c4ea062d Sim65: removed ZR register from CPURegs type. Sidney Cadot 2024-12-03 01:17:44 +01:00
  • a55d328e78 Merge pull request #2549 from clydeshaffer/debuginfo_doc_port Bob Andrews 2024-12-02 00:30:24 +01:00
  • c0a4942b5d Merge pull request #2550 from sidneycadot/fix-bit-imm Bob Andrews 2024-12-02 00:28:07 +01:00
  • 918c39cbeb Merge pull request #2548 from sidneycadot/fix-branch-timings Bob Andrews 2024-12-02 00:25:54 +01:00
  • 3895caae90 Style fix Bob Andrews 2024-12-02 00:25:24 +01:00
  • 79e26c1bc5 Merge pull request #2547 from sidneycadot/fix-jmp-ind Bob Andrews 2024-12-02 00:21:31 +01:00
  • 1ce8225091 Merge pull request #2551 from sidneycadot/fix-interrupts-dflag Bob Andrews 2024-12-02 00:19:55 +01:00
  • e26c17fd50 Fixed wrong clearing of D-flag on interrupts for sim65 with 6502X CPU type. The 65C02 clears the D flag on interrupts while the 6502 does not. Sidney Cadot 2024-12-01 09:59:10 +01:00
  • 1d9d056da5 Fixed behavior of the 65C02 "BIT #imm" instruction. Sidney Cadot 2024-11-30 23:46:19 +01:00
  • 3fdb1a516c small formatting fixes, and a section rename to get it to build Clyde Shaffer 2024-11-30 16:56:25 -05:00
  • 12f6340878 Add section to ld65 doc about debug info Clyde Shaffer 2024-11-30 16:09:50 -05:00
  • 709d71ef70 Fixed clock-cycle timing of branch (Bxx) instructions. Sidney Cadot 2024-11-30 19:56:31 +01:00
  • 2abd66ea0c Fixed the behavior of the JMP (ind) instruction in sim65 when it runs with the "6502X" CPU type. Sidney Cadot 2024-11-30 12:36:35 +01:00
  • 05a653d3f9 Merge pull request #2538 from clydeshaffer/dbg_banknum Bob Andrews 2024-11-26 02:27:29 +01:00
  • 21030c22a0 Apple2: Rewrite rewinddir() in assembly Colin Leroy-Mira 2024-11-16 22:01:11 +01:00
  • f663ee428d Apple2: Rewrite readdir() and closedir() to assembly Colin Leroy-Mira 2024-11-16 21:59:00 +01:00
  • 90e4360958 Parse and report segment bank number in dbginfo module and test shell Clyde Shaffer 2024-11-16 17:13:04 -05:00
  • 700c01fa8b Rename dir_file_count to dir_entry_count Colin Leroy-Mira 2024-11-14 21:57:43 +01:00
  • 40d9f3eed5 Apple2: Provide a way to get directory file count Colin Leroy-Mira 2024-11-10 13:38:35 +01:00
  • fa80e171a2 [LD65] Add bank number to dbgfile Clyde Shaffer 2024-11-12 01:57:27 -05:00
  • 36132a437b Merge pull request #2478 from alexthissen/lynx-include Bob Andrews 2024-11-09 20:10:51 +01:00
  • a945bedefc Replaced all C++ style comments from Lynx include files Alex Thissen 2024-11-09 19:46:11 +01:00
  • e07cdd0a80 Merge pull request #2533 from colinleroy/apple2-rewrite-opendir-asm Bob Andrews 2024-11-09 19:35:48 +01:00
  • 819a314508 Apple2: Rewrite opendir in assembly Colin Leroy-Mira 2024-11-09 18:09:09 +01:00
  • 4036912463 Fix to trailing whitespace Alex Thissen 2024-11-09 12:06:37 +01:00
  • 3dad6c76fa Changed to C style comments Alex Thissen 2024-11-09 12:01:22 +01:00
  • 0c018919fe Removed union and structures for Suzy math Alex Thissen 2024-10-28 14:20:09 +01:00
  • 1f1a004a05 Minor tweaks to Suzy struct types. Named math union Alex Thissen 2024-08-09 15:54:05 +02:00
  • 489989f4c8 Changed 0x hex values to % binary values Alex Thissen 2024-08-09 15:28:54 +02:00
  • 336c4287c5 Missed some dangles spaces Alex Thissen 2024-08-09 15:17:26 +02:00
  • abcb073a5a Bit definitions for Suzy Alex Thissen 2024-08-09 15:10:30 +02:00
  • 7150fdf4b9 Enumerations and math structures for Suzy Alex Thissen 2024-08-09 14:48:13 +02:00
  • 3553975b02 Math improvements to Suzy include file Alex Thissen 2024-08-09 13:53:41 +02:00
  • eb6003aaf7 Mikey enumeration values for cc65 include files and new bit definitions for ca65 Alex Thissen 2024-08-09 13:11:02 +02:00
  • 394d3b1964 Merge pull request #2528 from lcvgit/cc65-checkversion-fix Bob Andrews 2024-11-07 20:52:38 +01:00
  • c41eb007e4 Update checkversion.c lcvgit 2024-10-21 10:09:00 -05:00
  • 02840d503c Fix checkversion.c lcvgit 2024-10-21 10:00:48 -05:00
  • 4dfbccfafd Merge pull request #2522 from kugelfuhr/kugelfuhr/code-optimizations Bob Andrews 2024-10-05 15:03:46 +02:00
  • 270aa4417b Merge pull request #2524 from kugelfuhr/kugelfuhr/fix-2523 Bob Andrews 2024-10-05 14:14:29 +02:00
  • 8cd45417f9 Merge pull request #2525 from SvOlli/doc_customizing Bob Andrews 2024-10-05 14:13:05 +02:00
  • bb7f0c17b8 Merge pull request #2526 from picocomputer/master Bob Andrews 2024-10-05 14:11:34 +02:00
  • e373aa2d3f Merge branch 'cc65:master' into master rumbledethumps 2024-09-29 18:36:34 -07:00
  • 41951a1345 updated customizing documentation Sven Oliver Moll 2024-09-26 19:33:26 +02:00
  • 9c69aac097 Fix some issues with signedness in preprocessor expressions. Do also disallow comma expressions since the aren't compliant and collide with macro invocations. Kugel Fuhr 2024-09-17 11:45:46 +02:00
  • 16258d812b Merge pull request #2521 from kugelfuhr/kugelfuhr/fix-2520 Bob Andrews 2024-09-15 19:24:22 +02:00
  • 7dc09fdb05 add test related to bug#2515 / pr#2518 mrdudz 2024-09-15 19:22:16 +02:00
  • 175ec65af1 Fix #2520. Kugel Fuhr 2024-09-14 21:12:19 +02:00
  • fe6afa621b Merge pull request #2516 from kugelfuhr/kugelfuhr/fix-2514 Bob Andrews 2024-09-14 01:41:16 +02:00
  • e7c735ed8c Merge pull request #2513 from kugelfuhr/kugelfuhr/fix-2505 Bob Andrews 2024-09-14 01:38:46 +02:00
  • 231ab4169b Added a test. Kugel Fuhr 2024-09-07 17:20:27 +02:00
  • f43cfd1ad0 Fix the check for CPU flags being used after an instruction that gets removed. Previously only the next instruction was checked for usage of the CPU flags but this fails for certain code. Kugel Fuhr 2024-09-07 17:19:13 +02:00
  • 6e18e0880a Added/improved the optimizations: * Added a new pass that optimizes PHA/PLA sequences * Added a new pass that optimizes AND/EOR/ORA when an operand is known * Added a run of an existing pass at later stages to remove code that otherwise goes unchanged. * Handle binary operations in OptUnusedLoads in addition to real loads. Kugel Fuhr 2024-09-05 19:59:02 +02:00
  • 001fa05d48 Move the test to the test/standard directory. Kugel Fuhr 2024-09-13 19:18:31 +02:00
  • 3f83cf81f3 Revert the change to .gitignore so git status doesn't report a clean status as before. Kugel Fuhr 2024-09-13 19:02:13 +02:00
  • 7260c10062 Merge pull request #2518 from kugelfuhr/kugelfuhr/fix-2515 Bob Andrews 2024-09-13 17:53:20 +02:00
  • 34d8c3ef0a Merge pull request #2517 from kugelfuhr/kugelfuhr/time-improvements Bob Andrews 2024-09-13 17:47:14 +02:00
  • b5135b3ae0 Merge pull request #2502 from kugelfuhr/kugelfuhr/fix-2461 Bob Andrews 2024-09-13 15:53:49 +02:00
  • efa2020d93 Improved/fixed the time() function: - When the underlying clock_gettime function returned an error, the value returned via *timep was wrong. - Reduced code size by 7 bytes. - Don't suck in ldeaxi. Kugel Fuhr 2024-09-12 09:14:57 +02:00
  • 36a810cdb2 Make lastline.sh ignore empty files. Fixes #2514. Kugel Fuhr 2024-09-12 09:10:37 +02:00
  • 70ca6d4200 Fixed a standard noncompliance: In C99 and above there must be whitespace between a name of an object like macro and its replacement list. Kugel Fuhr 2024-09-11 19:21:19 +02:00
  • 2f6f5f0da1 Fix problem with #line when there is no whitespace between line number and filename. y Kugel Fuhr 2024-09-11 19:20:01 +02:00
  • 6113dc5995 Removed casts from stdint.h. Added a test. Fixes #2505. Kugel Fuhr 2024-09-10 08:12:31 +02:00
  • aff8248341 add comment on function prototypes Bob Andrews 2024-09-08 17:08:40 +02:00
  • 31a0d5cc40 Merge pull request #2503 from colinleroy/master Bob Andrews 2024-09-08 16:17:14 +02:00
  • 0be5f8f9e1 Merge pull request #2508 from polluks/waitvsync Bob Andrews 2024-09-08 16:14:51 +02:00
  • 3a7f0e2d18 Merge pull request #2509 from polluks/extern Bob Andrews 2024-09-08 16:13:55 +02:00
  • e6ff8d9301 Merge pull request #2510 from polluks/better_waitvsync Bob Andrews 2024-09-08 16:09:23 +02:00
  • 38038fd0d3 Merge pull request #2512 from kugelfuhr/kugelfuhr/fix-2134 Bob Andrews 2024-09-08 16:05:58 +02:00
  • 1771cb6fbd Merge pull request #2511 from coronax/fix-gettime-in-time.s Bob Andrews 2024-09-08 16:04:27 +02:00
  • d825a40add The test needs a main() function. Kugel Fuhr 2024-09-08 09:36:40 +02:00
  • 3c5269dede Warn for braces around a pointer initializer. Kugel Fuhr 2024-09-08 09:11:47 +02:00
  • 838c8b48b7 Set the clock id to CLOCK_REALTIME when calling clock_gettime. coronax 2024-09-07 22:16:22 -05:00
  • 55d3a6ea39 Optimize stpcpy's size and speed Colin Leroy-Mira 2024-09-04 22:52:52 +02:00
  • 461554e616 Update waitvsync.s Stefan 2024-09-07 19:17:00 +02:00
  • f5e434c6c8 Update waitvsync.s Stefan 2024-09-07 19:14:59 +02:00
  • be5a9f92ec oops Stefan 2024-09-07 18:51:20 +02:00
  • b355620939 Optimise waitvsync.s Stefan 2024-09-07 18:49:53 +02:00
  • 44aa5dca91 Update atari.h Stefan 2024-09-07 18:12:37 +02:00
  • c9fa9f0002 Update atari5200.h Stefan 2024-09-07 18:08:18 +02:00
  • ab4cdafacb Update atari7800.h Stefan 2024-09-07 18:07:35 +02:00
  • f430341d5d Update atmos.h Stefan 2024-09-07 17:23:17 +02:00
  • 033fd9e0dc Update funcref.sgml Stefan 2024-09-07 17:19:21 +02:00
  • 38f54875d0 Add files via upload Stefan 2024-09-07 17:06:45 +02:00
  • 4e2a3bde92 Merge pull request #2499 from kugelfuhr/kugelfuhr/disable-recursive-calls-to-main Bob Andrews 2024-09-07 14:39:28 +02:00
  • 7bd0a1d7f0 Merge pull request #2500 from kugelfuhr/kugelfuhr/better-help-for-W Bob Andrews 2024-09-07 14:37:30 +02:00
  • d996e20c5f Fix issues #2461. This was always wrong even in cases where it seemed to work. If it did, it was by coincidence. Kugel Fuhr 2024-09-03 20:21:48 +02:00
  • 79606c4d20 Overlooked a few target tests that take the address of main(). Kugel Fuhr 2024-09-02 16:55:58 +02:00
  • cd4357057f The change from #2495 didn't take into account that recursive calls to main() are legal in C. With the changes from #2495, such calls will usually crash the machine. But recursive calls to main() are rare and on the 6502 every byte saved is precious. So this change limits the effect of #2495 to cc65 mode and at the same time disallows recursive calls to main() in this mode. If recursive calls to main() are actually required, the code must be compiled in c89 or c99 mode. Kugel Fuhr 2024-09-02 10:39:42 +02:00
  • e2014611ef Improve the usage output for the '-W' option. Kugel Fuhr 2024-09-02 07:02:41 +02:00
  • 5e5dd1d6c4 Merge pull request #2498 from kugelfuhr/kugelfuhr/fix-include-in-macros Bob Andrews 2024-09-01 23:26:33 +02:00
  • 2680bc8dec Merge pull request #2495 from kugelfuhr/kugelfuhr/dont-save-stuff-in-main Bob Andrews 2024-09-01 22:54:45 +02:00
  • cc0db26e20 Added some tests. Kugel Fuhr 2024-09-01 20:22:29 +02:00
  • b2aceaea24 Fix behavior of .INCLUDE within a macro or .REPEAT. In the original code .INCLUDE was executed after expansion of the macro or .REPEAT - which was wrong and caused all sorts of unexpected behavior. Related issues/PRs are #231, #1473, #2159 and maybe others. Kugel Fuhr 2024-09-01 19:58:07 +02:00
  • 7a578be724 Merge pull request #2491 from kugelfuhr/kugelfuhr/fix-2431 Bob Andrews 2024-09-01 19:35:32 +02:00
  • a712fbb8f9 Merge pull request #2493 from kugelfuhr/kugelfuhr/fix-1663 Bob Andrews 2024-09-01 18:07:14 +02:00
  • 601deab3a2 Merge pull request #2492 from kugelfuhr/kugelfuhr/alternative-pragma-names Bob Andrews 2024-09-01 17:57:38 +02:00
  • 4b38974918 Merge pull request #2496 from kugelfuhr/kugelfuhr/fix-2458 Bob Andrews 2024-09-01 17:54:36 +02:00