1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-21 05:29:52 +00:00

Commit Graph

  • 41951a1345 updated customizing documentation Sven Oliver Moll 2024-09-26 19:33:26 +0200
  • 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 +0200
  • 16258d812b
    Merge pull request #2521 from kugelfuhr/kugelfuhr/fix-2520 Bob Andrews 2024-09-15 19:24:22 +0200
  • 7dc09fdb05 add test related to bug#2515 / pr#2518 mrdudz 2024-09-15 19:22:16 +0200
  • 175ec65af1 Fix #2520. Kugel Fuhr 2024-09-14 21:12:19 +0200
  • fe6afa621b
    Merge pull request #2516 from kugelfuhr/kugelfuhr/fix-2514 Bob Andrews 2024-09-14 01:41:16 +0200
  • e7c735ed8c
    Merge pull request #2513 from kugelfuhr/kugelfuhr/fix-2505 Bob Andrews 2024-09-14 01:38:46 +0200
  • 231ab4169b Added a test. Kugel Fuhr 2024-09-07 17:20:27 +0200
  • 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 +0200
  • 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 +0200
  • 001fa05d48 Move the test to the test/standard directory. Kugel Fuhr 2024-09-13 19:18:31 +0200
  • 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 +0200
  • 7260c10062
    Merge pull request #2518 from kugelfuhr/kugelfuhr/fix-2515 Bob Andrews 2024-09-13 17:53:20 +0200
  • 34d8c3ef0a
    Merge pull request #2517 from kugelfuhr/kugelfuhr/time-improvements Bob Andrews 2024-09-13 17:47:14 +0200
  • b5135b3ae0
    Merge pull request #2502 from kugelfuhr/kugelfuhr/fix-2461 Bob Andrews 2024-09-13 15:53:49 +0200
  • 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 +0200
  • 36a810cdb2 Make lastline.sh ignore empty files. Fixes #2514. Kugel Fuhr 2024-09-12 09:10:37 +0200
  • 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 +0200
  • 2f6f5f0da1 Fix problem with #line when there is no whitespace between line number and filename. y Kugel Fuhr 2024-09-11 19:20:01 +0200
  • 6113dc5995 Removed casts from stdint.h. Added a test. Fixes #2505. Kugel Fuhr 2024-09-10 08:12:31 +0200
  • 3cfcdf94d1 Merge branch 'master' into fptest mrdudz 2024-09-09 02:11:36 +0200
  • 443b4dbfae patch cleanup round 3, remove the remaining cruft hopefully mrdudz 2024-09-09 02:10:13 +0200
  • 5f13127051 patch cleanup round 2, remove more commented-out code, adjust blank lines to minimize the patch mrdudz 2024-09-09 01:27:22 +0200
  • d254048a31 patch cleanup round 1 (remove the debug logging) mrdudz 2024-09-09 00:39:08 +0200
  • aff8248341
    add comment on function prototypes Bob Andrews 2024-09-08 17:08:40 +0200
  • 31a0d5cc40
    Merge pull request #2503 from colinleroy/master Bob Andrews 2024-09-08 16:17:14 +0200
  • 0be5f8f9e1
    Merge pull request #2508 from polluks/waitvsync Bob Andrews 2024-09-08 16:14:51 +0200
  • 3a7f0e2d18
    Merge pull request #2509 from polluks/extern Bob Andrews 2024-09-08 16:13:55 +0200
  • e6ff8d9301
    Merge pull request #2510 from polluks/better_waitvsync Bob Andrews 2024-09-08 16:09:23 +0200
  • 38038fd0d3
    Merge pull request #2512 from kugelfuhr/kugelfuhr/fix-2134 Bob Andrews 2024-09-08 16:05:58 +0200
  • 1771cb6fbd
    Merge pull request #2511 from coronax/fix-gettime-in-time.s Bob Andrews 2024-09-08 16:04:27 +0200
  • d825a40add The test needs a main() function. Kugel Fuhr 2024-09-08 09:36:40 +0200
  • 3c5269dede Warn for braces around a pointer initializer. Kugel Fuhr 2024-09-08 09:11:47 +0200
  • 838c8b48b7 Set the clock id to CLOCK_REALTIME when calling clock_gettime. coronax 2024-09-07 22:16:22 -0500
  • 55d3a6ea39 Optimize stpcpy's size and speed Colin Leroy-Mira 2024-09-04 22:52:52 +0200
  • 461554e616
    Update waitvsync.s Stefan 2024-09-07 19:17:00 +0200
  • f5e434c6c8
    Update waitvsync.s Stefan 2024-09-07 19:14:59 +0200
  • be5a9f92ec
    oops Stefan 2024-09-07 18:51:20 +0200
  • b355620939
    Optimise waitvsync.s Stefan 2024-09-07 18:49:53 +0200
  • 44aa5dca91
    Update atari.h Stefan 2024-09-07 18:12:37 +0200
  • c9fa9f0002
    Update atari5200.h Stefan 2024-09-07 18:08:18 +0200
  • ab4cdafacb
    Update atari7800.h Stefan 2024-09-07 18:07:35 +0200
  • c1cef55333 Merge branch 'master' into fptest mrdudz 2024-09-07 18:07:14 +0200
  • f430341d5d
    Update atmos.h Stefan 2024-09-07 17:23:17 +0200
  • 033fd9e0dc
    Update funcref.sgml Stefan 2024-09-07 17:19:21 +0200
  • 38f54875d0
    Add files via upload Stefan 2024-09-07 17:06:45 +0200
  • 4e2a3bde92
    Merge pull request #2499 from kugelfuhr/kugelfuhr/disable-recursive-calls-to-main Bob Andrews 2024-09-07 14:39:28 +0200
  • 7bd0a1d7f0
    Merge pull request #2500 from kugelfuhr/kugelfuhr/better-help-for-W Bob Andrews 2024-09-07 14:37:30 +0200
  • 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 +0200
  • 79606c4d20 Overlooked a few target tests that take the address of main(). Kugel Fuhr 2024-09-02 16:55:58 +0200
  • 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 +0200
  • e2014611ef Improve the usage output for the '-W' option. Kugel Fuhr 2024-09-02 07:02:41 +0200
  • 5e5dd1d6c4
    Merge pull request #2498 from kugelfuhr/kugelfuhr/fix-include-in-macros Bob Andrews 2024-09-01 23:26:33 +0200
  • 2680bc8dec
    Merge pull request #2495 from kugelfuhr/kugelfuhr/dont-save-stuff-in-main Bob Andrews 2024-09-01 22:54:45 +0200
  • cc0db26e20 Added some tests. Kugel Fuhr 2024-09-01 20:22:29 +0200
  • 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 +0200
  • 62f3f8df93
    Merge eb2acfc3e4 into 7a578be724 pm100 2024-09-01 19:37:51 +0200
  • 7a578be724
    Merge pull request #2491 from kugelfuhr/kugelfuhr/fix-2431 Bob Andrews 2024-09-01 19:35:32 +0200
  • a712fbb8f9
    Merge pull request #2493 from kugelfuhr/kugelfuhr/fix-1663 Bob Andrews 2024-09-01 18:07:14 +0200
  • 601deab3a2
    Merge pull request #2492 from kugelfuhr/kugelfuhr/alternative-pragma-names Bob Andrews 2024-09-01 17:57:38 +0200
  • 4b38974918
    Merge pull request #2496 from kugelfuhr/kugelfuhr/fix-2458 Bob Andrews 2024-09-01 17:54:36 +0200
  • 8c1047529f
    Merge pull request #2497 from kugelfuhr/kugelfuhr/fix-2044 Bob Andrews 2024-09-01 17:48:45 +0200
  • b4aef6eac4 Fix macro preprocessing for #include. Arguments enclosed in "" or <> must not be preprocessed. See ISO/IEC 9899 1990 (E) section 6.8.2. Kugel Fuhr 2024-09-01 13:16:35 +0200
  • b5cc68d6e2 Do not save any register variables when entering main(). Do not restore the C stack when leaving main(). Both are unnecessary and just bloat the executable. Kugel Fuhr 2024-09-01 12:41:25 +0200
  • bb006fe4cd Fix issue #1744 for structs. Clarify that having top level enums without a name is legal. Kugel Fuhr 2024-09-01 10:42:52 +0200
  • 4b68d19993 Fix issue #1663. Kugel Fuhr 2024-09-01 10:42:18 +0200
  • 35c3fe5d0a Fix issue #2044. While doing so, cleanup copy&pasted code. Kugel Fuhr 2024-09-01 10:29:59 +0200
  • ef17250c64 Fixed a compiler warning. Kugel Fuhr 2024-09-01 10:26:45 +0200
  • e40058257e Added a test for the available #pragmas. Kugel Fuhr 2024-09-01 10:23:29 +0200
  • 4008ec5814 Document the new #pragma names. Kugel Fuhr 2024-09-01 10:23:10 +0200
  • ba263d13a7 Allow alternative #pragma names using underscores. Kugel Fuhr 2024-09-01 10:22:57 +0200
  • 58b1c21996 Removed #pragma names that have been obsolete for over a decade. Kugel Fuhr 2024-09-01 10:22:40 +0200
  • 0331ef1824 Renaming: workingscreen -> altscreen, some deduplication mc78 2024-08-28 13:32:16 +0200
  • 6565fb8b11 Updated testcode for alternate screen mc78 2024-08-28 13:08:10 +0200
  • 738eddcaed Separated init and switching code for alternate screen mc78 2024-08-28 13:07:55 +0200
  • 92b5ee133a Fixed imports and usage of deprecated vic and cia register names in set_viewport.s mc78 2024-08-28 13:07:00 +0200
  • cb0862d01b Fixed missing import in textcursor.s mc78 2024-08-28 13:05:37 +0200
  • 34e063a2a0 Added check that hi-bytes of the screen and charset addresses are in the same vic bank mc78 2024-08-27 15:07:30 +0200
  • 5e530526ba Added function to set viewport mc78 2024-08-27 14:17:23 +0200
  • f84f3ff0dc Added two functions to backup and restore the cursor position mc78 2024-08-27 14:02:58 +0200
  • 013a0cb4e9 Trimmed trailing white spaces, again mc78 2024-08-27 00:16:55 +0200
  • e88e5e0140 Added function to reset screen to original and save cursor state between switches. mc78 2024-08-27 00:00:38 +0200
  • ad0a204466 Added comment about origin of pet2scrcode function. mc78 2024-08-27 00:00:09 +0200
  • bbf5e88c65 Added testcode for new function to switch working screen mc78 2024-08-26 23:16:31 +0200
  • c4ba32a1c2 Made direct c64 implementation of _cbm_set_working_screen, because the overhead of outsourcing into cbm folder was too large. mc78 2024-08-26 22:23:22 +0200
  • 2735cd8365 Separated code to move working screen into common cbm part and special c64 part. Rejecting also IO area, now. In the context of cc65 memory layout it makes no sense to put screen there. mc78 2024-08-26 11:04:26 +0200
  • 64c411ee10 Moved code to set working screen to c64 subfolder, due to the c64 specific checks on the desired screen location. mc78 2024-08-26 10:26:46 +0200
  • 1aeb3aeb13 Reject setting screen at $0000 due to overlap with zeropage and kernal vars. mc78 2024-08-26 10:25:02 +0200
  • c9087c673a
    Merge ae7a38f3de into 622793e343 greg-king5 2024-08-26 08:59:38 +0200
  • a914be0fdc Fixed off-by-one-error on upper bound of invalid screen memory locations mc78 2024-08-26 02:03:29 +0200
  • c5f3a7e690 Fixed dangling spaces mc78 2024-08-26 01:50:41 +0200
  • 404af7500c Added check that given screen addr hi is not between $1000-$1fff nor between $9000-$9fff due to shadowing mc78 2024-08-26 00:47:25 +0200
  • bc4c36579a Added assembly level function to set cbm working screen along C prototype mc78 2024-08-26 00:41:38 +0200
  • a633e1060d Added c64 zeropage definition for screen addr hi byte. mc78 2024-08-25 23:47:34 +0200
  • 622793e343 Apple II: Move _exit out of STARTUP segment Colin Leroy-Mira 2024-08-24 17:03:27 +0200
  • 0fba88f18f Apple II: Move _exit out of STARTUP segment Colin Leroy-Mira 2024-08-24 17:03:27 +0200
  • 3f618d7de9 Add Plus/4 wrapper for KERNAL's GETIN. Sven Michael Klose 2024-08-18 21:57:06 +0200
  • 372fec1094 Use bzero() for clearing BSS. Christian 'Irgendwer' Krüger 2024-08-15 13:01:02 +0200
  • b688cfa0c0
    Merge pull request #2480 from polluks/patch-9 Bob Andrews 2024-08-11 01:16:38 +0200
  • b86ac99982
    Merge pull request #2479 from polluks/patch-8 Bob Andrews 2024-08-11 01:15:43 +0200