1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-21 09:17:52 +00:00
Commit Graph

10597 Commits

Author SHA1 Message Date
Bob Andrews 9ff7b88192 Merge pull request #2113 from polluks2/patch-9
Unified NULL #2110
2023-05-19 16:06:46 +02:00
polluks2 accd57460b Reverted gconst.h 2023-05-19 15:48:31 +02:00
polluks2 8ff008722b Fixed test
Don't define NULL yourself. QED
2023-05-19 02:49:49 +02:00
polluks2 767875b5a7 Added guard 2023-05-18 00:08:26 +02:00
polluks2 19436f5159 Update gconst.h 2023-05-17 20:24:36 +02:00
Bob Andrews 70bf4d492b Merge pull request #2105 from bbbradsmith/sim65-64bit-cycle-count
Sim65 64bit cycle count
2023-05-16 15:53:23 +02:00
Bob Andrews d41f53e252 Merge pull request #2108 from bbbradsmith/windows-workflow-scheduled-cmd
Scheduled windows build/test and cmd.exe subshell
2023-05-16 15:37:18 +02:00
polluks2 dd58c7ff50 Update stddef.h 2023-05-14 17:32:30 +02:00
polluks2 ba6747f5da Update time.h 2023-05-14 17:29:42 +02:00
polluks2 c55459b287 Update string.h 2023-05-14 17:28:48 +02:00
polluks2 fd74e6b005 Update stdio.h 2023-05-14 17:28:09 +02:00
polluks2 680ddaf37d Update locale.h 2023-05-14 17:27:04 +02:00
polluks2 6579df4e91 Update stdlib.h 2023-05-14 02:43:35 +02:00
Bob Andrews 55723f4977 Merge pull request #2112 from bbbradsmith/extern-static-conflict-error
Error/warning for extern/static linkage declaration conflict
2023-05-12 11:22:59 +02:00
polluks2 5d9306fed3 Fixed header #2110 2023-05-12 02:32:14 +02:00
bbbradsmith 5a30d746b4 extern/static conflict test: remove warning as errors to match the new expected cases 2023-05-11 20:15:27 -04:00
bbbradsmith 3b7be09a7f extern redeclared as static = error (C spec: undefined)
static redeclared as extern = warning (C spec: ignore extern)
See: #2111
2023-05-11 19:50:58 -04:00
bbbradsmith eb2b013d62 remove workflow comments this obsoletes 2023-05-08 21:22:18 -04:00
bbbradsmith 76328da682 librsc/Makefile: ../lib directory must be created globally before make lib targets in parallel
prevents conflict of individual targets each trying to create ../lib
enable -j2 in make lib windows action
2023-05-08 20:57:50 -04:00
bbbradsmith 07963abd52 replace manual-only tests with scheduled test and manual dispatch
cache is used to prevent unnecessary rebuild if the previous build was successful
make steps now use SHELL=cmd to provide cmd.exe subshell
2023-05-08 18:21:21 -04:00
bbbradsmith ce6097ea7e rename windows-test-manual to windows-test-scheduled 2023-05-08 18:12:57 -04:00
Bob Andrews 79018fd424 Merge pull request #2107 from IrgendwerA8/patch-2
Fixed comments for Atari OS memory location
2023-05-08 18:34:30 +02:00
Irgendwer 02d38ae17e Fixed comments for Atari OS memory location 2023-05-08 15:28:22 +02:00
bbbradsmith f15e9c4159 Linux build rejects %llu in ErrorCode 2023-05-07 17:41:54 -04:00
bbbradsmith 2cb457b85f sim65 use error codes outside the simulated program's range for non-sim errors 2023-05-07 16:51:12 -04:00
bbbradsmith 7f0baff792 document how to return from assembly sim65 test 2023-05-07 16:35:05 -04:00
bbbradsmith 3419cbd348 sim65 64-bit cycle count tests
These take ~10 seconds to run locally
2023-05-07 16:33:47 -04:00
bbbradsmith aad64063c9 makefiles no longer need comment about sim65 64-bit support 2023-05-07 16:33:07 -04:00
bbbradsmith 0081fe548c sim64 universal 64-bit cycle count support:
MaxCycleCount is accounted by countdown, eliminating the 1-instruction-overhead issue, and removing the need to compare against a growing TotalCycles.
Makes main.c responsible for counting total cycles, instead of 6502.c, so the size of MaxCycleCount etc. is fully determined in one location.
Makes error.c responsible for PrintCycles instead of paravirt.c, so that it can be treated globally instead of
Return value of main() should be SIM65_ERROR because it is unreachable by design.
2023-05-07 16:26:42 -04:00
Bob Andrews 6de85b2e2a Merge pull request #2093 from bbbradsmith/split2089-workflow-docs-artifact
Workflow docs artifact and snapshot
2023-05-07 19:44:41 +02:00
Brad Smith 8b682b3c5a Merge branch 'master' into split2089-workflow-docs-artifact 2023-05-07 13:34:37 -04:00
Bob Andrews c9857d9962 Merge pull request #2069 from jefftranter/bootstrap-fix
Source listing in bootstrap.s is incorrect.
2023-05-07 13:49:12 +02:00
Bob Andrews 9c70235173 Merge pull request #2096 from Movax12/BugFix-for-ismnemonic-function
Bugfix for the .ISMNEMONIC, .ISMNEM builtin function
2023-05-06 21:42:59 +02:00
Bob Andrews 9c27084fa5 Merge pull request #2084 from bbbradsmith/numerical_constant_errors-int
Numerical constant errors and improvements (integer)
2023-05-06 21:36:59 +02:00
Bob Andrews 066953c435 Merge pull request #2101 from bbbradsmith/split2092-windows-test-manual
workflow for manually dispatched Windows build and test
2023-05-06 21:23:50 +02:00
Bob Andrews 7b40515506 Merge pull request #2099 from bbbradsmith/split2092-sim65-fix
sim65 fix platform-dependent issues
2023-05-06 20:36:59 +02:00
Bob Andrews f87c7f3f14 Merge pull request #2098 from bbbradsmith/split2092-grc65-fix
grc65 fix flawed text parsing
2023-05-06 20:07:20 +02:00
bbbradsmith 84f0ab322d sim65: cycles does not increment 1 at a time, so some small overhead is needed in range check 2023-05-06 13:54:28 -04:00
mvax fe35386b79 add test - add overloading instruction test 2023-05-06 12:56:34 -04:00
bbbradsmith 532681c961 braces were requested
combining the two a = ' ' cases was requested
2023-05-06 12:06:06 -04:00
bbbradsmith 1df7ab0352 opening brace on same line as while
other AbEnd messages don't end in .
2023-05-06 11:55:21 -04:00
Bob Andrews 027ec91944 Merge pull request #2094 from bbbradsmith/workflow-docs-tweak
More specific git commit error suppression in doc upload
2023-05-06 12:04:57 +02:00
Bob Andrews 0d0369983a Merge pull request #2100 from bbbradsmith/split2092-libtest
libtest target alternative to lib
2023-05-06 11:30:05 +02:00
Bob Andrews 9014165612 Merge pull request #2097 from jefftranter/c1p-video-mode
Add support for 48x12 video mode on Challenger 1P
2023-05-06 11:17:45 +02:00
bbbradsmith a022f7203d workflow for manually dispatched Windows build and test 2023-05-05 22:05:10 -04:00
bbbradsmith df749abbfb libtest target alternative to libs
saves me about 20 minutes if I only want to run tests
2023-05-05 21:56:52 -04:00
bbbradsmith c03d00bc80 sim65 suppress uninitialized variable warning
the EOF check was protecting uninitialized Val2 but the compiler can't figure that out
2023-05-05 21:46:42 -04:00
bbbradsmith 773716c32a sim65 close(-1) crash fix
test/val/constexpr.c relies on close(-1) to return -1 for some reason (comment says "abuse"), but on MSVC close(-1) is treated as a security issue and terminates the program instead of returning -1
simulating this desire for sim65, though constexpr.c may also warrant a review
2023-05-05 21:46:11 -04:00
bbbradsmith f2e7609046 sim65 cycles 32-bit range fix
long is 64-bit on some platforms, making this inconsistent, added range check to catch overflow.
reduced tests requesting 5 billion cycles to 2^32-1 so they can fun on 32-bit long sim65.
2023-05-05 21:45:57 -04:00
bbbradsmith 8d048699ee grc65 fix flawed text parsing
Was using fseek(F,-1,SEEK_CUR) which is invalid for text files, behaviour unreliable across platforms.
Added check for internal buffer overflow.
2023-05-05 21:32:34 -04:00