1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-27 12:29:33 +00:00
Commit Graph

10740 Commits

Author SHA1 Message Date
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
mvax
56df849101 add warning for .feature addrsize, clean up switch in SetFeature 2023-05-07 14:53:44 -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
mvax
bee29dedd1 fix feature.s test 2023-05-06 17:11:57 -04:00
mvax
560085cb17 modify and add tests 2023-05-06 16:22:04 -04: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
mvax
11cc5b6f06 remove .feature requirment for addrsize function, silently ignore '.feature addrsize' 2023-05-06 14:24:53 -04: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
mvax
dd0a2bf1bc add test - fix stlye 2023-05-05 19:10:16 -04:00
mvax
7994889213 add test - fix again 2023-05-05 19:07:14 -04:00
mvax
c5cf32ac47 add test - fix 2023-05-05 18:50:44 -04:00
mvax
18570d18b8 add test 2023-05-05 18:43:10 -04:00
Jeff Tranter
17706208e8 Add support for 48x12 video mode on Challenger 1P.
Tested on real C1P hardware.
2023-05-05 18:02:42 -04:00
Bob Andrews
a325c95652
Merge pull request #2090 from bbbradsmith/split2089-make-test-standard
add test/standard to test makefile
2023-05-05 20:42:57 +02:00
Bob Andrews
7a040978d7
Merge pull request #2088 from bbbradsmith/struct-3byte-misc-todo
guard test to ensure 3-byte struct isn't re-enabled without evaluation by accident
2023-05-05 20:39:37 +02:00
Bob Andrews
34d9d55b95
Merge pull request #2091 from bbbradsmith/split2089-test-todo-testwrk
test/todo makefile uses testwrk/val by mistake
2023-05-05 20:36:10 +02:00
mvax
1c58b302d8 Bugfix for the .ISMNEMONIC, .ISMNEM builtin function 2023-05-05 12:31:19 -04:00
bbbradsmith
c662c7a36f use diff-index to prevent commit instead of bash if
preferred because the if suppresses all git commit errors, instead of the one error we need to suppress (commit with no changes)
2023-05-05 12:02:50 -04:00
bbbradsmith
5c20fb2812 test/todo makefile uses testwrk/val by mistake 2023-05-05 11:28:42 -04:00
bbbradsmith
9f3e47e9c9 test/standard was never added to test makefile 2023-05-05 11:04:31 -04:00
bbbradsmith
8f356f5093 artifact upload should not end with .zip as it is appended automatically
fixes ".zip.zip" artifact filenames
2023-05-05 11:00:06 -04:00
bbbradsmith
0cad5bef81 include docs snapshot with pull request build so that PRs can preview it easily 2023-05-05 10:58:18 -04:00
bbbradsmith
e57c991de7 master push workflow can include a docs snapshot 2023-05-05 10:56:43 -04:00
bbbradsmith
cfc8a41a03 guard test to ensure 3-byte struct isn't re-enabled without evaluation by accident 2023-05-04 17:07:34 -04:00
Bob Andrews
a7676bdff5
Merge pull request #2075 from bbbradsmith/struct-duplicate-member-error
Error for struct/union with a duplicate member
2023-05-04 22:43:17 +02:00
mrdudz
69fd3d7998 tweak 2023-05-04 22:21:36 +02:00
mrdudz
71bb11bee1 make the commit message a url, also check if it really doesnt fail when there is nothing to commit 2023-05-04 22:09:22 +02:00
mrdudz
e228e4d65c try something else, again 2023-05-04 21:58:37 +02:00
mrdudz
4ef849cb81 Force background image to snap left, adapted from https://github.com/cc65/doc/pull/1 2023-05-04 21:44:57 +02:00