1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-06 15:06:07 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
Greg King
314cdd7feb Added Atari Lynx versions of three sample programs.
The Lynx target can't build the usual versions because its library doesn't have conio output and stdio.
2022-07-21 03:20:44 +02:00
Greg King
1951e84505 Made tgidemo draw circles in blue instead of orange.
That change lets it be built on two more platforms (Atmos, Telestrat).
2022-07-21 03:20:44 +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
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
mrdudz
16acb7675e move some things from targettest to samples 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
mrdudz
f82208b009 fix for atari5200 2022-07-21 03:13:10 +02:00
Oliver Schmidt
8b0de8a931
Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
mrdudz
4f87c7cc64 move samples that only work for a specific target into subdirs named the same as the target 2021-10-23 01:18:17 +02:00
Wayne Parham
bed61df837 Removed unnecessary blank line from samples/Makefile 2021-06-16 16:28:17 -05:00
Wayne Parham
11d81b1f43 Stylistic changes 2021-06-15 16:39:28 -05:00
Wayne Parham
732a5fb9a7 Remove bin and hex references from samples/Makefile 2021-06-07 00:56:50 -05:00
Wayne Parham
5eafd8115f Cleanup whitespace in Makefile 2021-06-07 00:53:15 -05:00
Wayne Parham
a3fce656b7 Samples updates 2021-06-07 00:42:13 -05:00
mrdudz
65c640d2cf added missing atari5200 target 2021-05-24 15:15:07 +02:00
mrdudz
ce487651b0 as suggested by Oliver:
- only output messages if MAKELEVEL is 0
- indent nested ifeq
- use if (,) syntax
2021-05-16 22:24:35 +02:00
WayneParham
e9fd87d07a
Merge branch 'master' into master 2021-05-16 10:02:37 -05:00
mrdudz
aecb01986a fix list of executables for geos-apple 2021-05-16 15:45:34 +02:00
mrdudz
86bd6b9add Added executable list for all targets and print a message when certain
samples are not available for a target (instead of failing). This makes
"make SYS=<target>" in samples recursively work for all supported targets.
2021-05-15 19:48:19 +02:00
Wayne Parham
27e04b36b0 Makefile updates 2021-05-09 17:24:15 -05:00
Wayne Parham
044a0838a3 Changes to existing cc65 source to support Synertek Systems Sym-1 2021-05-09 16:52:48 -05:00
mrdudz
f60af0301a fix non working Makefiles 2020-10-15 18:35:54 +02:00
Oliver Schmidt
095de4ea52 Write o65 files as SEQ files. 2020-10-15 12:54:01 +02:00
mrdudz
037a806036 also rename README to readme.txt in the Makefile :) 2020-10-04 17:20:40 +02:00
Oliver Schmidt
fd208fdf0b - Added support for calling subdir Makefiles for the make targets 'samples' and 'clean'.
- Adjusted the 'tutorial' Makefile to actually work as expected.

Note: The 'disasm' and 'geos' Makefiles don't seem to work so they are not called as of now.
2020-10-03 19:35:23 +02:00
Greg King
410e4502ee Added a 160x192x2 TGI (graphics) driver to the VIC-20 library.
The driver requires a special linker configuration: "vic20-tgi.cfg".
The VIC-20 computer needs at least 8K of expansion RAM!

"tgidemo.c" needed to be adjusted because the VIC-20's vertical (y) range is greater than its horizontal (x) range -- the opposite of most other platforms.  Also, the circle demo would jam on the VIC-20.
2020-07-08 05:55:30 -04:00
Dirk Jagdmann
c15f4975d0 fix the clean: target to remove any disk images. 2020-03-30 21:19:12 +02:00
Fabrizio Caruso
b051c913e9 Add supervisionhello in samples/Makefile 2019-10-09 17:01:02 +02:00
Oliver Schmidt
9be25dab9c Minor URL update. 2019-07-15 12:29:25 +02:00
Oliver Schmidt
0576fe51e7 Minor clarification. 2019-04-04 17:13:09 +02:00
Oliver Schmidt
5daed49e97 Fixed typo. 2019-04-04 16:38:40 +02:00
Greg King
a6b04f6e97 Changed most "backticks" (grave accents) into apostrophes.
Quotations that are embraced by tick marks now look better, in most fonts.
2019-01-05 14:57:12 -05:00
Oliver Schmidt
535088fe73 Support --print-target-path with spaces.
Don't try this at home ;-))
2018-06-10 18:12:09 +02:00
Oliver Schmidt
9877042450 Use --print-target-path only as last resort.
--print-target-path may return a path with (escaped) spaces. We'll use that path with $(wildcard ...), that's fine. But then we use the outcome with $(foreach ...) and there things fail badly and there's nothing to do about it.

Therefore we a) try to avoid --print-target-path in the first place and b) explicitly bail out if we end up with spaces.
2018-06-08 18:58:36 +02:00
Greg King
5f6d024804 Made the samples Makefile be able to build the samples for targets other than the ones named explicitly in that file. 2018-04-14 18:10:11 -04:00
Oliver Schmidt
8e75906737 Switched Apple II output format to AppleSingle.
Although the primary target OS for the Apple II for sure isn't DOS 3.3 but ProDOS 8 the Apple II binary files contained a DOS 3.3 4-byte header. Recently I was made aware of the AppleSingle file format. That format is a much better way to transport Apple II meta data from the cc65 toolchain to the ProDOS 8 file system. Therefore I asked AppleCommander to support the AppleSingle file format. Now that there's an AppleCommander BETA with AppleSingle support it's the right time for this change.

I bumped version to 2.17 because of this from the perspective of Apple II users of course incompatible change.
2018-03-07 23:05:21 +01:00
Oliver Schmidt
5145235b97 Updated AppleCommander URL. 2018-02-01 21:46:56 +01:00
Pascal de Bruijn
19f6ae1d54 make: change uppercase prefix var 2017-07-22 16:38:50 +02:00
Pascal de Bruijn
64581b65b0 samples: install to subdirectory 2017-07-22 16:33:42 +02:00
Greg King
acb7c61302 Removed a pointless cc65 command-line option from the samples makefile.
"-Oi --codesize 500" is the same as "-O --codesize 200 --codesize 500".  That first "--codesize" is replaced by the second one.  Don't set it twice.
2017-03-10 08:47:48 -05:00
Christian Groessler
ccdbb2b0e6 Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c.
mouse-test.c can be use to test all available mouse drivers for a given target.
Currently supported targets are Atari, C64, and C128.
To avoid confusion, rename samples/mousetest.c to mousedemo.c.
2017-02-13 22:48:34 +01:00
Florent Flament
c1aac0de0e Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
Oliver Schmidt
22d1f1da1b Minor style fix. 2016-08-10 11:38:11 +02:00
Greg King
4014783275 Made the samples Makefile run cl65 only when we want a disk image.
That change avoids an error message when we "make clean" from the top-level make-file (it removes the tools before it cleans the samples).
2016-07-03 02:23:59 -04:00
Joni Lapilainen
ab10bd4014 Fix typo in samples makefile 2016-06-23 15:46:09 +03:00
Oliver Schmidt
c9e9679a06 Improved doc and samples default target.
The 'all' target deliberately doesn't build the doc nor the samples. But that doesn't mean that the Makefiles in the 'doc' and 'samples' directories must default to the (empty) 'all' target.
2016-06-19 18:55:00 +02:00
Oliver Schmidt
66561c23c1 Made Makefile actually work.
Supported target systems:
* c64 (default)
* apple2
* apple2enh
* atari
* atarixl
2016-06-19 01:22:59 +02:00
Oliver Schmidt
9f01392922 Write overlays to d64 image. 2016-06-02 20:49:10 +02:00
Oliver Schmidt
d653054d98 Allow usage of C1541 environment variable. 2016-06-01 23:48:09 +02:00
Oliver Schmidt
24256256fb Removed shell for-loop.
Just a few of the many reasons why shell for-loops have no place in (GNUmake) Makefiles:
* They don't conform to https://www.gnu.org/software/make/manual/html_node/Utilities-in-Makefiles.html
* They break Windows builds for sure
* They don't fit to make's approach of working with sets
* They break make parallelism
2016-06-01 23:47:02 +02:00