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

135 Commits

Author SHA1 Message Date
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