Commit Graph

293 Commits

Author SHA1 Message Date
Christian Groessler 58484449b4 remove TABs 2019-02-05 23:27:52 +01: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 e235ac2a0e Added a preprocessor guard to tgidemo.c that avoids a compiler warning.
DoWarning() is compiled only if it will be used.
2018-04-17 16:53:10 -04: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
Marco van den Heuvel b0ef67d14c Added GEOS 1.3 and 1.5 detection. 2018-02-15 15:24:58 -08:00
Marco van den Heuvel e17b9177de Fixed GeOS -> GEOS and added newline to geossym2.inc. 2018-02-14 10:22:10 -08:00
Marco van den Heuvel d93f84f4bc Improved GeOS version detection. 2018-02-13 19:19:40 -08:00
Oliver Schmidt 5145235b97 Updated AppleCommander URL. 2018-02-01 21:46:56 +01:00
Oliver Schmidt ab54f92024 Make use of C library waitvsync(). 2017-11-21 23:03:50 +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 dfbd96f09e Make use of doesclrscrafterexit(). 2016-10-15 15:47:25 +02: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
Greg King 5d9f4dc89d Made the overlay demo programs compile for CBM targets again.
<conio.h> includes target-specific headers; so, we didn't bother to include <cbm.h> where it is needed.  But, '#include <conio.h>' was removed from some files; so now, we must include <cbm.h> explicitly.
2016-06-19 17:41:18 -04: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 2ef43e425a Adjusted to recent change. 2016-06-19 01:39:27 +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 64c10aa2fe Minor simplification. 2016-06-18 23:57:18 +02:00
Oliver Schmidt 9bc096d9b0 Make use of doesclrscrafterexit(). 2016-06-18 23:57:17 +02:00
Oliver Schmidt 271b65aa70 Added hint on how to quit program. 2016-06-12 23:48:19 +02:00
Oliver Schmidt 98973ee901 Avoid warnings on monochrom targets (and remove unnecessary code). 2016-06-12 23:30:29 +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
Oliver Schmidt 38778cdeb6 Don't cleanup files "just in case".
The build doesn't create *.lbl files so we're not deleting *.lbl files.
2016-06-01 23:04:46 +02:00
Oliver Schmidt 1ab725e526 Don't hide build commands.
The samples Makefile serves educational purposes. From that perspective it's counterproductive to hide the actual build commands. Apart fom that it becomes visible if an installed cc65 is used to build the samples.
2016-06-01 23:00:37 +02:00
Oliver Schmidt 506e44fb5d Corrected cleanup semantics.
There's no zap goal in cc65 Makefiles.
2016-06-01 22:50:42 +02:00
Oliver Schmidt ec06d162bd Fixed clean goal on Windows.
Now that the clean goal of the samples Makefile is part of the global clean goal it should work on Windows!

BTW: Ideally the whole samples Makefile should work on Windows ;-))
2016-06-01 22:14:30 +02:00
Oliver Schmidt d78b44f8c6 Adjusted to the cc65 Makefile style.
The cc65 Makefiles have a single .PHONY target. It serves as an overview of the "interesting" goals supported by the Makfile.
2016-06-01 21:08:47 +02:00
Oliver Schmidt 6fca6897cd Removed tab characters.
The cc65 code base uses tab character only for make recipes.
2016-06-01 20:59:33 +02:00
Oliver Schmidt d455263e66 Don'r presume that the C64 is the only target.
Other targets have disks too and if at some point some one is interested enough to add support for disk creation for other targets too then 'disk' is no good goal name for a C64 disk.
2016-06-01 19:46:02 +02:00
Oliver Schmidt 3c8fd588f6 Don't fiddle with foreign files.
No cc65 tool creates *~ files so we don't cleanup *~ files. If some other tool (like an editor) creates *~ files it's up to the user - and only him - to decide when those files are to be deleted !
2016-06-01 19:41:51 +02:00
Patrycjusz R. Łogiewa b7e7d1496b corrected all samples and samples.d64 targets 2016-06-01 16:37:05 +02:00
Patrycjusz R. Łogiewa 4dcfc036c8 samples zip and install targets moved into samples/Makefile as agreed 2016-05-30 17:42:01 +02:00
Patrycjusz R. Łogiewa ba10c74a7a directory structure changed from driver-centric to target-centric 2016-05-16 19:49:43 +02:00
mrdudz 5bf8523dcd fix hello.c 2015-11-30 19:48:10 +01:00
Greg King f94945308f Added missing parentheses.
A function call had looked like a function pointer (which caused an incompatible comparison).
2015-10-17 12:09:06 -04:00
Oliver Schmidt 575f859a03 Keep low level VIC sprite stuff out of user code. 2015-10-09 18:33:35 +02:00
mrdudz 0e29a0993f Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-20 18:42:04 +02:00
Oliver Schmidt 1d5ed2e2a7 Merge pull request #179 from greg-king5/overlay
Add overlay-samples make-rules.
2015-07-20 18:00:56 +02:00
mrdudz 4afcfb3498 fixed hello.c for pce 2015-07-20 16:03:03 +02:00
Oliver Schmidt 1072f7d6f7 Made hello program compatible with joystick-only target(s). 2015-07-20 07:46:18 +02:00
Greg King 25cf239d80 Added make rules that build the overlay sample programs.
Fixes half of bug issue 178 (on GitHub).
2015-07-16 15:31:35 -04: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
Christian Groessler 29671f5f06 don't define DYN_DRV for targets which don't predefine it 2014-06-01 19:18:57 +02:00
Oliver Schmidt 09df0a1175 Added sample descriptions. 2014-04-28 22:14:27 +02:00
Oliver Schmidt c6ee9ac034 Classified tgi_imulround() as part of TGI API. 2014-03-27 19:31:18 +01:00
Christian Groessler 329aaea549 make ld65 invocation silent again 2014-03-24 12:23:24 +01:00
Christian Groessler d97a46c397 Simplify to use less 'if's. Add missing link options for Atari TGI
programs. Put '--start-addr' at beginning of ld65 command line.
2014-03-22 12:04:50 +01:00
Greg King 34c23c4c7d Made mousetest.c know that the CBM510 has a lightpen driver. 2013-09-09 17:09:33 -04:00
Greg King 004db51960 Made mousetest work better with CBM510s. 2013-08-23 03:12:16 -04:00
Greg King 3b544613d2 Moved the lightpen names from <mouse.h> to a new <pen.h>.
Renamed the adjuster pointer.
2013-07-25 13:32:40 -04:00
Greg King a555b5f6a5 Merge branch 'master' into lightpen 2013-07-01 09:25:02 -04:00
Greg King ecef5551a8 Merged testcode/lib/pen-test.c into the mousetest.c sample program.
A command-line option can force mousetest to be built with a statically linked
driver.
2013-06-27 10:01:47 -04:00
Greg King 88c102b993 Renamed the mouse sample program because it also tests the mouse library. 2013-06-24 06:37:28 -04:00
Oliver Schmidt c4c67b9205 Fixed comment. 2013-06-21 12:36:37 +02:00
Oliver Schmidt 578d2fe25d Fixed comment. 2013-06-21 13:35:35 +03:00
Oliver Schmidt 83280e1ee2 Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__. 2013-06-17 21:34:08 +02:00
Oliver Schmidt 7572834ebf Use cbm_load() to load overlays on CBMs. 2013-05-29 01:12:24 +02:00
Oliver Schmidt 85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
ol.sc ca2ba14bbe Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 22:01:51 +00:00
ol.sc 895779d612 Consistently use conio (instead of mixing with stdio).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5912 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 21:10:24 +00:00
ol.sc 247223f3ae Use array type declaration to avoid &-operator.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5911 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 20:31:23 +00:00
ol.sc e7d5f26863 Use array type declaration to avoid &-operator.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5910 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 20:23:50 +00:00
ol.sc ce47ebbbf4 Show cursor on entering data.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5875 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 19:52:09 +00:00
ol.sc 658b765bfe Replaced static array with realloc'ed memory block - like done in enumdevdir.c.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5870 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 19:24:27 +00:00
ol.sc 170c59e4c2 Added enumdevdir showcasing the recently introduced device functions (together with directory access).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5851 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-15 18:52:40 +00:00
ol.sc 976c94b8ca Minor style adjustment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5850 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-14 19:34:20 +00:00
ol.sc 61d4b6b03f Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-11 18:22:49 +00:00
ol.sc 1e3197691a Updated to include the C128 and the Atari as targets for the multidemo sample.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5833 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-30 15:00:25 +00:00
ol.sc 2ee45968c4 Adjusted according to the recently updated readdir() doc that now says:
"On several platforms, namely the CBMs and the Atari, the disk drives get confused when opening/closing files between directory reads. So for example a program that reads the list of files on a disk, and after each call to readdir, opens the file to process it, will fail.
Possible solutions are reading the directory into memory before processing the file list, or to reset the directory by seeking to the correct position after opening/closing a file:
        seekdir (DIR, telldir (DIR));
Platforms known to work without problems are: Apple."

git-svn-id: svn://svn.cc65.org/cc65/trunk@5832 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-30 14:58:31 +00:00
ol.sc 3ceeb8c665 Minor change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5815 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-04 09:00:43 +00:00
ol.sc ec4a8d81bd Added 'multidemo' to the samples README.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5807 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-08-16 19:20:53 +00:00
ol.sc 2d97630d03 Added somewhat more complex demo. It looks for emdrivers in the current directory and tries to load them until one loads successfully. In that case it "streams" its overlay files into extended memory. Finally it loads its overlays from extended memory (or disk) and calls into them.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5806 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-08-08 21:23:18 +00:00
ol.sc 3ce61b47a9 Retrofitted comments from GEOS overlay demo to regular overlay demo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5789 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-19 12:25:04 +00:00
ol.sc 22c1376dd1 Added section on 'overlaydemo'.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5757 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-03 19:55:03 +00:00
ol.sc 9b56f8086b Made overlaydemo compatible with the Atari:
- 8.3 overlay filenames
- exit only after keypress

git-svn-id: svn://svn.cc65.org/cc65/trunk@5740 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 21:15:39 +00:00
ol.sc cc5fd1dd72 Replaced (broken) assert() with #error and added a source bitmap.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5700 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-10 17:52:23 +00:00
ol.sc a9d1d51f56 Added demo applicaion showcasing sp65 in combination with GEOS.
TODO: Fix the assert() calls.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5699 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-10 14:49:13 +00:00
ol.sc f3cc7a4a32 Minor change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5697 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-10 12:20:50 +00:00
ol.sc 3cb0cce00d Added secondary linker config for C64 overlays (incl. demo program).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5679 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-03 16:16:11 +00:00
ol.sc 026e6995d0 Added article.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 22:19:28 +00:00
ol.sc 720d11e59f Replaced hardcoded constants with macros.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5570 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 21:57:45 +00:00
ol.sc c136a48eb8 Replaced hardcoded constants with macros.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5569 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-28 21:49:24 +00:00
ol.sc c3e5aa643b Learned the hard way that even meant-to-be-simple sample programs should contain some error checking.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5546 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-22 23:29:52 +00:00
ol.sc c3205877cd Normalized coding style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-09 12:32:53 +00:00
ol.sc ebc519ee0e Added a sample demonstrating how to create a VLIR overlay program.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5376 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-03 21:55:34 +00:00
ol.sc cd291d3eb4 Normalized style of fragment-type GEOS samples.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5360 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-02 11:12:38 +00:00
ol.sc 64ac28c102 Added GEOS Kernal call showing what the struct is for - like the other fragment-type GEOS samples do.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5359 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-02 11:11:19 +00:00
ol.sc 6dc42b30a3 Unified GEOS sample resource file names.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5326 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-27 16:29:30 +00:00
ol.sc 2f646eb01a Renamed to follow .grc naming scheme.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5320 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-27 01:30:41 +00:00
ol.sc 6ff1d8314d Moved GEOS VLIR assembler sample from 'samples' to 'testcode' because:
- It relies on include files which are not part of the cc65 distribution (but only present in the cc65 source tree).
- An upcoming GEOS VLIR C sample will obsolete it - as sample.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-27 00:25:17 +00:00
ol.sc 2552a7c117 Cache aspect ratio like already done with resolution.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5012 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 21:38:04 +00:00
uz a507605a89 New TGI routines tgi_getaspectratio/tgi_setaspectratio.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 18:40:38 +00:00
ol.sc 9bf3446060 A first small step towards aspect ratio awareness.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5003 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-30 13:12:53 +00:00
ol.sc 2f3aa1d5d4 Use TGI colors.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4990 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:59:45 +00:00
uz e61173fe9e Reorder -o and -t on the linker command line.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4885 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-04 18:09:50 +00:00
ol.sc e5c0077b88 Added explicit tgi_clear() after tgi_init() now that this isn't done by tgi_init() anymore.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4561 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-01-26 20:12:35 +00:00
uz 7b8fbb31da Rewrote the sinus display using the new cc65_sin function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4403 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-30 14:03:21 +00:00
uz ed2767e65f Changed names of the pragmas to be identical to the corresponding command line
options. This should make use easier. The old names of the pragmas are still
available but will cause warnings.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4364 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-14 12:55:15 +00:00
ol.sc 82c312bd72 Updated (and sorted) sample program info.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:28:42 +00:00
ol.sc 2b7e9ecebc Made compatible with the Apple ][ machines, but without timing (like mandelbrot).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:17:39 +00:00
ol.sc a84229dcaf Leveraged tgi_stddrv (like tgidemo).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:10:26 +00:00
ol.sc cb5ce7da5a Adjusted error message to recent change.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:07:10 +00:00
ol.sc c45442692c Fixed messed up line endings.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-02 20:15:14 +00:00
uz 3c6e8087f1 Improved Makefile by Greg King.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4258 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-28 19:22:02 +00:00
ol.sc 72f1b11545 Made sure the bounding box coordinates stay in reasonable ranges.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4250 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 22:33:12 +00:00
uz 717840962b Add mouse_setbox/mouse_getbox to the demo.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4243 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-27 11:24:43 +00:00
uz 7de61e351c Define a standard driver and mode for tgi graphics and use it in the sample
program. The standard driver and mode is the first one in the tgi_mode_table.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4153 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 18:59:37 +00:00
uz 8870eda779 Use mouse_stddrv instead of a platform dependent #define.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4150 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-11 16:55:20 +00:00
uz 2a2c0fbaf1 Increase count to 16384. Simplify complex expression.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4064 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-28 17:21:58 +00:00
uz 8216bf1d6a Force an import of the special symbol __STARTUP__ in the C compiler when
main() is encountered. Define this symbol in the startup code. This will
automatically force linking of the startup code which can then reside inside
the standard library as any other object file.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-31 12:05:42 +00:00
uz 043acb1d98 Calculate time in seconds, not ticks. Implement pager output for primes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3986 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-07-30 19:25:59 +00:00
uz 5d56159421 Support for the Plus/4 by john "graham" selck.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3930 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-11 17:37:18 +00:00
cpg b169d2ad1e fix typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@3914 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-25 21:22:23 +00:00
uz 4812feb44b git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
cuz feae688346 Oliver Schmidt updated the graphics drivers and part of the C library for the
Apple machines.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3816 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:37:22 +00:00
cuz aa4df9f98b Fixed the name of the assembler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3800 b7a2c559-68d2-44c3-8de9-860c34a00d81
2007-08-28 19:54:48 +00:00
cuz 889fd1ecbd The Apple2 has only upper case chars.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3722 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-07 17:49:38 +00:00
cuz 685235795c Apple 2 mouse driver and other stuff from Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3717 b7a2c559-68d2-44c3-8de9-860c34a00d81
2006-04-06 19:51:37 +00:00
cuz d2d599e345 Small cosmetic fix
git-svn-id: svn://svn.cc65.org/cc65/trunk@3669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-22 23:14:19 +00:00
cuz 65c580f864 Added changes from Oliver Schmidt so the graphics oriented demo programs
can also be run on apple machines. Changed the makefile to account for the
special start address needed for these programs.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-20 17:49:44 +00:00
cuz 27f714c45a Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3659 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-20 17:26:05 +00:00
cuz aa577a7a1d New diodemo version by Oliver; update of the README file
git-svn-id: svn://svn.cc65.org/cc65/trunk@3619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-09-02 19:47:46 +00:00
cuz 5f31938c46 Slightly improved version with more comments
git-svn-id: svn://svn.cc65.org/cc65/trunk@3448 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-04-01 10:13:09 +00:00
cuz 16e88a489b New diodemo sample by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3440 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-03-31 07:28:14 +00:00
cuz 4e81c529d9 Update the mouse demo to run with the new mouse API that uses loadable
drivers. Remove Atari support because there are no loadable drivers for
the Atari.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:54:30 +00:00
cuz d136a3409f Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:52:40 +00:00
cuz f9abc154be Autodetect the location of the compiler and tools.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:33:30 +00:00
cuz 3403d6730f Added the new mandelbrot sample
git-svn-id: svn://svn.cc65.org/cc65/trunk@3228 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-08 20:10:58 +00:00
cuz ff3f7da425 Patches from Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3121 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-06-13 18:28:09 +00:00
cuz c39022729d Some improvements in font generation
git-svn-id: svn://svn.cc65.org/cc65/trunk@3055 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-05-31 15:17:40 +00:00
izydorst 9c2e03466d - a new sample program (GetID is a Hello World in GEOS :)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2900 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-03-06 13:35:29 +00:00
cuz fc6c0a4615 Print a banner
git-svn-id: svn://svn.cc65.org/cc65/trunk@2808 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-12-21 12:51:59 +00:00
cuz f174cda3d0 Try to be more resolution independent
git-svn-id: svn://svn.cc65.org/cc65/trunk@2649 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-11-12 16:32:25 +00:00
cuz 0f9f3d6abd Added new sample gunzip65 from Piotr
git-svn-id: svn://svn.cc65.org/cc65/trunk@2474 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-10-06 10:54:46 +00:00
cuz 3ef773058d Changed rm -f to $(RM)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2384 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:51:44 +00:00
cuz 65e0bec349 Fixed include paths
git-svn-id: svn://svn.cc65.org/cc65/trunk@2383 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-20 11:48:49 +00:00
izydorst fa084ef304 system vector interception fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2339 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 23:17:11 +00:00
izydorst 247b3953bd small demo of system vectors interception
git-svn-id: svn://svn.cc65.org/cc65/trunk@2338 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-15 23:07:20 +00:00
cuz 158d5a080f Patch from Greg
git-svn-id: svn://svn.cc65.org/cc65/trunk@2191 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 11:39:02 +00:00