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

6225 Commits

Author SHA1 Message Date
Oliver Schmidt
195067d023 Minor changes to cleanup log. 2014-10-30 22:43:34 +01:00
Oliver Schmidt
8ec3d9268e Moved Windows binary snapshot to SourceForge. 2014-10-30 22:20:02 +01:00
Oliver Schmidt
1673a40a77 Merge pull request #138 from spiro-trikaliotis/equality-error-uz
Equality problem (Ullrich von Bassewitz)
2014-10-14 15:15:23 +02:00
Oliver Schmidt
137041c59f Merge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox
Fix for: cc65 forgetting to emit labels (Alan Cox)
2014-10-14 15:13:29 +02:00
Spiro Trikaliotis
55815ea10c Equality problem (Ullrich von Bassewitz)
Neil Stockbridge reported a problem with equality comparisons on
cc65.org's mailing list:

http://www.cc65.org/mailarchive/2014-10/11680.html

Uz provided a fix for it:

http://www.cc65.org/mailarchive/2014-10/11683.html

This pull request ask to add the fix to cc65 on github.
2014-10-14 13:41:17 +02:00
Spiro Trikaliotis
f4f879283d Fix for: cc65 forgetting to emit labels (Alan Cox)
Alan Cox provided this on 2014-10-02 on the cc65.org mailing list:

http://www.cc65.org/mailarchive/2014-10/11673.html
[...]
It breaks in several spots with cc65 where cc65 forgets to emit the
labels for the goto statements - the code is there but with no label
and it them blows up linking
[...]

He also provided a fix:
http://www.cc65.org/mailarchive/2014-10/11675.html

which was approved by Uz:
http://www.cc65.org/mailarchive/2014-10/11679.html

This is the patch of Alan Cox, adjusted only to the new locations on
cc65/github.
2014-10-14 13:32:58 +02:00
Oliver Schmidt
d0aef118ac Merge pull request #133 from pfusik/fix-char-cast
Fix casting an r-value to char.
2014-09-30 16:08:41 +02:00
Oliver Schmidt
295604b31f Merge pull request #135 from ikorb/patch1
added tests as prepared by oliver
2014-09-25 21:50:28 +02:00
mrdudz
ca300826cf added tests as prepared by oliver 2014-09-25 21:38:34 +02:00
Piotr Fusik
8c1f12f06b Fix casting an r-value to char.
For example:
int f(int i, int j) { return (char) (i + 1) == j; }
f(0x1234, 0x35) returned 0.

This bug caused zlib/uncompress return Z_DATA_ERROR on correct input.
2014-09-22 23:47:20 +02:00
Oliver Schmidt
d75f9c2051 Merge pull request #132 from greg-king5/high-zero
Change "#>0" into "#>$0000".
2014-09-11 08:57:50 +02:00
Greg King
74c2415795 Changed literal zeroes of the style "#>0" into the style "#>$0000". 2014-09-10 19:15:07 -04:00
Oliver Schmidt
e702832e80 Merge pull request #130 from greg-king5/caps-lock
Disable the Atmos keyboard's CAPS LOCK for stdio too.
2014-09-09 12:55:30 +02:00
Greg King
970af0cdb2 Swapped the locations of a constructor and a destructor in a source file.
The constructor now is first.

Used a more expressive literal zero.
2014-09-04 17:37:41 -04:00
Oliver Schmidt
76283e1b45 Merge pull request #131 from greg-king5/refine-crt
Made the crt0.s source files comments be consistent with each other.
2014-08-24 21:31:35 +02:00
Greg King
c7969a78b0 Refined the comments in the target start-up files.
Fixed typo errors.  Made the comments consistent across all those files.
2014-08-24 10:10:20 -04:00
Greg King
145a010e59 Moved the CAPS LOCK code out of the startup file, and into its own file. 2014-08-24 10:05:45 -04:00
Greg King
58b73a2842 Disable the Atmos keyboard's CAPS LOCK for both conio and stdio. 2014-08-21 11:04:23 -04:00
Oliver Schmidt
6df42052b0 Merge pull request #129 from greg-king5/cbmdir
Update 2 CBM directory functions.
2014-07-17 16:50:49 +02:00
Greg King
8324221360 Improved some multiplication code. 2014-07-17 07:11:14 -04:00
Greg King
c6e7d835ef Fixed a buffer overrun bug. 2014-07-17 07:05:10 -04:00
Oliver Schmidt
30aab9a6b2 Merge pull request #128 from greg-king5/multi-comments
Changed multi-line C comments into another style.
2014-07-01 09:48:18 +02:00
Greg King
0390c34e88 Changed multi-line C comments into another style.
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
132d57f1ad Revert "don't define DYN_DRV for targets which don't predefine it"
This reverts commit 29671f5f06.
2014-06-04 23:50:46 +02:00
Oliver Schmidt
2c975d3642 Create static drivers directly from source files.
Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:

The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.

However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.

Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').
2014-06-04 23:50:18 +02:00
Oliver Schmidt
2bc4634860 Normalized style.
We don't use .ifndef .else .endif
2014-06-03 18:30:11 +02:00
Oliver Schmidt
7a9ea2189e Merge pull request #125 from groessler/something_to_pull2
Adapt joy-test.c for Atari 5200
2014-06-02 09:00:18 +02:00
Christian Groessler
939a5ccbc2 fix last change 2014-06-02 08:41:35 +02:00
Oliver Schmidt
984195f976 Merge pull request #127 from groessler/something_to_pull
mousetest.c: don't set DYN_DRV to 1 for targets which don't predefine it
2014-06-01 20:57:42 +02:00
Christian Groessler
29671f5f06 don't define DYN_DRV for targets which don't predefine it 2014-06-01 19:18:57 +02:00
Christian Groessler
deddb00a3a use DYN_DRV and MOUSE_DRIVER defines to decide which driver to use 2014-06-01 19:17:02 +02:00
Oliver Schmidt
bdb33be246 Added Apple GEOS to the list of targets. 2014-06-01 18:27:52 +02:00
Christian Groessler
3508b90ee8 set DYN_DRV to 0; define atr5200std_joy 2014-05-31 19:44:10 +02:00
Oliver Schmidt
69471a19f3 Merge pull request #124 from groessler/something_to_pull
add 'console' to NES line in README.md
2014-05-31 17:36:45 +02:00
Christian Groessler
5595137d1d Adapt joy-test.c for Atari 5200 (only has 20x24 display)
Fix static driver name.
2014-05-30 23:39:35 +02:00
Christian Groessler
919bdbd347 add 'console' to NES line 2014-05-30 23:29:27 +02:00
Oliver Schmidt
99f0a56f63 Merge pull request #122 from groessler/a5200
new target: Atari 5200 console
2014-05-30 22:52:51 +02:00
Christian Groessler
df782e9500 rename _antic.inc, _pokey.inc, _gtia.inc to atari_antic.inc, atari_pokey.inc, atari_gtia.inc 2014-05-30 22:00:18 +02:00
Christian Groessler
a4fda71510 move atari5200 behind atari and atarixl in TARGETS list 2014-05-30 13:39:09 +02:00
Christian Groessler
fa7cdf0214 remove atari5200.mac 2014-05-30 13:38:29 +02:00
Oliver Schmidt
b420eccd37 Merge pull request #123 from greg-king5/cbm-errors
Lengthen some CBM error messages.
2014-05-30 10:22:01 +02:00
Christian Groessler
f54ef4efe4 provide CLK_TCK and CLOCKS_PER_SEC values for atari5200 2014-05-29 13:23:45 +02:00
Greg King
b8e65aca5a Used longer error text.
Added more codes and messages.
2014-05-28 23:01:48 -04:00
Christian Groessler
4286e55453 fix build error 2014-05-29 01:50:41 +02:00
Christian Groessler
ff31fa3e3f add atari5200.h 2014-05-29 00:42:54 +02:00
Christian Groessler
2bf580fb89 remove unneeded ATASCII defs; add header 2014-05-29 00:42:30 +02:00
Christian Groessler
497b161d12 fix warning when generating info file 2014-05-29 00:41:39 +02:00
Christian Groessler
8f2c9f0d8e use atari target scrcode macro for atari5200 target, too 2014-05-29 00:18:55 +02:00
Christian Groessler
245a69a043 don't use scrcode for numbers 2014-05-29 00:18:22 +02:00
Christian Groessler
0bcb615d33 remove TABs 2014-05-28 23:39:31 +02:00