1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
Commit Graph

9459 Commits

Author SHA1 Message Date
Jeff Tranter
ba13ba32a1 Fix some commonly made spelling errors in comments. 2022-07-21 03:18:13 +02:00
Greg King
cac1e26372 Made the c128, not the c64, target build the c128 version of "c64-c128-scpu-test.c".
Its placement in the wrong list caused a parallel race condition that sometimes led to failed test builds.
2022-07-21 03:18:13 +02:00
Greg King
9dcd7f8858 Reverted "do not use cl65 to prevent tests from failing randomly because of one process deleting the temp files from another".
This reverted commit 02a46e0237.  That commit didn't fix the real bug (a program name in the wrong list).
2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
49bf32dc06 Add proper readmes 2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
e85d7756a6 Rename target test to asm 2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
2edd9543ce Reorganized test/asm 2022-07-21 03:18:13 +02:00
mrdudz
14b27f8317 do not use cl65 to prevent tests from failing randomly because of one process deleting the temp files from another 2022-07-21 03:18:13 +02:00
Greg King
e4f38f4476 Made the snapshot-on-push Github action run on only the upstream repository. 2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
77fa71994f ca65: .constructor after .export fails
The actor directives (.constructor, .destructor, .interruptor, and .condes)
can't handle a symbol that's already exported.

The relevant code does the checks in the wrong order.

For example, the following correct snippet does not assemble:

        .export         C
C:      .constructor    C, 5

The assembler outputs: test.s:2: Error: Address size mismatch for symbol 'C'

Exchanging both lines makes it work.

This fixes #1647; the patch is provided by 'kugelfuhr' and taken from there.
2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
bfaa2b37e0 Add link to DEB and RPM snapshots 2022-07-21 03:18:13 +02:00
Spiro Trikaliotis
e35f4fb48f Invalid flagged errors if token is missing
A missing factor in an expression causes an expected but missing token
to be skipped, leading to invalid flagged errors in the following line:

l = 3 +
lda     #$00

An error should be output for line 1, but not for line 2. Actually, both
are flagged as errors:

test.s(1): Error: Syntax error
test.s(2): Error: Unexpected trailing garbage characters

This patch (as proposed in issue #1634 by kugelfuhr) fixes this.
2022-07-21 03:18:13 +02:00
mrdudz
3b964c9674 add hint on VICE -moncommands 2022-07-21 03:18:13 +02:00
acqn
479f450d11 Testcase for #1662. 2022-07-21 03:18:13 +02:00
acqn
ace0bc414b Fixed anonymous bit-fields declared with typedef'ed type names. 2022-07-21 03:18:13 +02:00
acqn
879ed5bb95 Fixed crash with labels in non-function/block scopes. 2022-07-21 03:18:13 +02:00
Greg King
800568dd58 Added code that avoids infinite loops that were caused by circular references
(a symbol that was defined by referring to itself directly or indirectly).  Patch by kugelfuhr.
2022-07-21 03:18:13 +02:00
mrdudz
2628a176f9 attempt to prevent utils being compiled with cc65 2022-07-21 03:18:13 +02:00
mrdudz
648c8e21e3 build utilities in a seperate step 2022-07-21 03:18:13 +02:00
Greg King
c138454bcc Removed geos_apple and geos_cbm from the lists of targets.
They need resource files to go with the program source files.  The top-level samples and targettest programs don't have those resources.
2022-07-21 03:18:13 +02:00
Greg King
bc46c90cfa Added '+' to another SUBDIRS_recipe. 2022-07-21 03:18:13 +02:00
Greg King
9c1c1c04d8 Moved the platform-test enumerations from Github Actions over to makefiles.
Now, we can run those tests locally, as well as on Github.
2022-07-21 03:18:13 +02:00
Wayne Parham
bf46abf8c5 Correction of link typos 2022-07-21 03:18:13 +02:00
Wayne Parham
dd38de6263 Added note about return value being function status. 2022-07-21 03:18:13 +02:00
Wayne Parham
0302e7be97 Typo correction. 2022-07-21 03:18:13 +02:00
Wayne Parham
c60144afbb Documentation updates for Sym-1. 2022-07-21 03:18:13 +02:00
mrdudz
138d2badb2 upload snapshot to sourceforge 2022-07-21 03:18:08 +02:00
mrdudz
b9bda8c40d test upload again 2022-07-21 03:13:10 +02:00
mrdudz
561e973c5d try publishing on sf after snapshot 2022-07-21 03:13:10 +02:00
mrdudz
76026ed59e use gamate-fixcart from util dir 2022-07-21 03:13:10 +02:00
mrdudz
16acb7675e move some things from targettest to samples 2022-07-21 03:13:10 +02:00
mrdudz
1af84ed9a0 fix this too 2022-07-21 03:13:10 +02:00
mrdudz
6129ff532b fix again. sigh 2022-07-21 03:13:10 +02:00
mrdudz
f6e7a91fb4 fix 2022-07-21 03:13:10 +02:00
mrdudz
9509288b80 remove programs in util dir before making a snapshot. we might later
decide to leave them there anyway.
2022-07-21 03:13:10 +02:00
mrdudz
f800e71d7a cleanup 2022-07-21 03:13:10 +02:00
mrdudz
0300d4fcd1 utils before samples 2022-07-21 03:13:10 +02:00
mrdudz
0046d8ec5c build util dir when testing 2022-07-21 03:13:10 +02:00
mrdudz
bcc03acfc8 also compile the programs in the util directory by default, not only
do we want to test they can be compiled, but also samples may use/require
them. we might want to install them too, perhaps
2022-07-21 03:13:10 +02:00
Greg King
e0b23258dc Added the names of samples and targettest programs that the telestrat library can build now. 2022-07-21 03:13:10 +02:00
Greg King
8bf9766e9e Added to the telestrat library the name of the standard dynamic TGI driver. 2022-07-21 03:13:10 +02:00
Greg King
bdd7466afd Added telestrat to <time.h>.
That library has clock().
2022-07-21 03:13:10 +02:00
polluks
2ed9df708f Fixed many typos 2022-07-21 03:13:10 +02:00
polluks
ad95ba7854 Added tail call optimization 2022-07-21 03:13:10 +02:00
Oliver Schmidt
27f975666c Disable double hires on exit.
A program being run afterwards might not even know about the existence of double hires. So it's our task to turn double hires off on exit.
2022-07-21 03:13:10 +02:00
Greg King
103d3ccfcd Fixed the cart directory build code to handle even simple programs.
Carts can be built containing programs that don't link some segments.
2022-07-21 03:13:10 +02:00
Greg King
3885dd8504 Removed an obsolete command-line option from the cc65 compiler. 2022-07-21 03:13:10 +02:00
Greg King
5cad3ce55a Fixed heaptest.c compiler warnings in a way that's better than PR #1621.
This fix adds "unsigned" to one line instead of removing it from several lines.
2022-07-21 03:13:10 +02:00
mrdudz
f1e70517ec the forgotten minimal testprog 2022-07-21 03:13:10 +02:00
mrdudz
afc80949e3 build targettest progrs for all targets 2022-07-21 03:13:10 +02:00
mrdudz
6eca9a6aac fix Makefiles for all targets, dive into subdirs like in samples 2022-07-21 03:13:10 +02:00