1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00
Commit Graph

6218 Commits

Author SHA1 Message Date
Greg King
d9df576fa6 Used an easier-to-remember way of creating a program that uses graphics RAM for other purposes. 2014-12-13 09:52:39 -05:00
Greg King
8d5bb55281 Made some descriptions less ambiguous. 2014-12-03 12:02:48 -05: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
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
Christian Groessler
8c5aebef81 cleanups and add comments 2014-05-28 23:38:22 +02:00
Christian Groessler
98195a516e check trigger button (TRIGx); correctly report joystick count depending
on 5200 console version
2014-05-28 00:35:49 +02:00
Christian Groessler
803e9904db small doc update 2014-05-28 00:34:34 +02:00
Oliver Schmidt
3e9484632e Merge pull request #121 from groessler/something_to_pull
small optimization
2014-05-27 08:50:56 +02:00
Christian Groessler
40d7ebd719 more doc updates for atari5200 2014-05-27 02:44:59 +02:00
Christian Groessler
d9a8ea3b6c Don't reserve space for display list in __RESERVED_MEMORY__ since the
default display list is in ROM.
2014-05-27 02:43:17 +02:00
Christian Groessler
ef1e96aff0 small optimization 2014-05-27 01:50:22 +02:00