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

100 Commits

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