1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 17:04:58 +00:00
Commit Graph

6607 Commits

Author SHA1 Message Date
Stephan Mühlstrasser
14958949c2 Direct use of monitor function instead of subroutine call. 2014-11-16 21:13:18 +01:00
Stephan Mühlstrasser
6edf57324e Set default start address to 0x300.
Make start address configurable via --start-addr.
2014-11-16 20:07:59 +01:00
Stephan Mühlstrasser
3b379c10e4 Added missing dependency from c1p65 to common 2014-11-15 20:37:45 +01:00
Greg King
09e50d433d * Changed the way that Atmos programs are started.
- Put a BASIC-language stub at the beginning.
  - Removed the Autostart flag.

  Those changes make it easy to give command-line arguments to a program.

* Made the Atmos configure file accept a special symbol definition on ld65's command line.  We can use "__RAMEND__" to increase the amount of RAM that's available to programs.
2014-11-09 06:32:11 -05:00
Stephan Mühlstrasser
4c46287928 Begin to implement C1P conio features. 2014-11-09 00:58:32 +01:00
Stephan Mühlstrasser
5d7a24241c Implemented clrscr routine for C1P 2014-11-08 01:14:46 +01:00
Stephan Mühlstrasser
1f85c48fb2 Added the c1p65 project. 2014-11-06 20:46:16 +01:00
Oliver Schmidt
5b55fa4500 Adjusted URL. 2014-11-03 23:33:01 +01:00
Oliver Schmidt
b552c18405 Consistently rely on SSL redirection. 2014-11-03 23:21:52 +01:00
Oliver Schmidt
dc3167fcc8 Adjusted doc URL. 2014-11-03 21:42:54 +01:00
Oliver Schmidt
ebbec9bfb7 Modified doc generation to target 'doc' repository. 2014-11-03 21:23:29 +01:00
Stephan Mühlstrasser
29801cd45f Enter bytes in a loop in data mode 2014-11-02 23:22:41 +01:00
Stephan Mühlstrasser
57a422d064 Adapt c1p65 project to Visual Studio 2013 2014-11-02 19:39:39 +01:00
Stephan Mühlstrasser
0b186407f1 Merge https://github.com/cc65/cc65 into c1p 2014-11-02 16:17:16 +01:00
Oliver Schmidt
ac12a738bc Adjusted Travis CI file to recent change. 2014-11-01 13:49:19 +01:00
Oliver Schmidt
91b9451c60 Reduced clutter in root dir. 2014-11-01 13:45:17 +01:00
Oliver Schmidt
2cea214e86 Ignore return value of commit (not push). 2014-10-30 23:21:40 +01:00
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
mrdudz
d4c7591b12 scheisse 2014-10-01 15:33:41 +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
mrdudz
baaf815d8e fix cast to char, patch by Piotr Fusik 2014-09-25 23:19:14 +02:00
mrdudz
ec484db2bb Merge remote-tracking branch 'upstream/master' 2014-09-25 22:01:27 +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
mrdudz
adc5525e85 added commandline option to quit after X cycles 2014-09-25 18:47:23 +02:00
mrdudz
9b82eaadd0 added tests as prepared by oliver 2014-09-24 16:45:10 +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