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

91 Commits

Author SHA1 Message Date
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
ol.sc
ed92935ef7 Removed '.c65' from include file name.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5509 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-09 09:13:34 +00:00
ol.sc
68589fc963 Adjusted resource file to recent syntax changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5378 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-04 15:24:18 +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
b9b6657c29 Adjusted language and TABs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-26 23:50:55 +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
cpg
f20dc7606e _graphmode_used doesn't exist anymore
git-svn-id: svn://svn.cc65.org/cc65/trunk@3571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-08-07 16:02:06 +00:00
cuz
4305e05549 lseek is now in unistd.h
git-svn-id: svn://svn.cc65.org/cc65/trunk@3495 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-05-04 10:09:52 +00:00
cuz
244aac991b One more example from the C standard
git-svn-id: svn://svn.cc65.org/cc65/trunk@3395 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-19 22:21:23 +00:00
cuz
bc5d046503 Fixed tab removal which somehow went wrong
git-svn-id: svn://svn.cc65.org/cc65/trunk@3382 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:38:30 +00:00
cuz
4add479e30 Added scanf test program contributed by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@3380 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-02-14 09:24:08 +00:00
cuz
9a6a7bdd24 Test file for illegal 6502 opcodes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3362 b7a2c559-68d2-44c3-8de9-860c34a00d81
2005-01-09 19:07:45 +00:00