Commit Graph

  • 5a9a4e2704
    Merge 9b5d11abde into 16258d812b #2280 pm100 2024-09-17 11:57:06 +0200
  • bd9b7df6f1
    Merge 9c69aac097 into 16258d812b #2524 kugelfuhr 2024-09-17 11:48:46 +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. #2524 Kugel Fuhr 2024-09-17 11:45:46 +0200
  • 73291ecbc3
    Merge e8e0c41f87 into 16258d812b #2353 Renan Ribeiro 2024-09-16 17:30:18 -0300
  • 862c6202d1
    Merge bb006fe4cd into 16258d812b #2494 kugelfuhr 2024-09-16 15:34:51 +0200
  • 553961b1d3
    Merge 231ab4169b into 16258d812b #2522 kugelfuhr 2024-09-16 10:05:38 +0200
  • 0a44cc3a0e
    Merge 3cfcdf94d1 into 16258d812b #1777 Bob Andrews 2024-09-15 19:25:34 +0200
  • 16258d812b
    Merge pull request #2521 from kugelfuhr/kugelfuhr/fix-2520 master 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
  • fae7e82301
    Merge 3f618d7de9 into fe6afa621b #2485 Sven Michael Klose 2024-09-14 22:45:37 +0300
  • 175ec65af1 Fix #2520. #2521 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. #2522 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. #2513 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. #2516 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
  • e576f091ad
    Merge 6bcce49d5d into 34d8c3ef0a #2068 Movax12 2024-09-13 17:49:22 +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
  • e403b0a71b
    Merge 91d1f43ddd into aff8248341 #1358 dmsc 2024-09-12 13:38:50 +0200
  • cacf7013e6
    Merge a24196ee41 into aff8248341 #1810 Bob Andrews 2024-09-12 13:38:19 +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. #2517 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. #2518 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 #1777 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
  • a91e8b04ae
    Merge 0331ef1824 into aff8248341 #2489 MonteCarlos 2024-09-08 18:12:13 +0200
  • aff8248341
    add comment on function prototypes Bob Andrews 2024-09-08 17:08:40 +0200
  • 514381fe5e
    Merge 87d25d1fe8 into 31a0d5cc40 #2478 Alex Thissen 2024-09-08 16:39:50 +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. #2512 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. #2511 coronax 2024-09-07 22:16:22 -0500
  • 55d3a6ea39 Optimize stpcpy's size and speed #2503 Colin Leroy-Mira 2024-09-04 22:52:52 +0200
  • 461554e616
    Update waitvsync.s #2510 Stefan 2024-09-07 19:17:00 +0200
  • f5e434c6c8
    Update waitvsync.s Stefan 2024-09-07 19:14:59 +0200
  • be5a9f92ec
    oops #2508 Stefan 2024-09-07 18:51:20 +0200
  • b355620939
    Optimise waitvsync.s Stefan 2024-09-07 18:49:53 +0200
  • 44aa5dca91
    Update atari.h #2509 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. #2502 Kugel Fuhr 2024-09-03 20:21:48 +0200
  • ca03a471ec
    Merge a99f239fb2 into 5e5dd1d6c4 #1972 polluks2 2024-09-02 19:15:29 +0200
  • 79606c4d20 Overlooked a few target tests that take the address of main(). #2499 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. #2500 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. #2498 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 #2279 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. #2496 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. #2495 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. #2494 Kugel Fuhr 2024-09-01 10:42:52 +0200
  • 4b68d19993 Fix issue #1663. #2493 Kugel Fuhr 2024-09-01 10:42:18 +0200
  • 35c3fe5d0a Fix issue #2044. While doing so, cleanup copy&pasted code. #2497 Kugel Fuhr 2024-09-01 10:29:59 +0200
  • ef17250c64 Fixed a compiler warning. #2491 Kugel Fuhr 2024-09-01 10:26:45 +0200
  • e40058257e Added a test for the available #pragmas. #2492 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
  • 0af7bb754e
    Merge 122461a08c into 622793e343 #1067 laubzega 2024-08-31 16:14:42 +0800
  • f5aec0796f
    Merge 9905c71474 into 622793e343 #1072 laubzega 2024-08-31 16:14:42 +0800
  • 96cf89255f
    Merge 179efc99fd into 622793e343 #890 Jarhmander 2024-08-31 16:14:42 +0800
  • 450cf7adaf
    Merge 9344c42329 into 622793e343 #1806 Bob Andrews 2024-08-31 16:13:55 +0800
  • 0331ef1824 Renaming: workingscreen -> altscreen, some deduplication #2489 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