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
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
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
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
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
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
mrdudz
769b316376
lets see if this will not fail when there are no changes in the docs
2023-05-04 21:27:48 +02:00
mrdudz
7053dac3a9
remove token from cc65/doc, reenable the tests again
2023-05-04 21:13:37 +02:00
mrdudz
610dfbb41c
try normal push, also try actions/upload-artifact@v3
2023-05-04 21:07:23 +02:00
mrdudz
ea90c934d7
try gain with classic token
2023-05-04 20:59:18 +02:00
mrdudz
17f58d934f
AGAIN
2023-05-04 20:52:50 +02:00
mrdudz
926d09a14d
i'm not patient enough
2023-05-04 20:48:52 +02:00
mrdudz
0369838f24
bleh
2023-05-04 20:45:35 +02:00
mrdudz
3536761110
another try
2023-05-04 20:30:28 +02:00
mrdudz
99a0d64b93
lets see if that token stuff works
2023-05-04 20:03:27 +02:00
mrdudz
20f0427fa4
comment out the push again. who knows whats wrong. sigh
2023-05-04 15:20:33 +02:00
mrdudz
681c51b37e
yawn
2023-05-04 15:12:46 +02:00
mrdudz
c0dd3b9d9a
like this? awesome how everyone does something different :)
2023-05-04 15:10:10 +02:00
mrdudz
7c5595efbc
another try
2023-05-04 15:02:32 +02:00
mrdudz
45258d060d
lets see if this works
2023-05-04 14:47:02 +02:00
mrdudz
0957c36115
try verbose dry run to see what it does :)
2023-05-04 14:19:27 +02:00
Bob Andrews
13f317e660
Update Contributing.md
2023-05-04 09:18:33 +02:00
bbbradsmith
84eafb7f9c
err test for struct with duplicate member
2023-05-03 21:09:03 -04:00
Bob Andrews
b743b1a8c2
Merge pull request #2081 from bbbradsmith/suppress-size-error
...
ca65: Suppress '.size' error for multiply-defined symbols
2023-05-04 00:36:48 +02:00
Bob Andrews
45bdeb62ad
Merge pull request #2070 from bbbradsmith/fix2060
...
RHS primary integer promotion must happen after loading the primary, not before
2023-05-03 23:57:19 +02:00
Bob Andrews
83ff62d5e2
Merge pull request #2078 from bbbradsmith/line-endings
...
ca65 support for three line ending types: \r, \r\n, \n
2023-05-03 21:19:03 +02:00
Bob Andrews
f4676e11b4
Merge pull request #2083 from bbbradsmith/struct-passing
...
Improve struct size error message to include the detected size
2023-05-03 21:00:25 +02:00
Bob Andrews
6386788843
Merge pull request #2082 from cc65/revert-2080-revert-2072-struct-passing
...
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return""
2023-05-03 20:49:37 +02:00
bbbradsmith
440c91fad9
braces for 1-line if
2023-05-03 14:11:30 -04:00
Bob Andrews
ae7a1416fe
Revert "Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return""
2023-05-03 20:02:12 +02:00
bbbradsmith
1f18ab218e
Improve struct size error message to include the detected size
2023-05-03 13:35:51 -04:00
Brad Smith
4e6b94de5c
braces
2023-05-03 12:19:05 -04:00
bbbradsmith
016008b6df
ca65: Suppress '.size' error for multiply-defined symbols
2023-05-03 11:57:50 -04:00
Bob Andrews
59bd5fdd4c
Merge pull request #2071 from bbbradsmith/bug895_warningspam
...
bug895.c compliant token pasting syntax to remove warnings
2023-05-03 15:02:30 +02:00
Bob Andrews
0bded728ae
Merge pull request #2080 from cc65/revert-2072-struct-passing
...
Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return"
2023-05-03 14:37:21 +02:00
Bob Andrews
6ffc4004d7
Revert "Forbid 3-byte struct pass/return by value, document struct value pass/return"
2023-05-03 14:24:13 +02:00
Bob Andrews
f3c0f7c6ce
Merge pull request #2074 from bbbradsmith/zp_override_not_suspicious
...
Explicit z: should suppress "Suspicious address expression" warning
2023-05-03 14:09:23 +02:00