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

92 Commits

Author SHA1 Message Date
Greg King
dd7e55820c Added a test program for the special features of snprintf(). 2015-07-17 20:34:05 -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
Christian Groessler
939a5ccbc2 fix last change 2014-06-02 08:41:35 +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
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
Greg King
2cc26e6e23 More conforming to the cc65 project's apparent writing style. 2014-05-23 16:52:02 -04:00
Greg King
a92f51fea5 Conformed to the cc65 project's coding style. 2014-05-23 00:35:19 -04:00
Greg King
0c1d80401b Added an attribution. 2014-05-22 13:42:15 -04:00
Greg King
0ec8c8cea7 Added a quoted-token parsing function. 2014-05-20 16:33:16 -04:00
Oliver Schmidt
b92630142f Harmonized usage of "KB" and "cc65". 2014-03-30 22:10:37 +02:00
Christian Groessler
932748e6ca remove debug code 2013-12-06 20:53:49 +01:00
Christian Groessler
074136826a add serial driver for Atari, still contains much debug code 2013-12-06 20:53:49 +01:00
Christian Groessler
c6e6baab7d add testprogram for _sys() function on Atari 2013-09-17 22:35:29 +02:00
Christian Groessler
bd2b2e0f7d Fix last change: Stack check for all CC65 targets. Enable subdirectories on Apple 2. 2013-09-12 13:04:55 +02:00
Christian Groessler
d488272357 testcode/lib/tinyshell.c: Enable SP check only for CC65
targets. Enable 'cls' command only for Atari. Enable subdirectory
commands only for Atari and non-CC65 targets.
2013-09-12 12:32:59 +02:00
Christian Groessler
619de8b314 testcode/lib/tinyshell.c: fix error message 2013-09-12 00:16:29 +02:00
Christian Groessler
39e5bd0c18 testcode/lib/tinyshell.c: add 'verbose' and 'cls' commands; add SP check 2013-09-12 00:06:42 +02:00
Christian Groessler
06162498a6 em-test.c: add support for Atari 2013-08-27 22:02:57 +02:00
Oliver Schmidt
bc992e0398 Merge pull request #31 from greg-king5/cbm-chain
Commodore exec() function
2013-08-26 23:50:34 -07:00
Christian Groessler
887ba4d501 remove warning about missing return value; fix typo 2013-08-26 12:18:24 +02:00
Greg King
2d66c27462 Added test programs for the exec() function. 2013-08-25 00:49:03 -04:00
Oliver Schmidt
d242afdf7e Added sprintf() test contributed by Ullrich von Bassewitz.
Comment from the author:

Some may remember that there was a problem with printf reported a long time
ago. I got curious and over the weekend, I wrote a program to test printf. Or
better: The underlying formatting code, which is used for the whole printf()
family of functions including cprintf and sprintf.

The result is what made me say "oops": The program tests 377 different
conversions. The cc65 printf implementation fails in 144 cases. In 31 of these
cases, it fails so badly that it outputs screens of garbage, or even crashes
the machine, so I had to disable these tests to proceed.

Please note that you can compile the code with gcc for x86, but it will show
failures. This is because the expected results are hardcoded and the integer
sizes of gcc are different, so the conversion results won't match the ones
expected in the code.
2013-07-27 17:21:07 +02:00
Christian Groessler
1baca81341 add "tinyshell" test program for file operations 2013-07-24 15:05:25 +02:00
Oliver Schmidt
83280e1ee2 Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__. 2013-06-17 21:34:08 +02:00
Oliver Schmidt
98c47d1877 Introduced target 'atarixl'.
The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.

Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
2013-05-28 21:56:37 +02:00
Oliver Schmidt
85885001b1 Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
Oliver Schmidt
815854c514 Removed unmaintained Makefile and file lists. 2013-04-28 22:50:09 +02:00
uz
640460deb5 Fixed problems reported by Greg King.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5819 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-06 20:36:35 +00:00
uz
18f22506ba Added a test program to test the 16 bit shift ops.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5782 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-12 21:11:21 +00:00
uz
e92356cb36 Added the test program for the POSIX directory routines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-06 18:31:58 +00:00
cpg
d8dd221f35 change my email addr from cpg@aladdin.de to chris@groessler.org
git-svn-id: svn://svn.cc65.org/cc65/trunk@4977 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-26 22:15:24 +00:00
uz
57bd3bb346 Added a test program for division and modulo operation.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4906 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-11 17:19:16 +00:00
uz
3afb4e4e94 Added getopt. The implementation is based on a public domain source,
originally written by Henry Spencer and supplied by Harald Arnesen.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4737 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-10 11:28:02 +00:00
ol.sc
9c49513d80 Added support for several machines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4547 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-01-08 23:37:25 +00:00
ol.sc
b94dfc9025 Added support for the Apple2 machines.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4525 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:16:38 +00:00
uz
dc977737aa Patch contributed by Greg King:
1. Implements a real progress bar.
2. Decomposes the timer's result.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4496 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-02 15:15:49 +00:00
cpg
644d44bcae updated with defdev.c and scrcode.s
git-svn-id: svn://svn.cc65.org/cc65/trunk@4494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:22:03 +00:00
cpg
38a061e439 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-26 18:19:35 +00:00
cpg
001b557ff6 include unistd.h -- fix by Daniel Serpell
git-svn-id: svn://svn.cc65.org/cc65/trunk@4490 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-25 17:59:55 +00:00
uz
b0b8503230 Fixed a comment
git-svn-id: svn://svn.cc65.org/cc65/trunk@4221 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:09:50 +00:00
uz
a76c758c54 Added a test for strtoul().
git-svn-id: svn://svn.cc65.org/cc65/trunk@4220 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-24 17:09:33 +00:00
uz
c6c3fc4738 Testcode for strtol and atoi.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4176 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-09-15 20:47:03 +00:00
uz
b5a44f9542 Added a multiplication test program.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4035 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-17 20:37:36 +00:00
uz
2edab5f201 Test program for the rename() function. Supplied by Greg King - thanks!
git-svn-id: svn://svn.cc65.org/cc65/trunk@3946 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-22 15:42:40 +00:00
cpg
9082762519 initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3926 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-02-10 19:16:52 +00:00
uz
368e881288 The NES must have the joystick driver linked in. Change by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3905 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-01-06 17:44:20 +00:00
uz
53352d8a56 Checked in a small test routine for the serial drivers. It has been lying
around for some time here.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3887 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-08-14 19:17:34 +00:00
cuz
c7ddd12bba Oliver Schmidt added test output for second fire button.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3815 b7a2c559-68d2-44c3-8de9-860c34a00d81
2008-03-16 09:27:20 +00:00
cuz
245fc0b43f Remove the driver before exiting
git-svn-id: svn://svn.cc65.org/cc65/trunk@3655 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-11-20 13:31:42 +00:00
cpg
98f4a339ba initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@3604 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-29 22:34:14 +00:00