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

201 Commits

Author SHA1 Message Date
Christian Groessler
da65866e24 Atari: add new function '_is_cmdline_dos()' and some other small changes.
- use this function instead of directly looking at _dos_type in the included
  targetutil and test programs
- fixes/improvements to the Atari runtime library regarding the recently
  changed _dos_type values
- libsrc/atari/targetutil/w2cas.c: exit if no filename was entered
- add documentation for the new function
2016-05-25 00:57:43 +02:00
Bob Andrews
25f4482641 Merge pull request #238 from mrdudz/gamate
Bit Corporation 'Gamate' support
2016-02-27 18:44:26 +01:00
Bob Andrews
3f72e59e93 Merge pull request #241 from blackystardust/c128-function-ram-emd
C128 function ram emd
2016-02-27 18:08:55 +01:00
silverdr
2bcdf32458 blackystardust pull request with post-review changes 2016-02-26 23:55:55 +01:00
mrdudz
5d3e7eeae3 tweaked soft env 2015-12-25 00:59:22 +01:00
Oliver Schmidt
d403c1e7f0 Merge pull request #240 from blackystardust/fix-c128-ram-rts
Fixed the c128 bank 1 emd.
2015-12-02 10:40:06 +01:00
mrdudz
8a499fdf4e fixup conio.c some more. also includes merge of upstream/master because git is retarded. 2015-12-02 00:13:32 +01:00
Oliver Schmidt
22f10b1459 Made conio program compatible with joystick-only target(s). 2015-12-01 23:06:51 +01:00
Marco van den Heuvel
2e2f19ba79 Finished adding c128 internal/external function ram emd's. 2015-11-30 20:14:45 -08:00
mrdudz
b851be1b23 naive music test 2015-11-30 19:16:28 +01:00
Marco van den Heuvel
3a01ba9509 Fixed emd driver names for atari-xl and apple2e. 2015-11-30 10:15:28 -08:00
Marco van den Heuvel
7df35cac94 Started on making c128 function ram emd's. 2015-11-30 09:53:30 -08:00
mrdudz
7496e669be fixed stuff according to Olivers review 2015-11-30 18:44:04 +01:00
Marco van den Heuvel
18208f4d2e Fixed the c128 ram (bank 1) emd. 2015-11-29 23:04:23 -08:00
mrdudz
b39a8b7a61 more cleanup 2015-11-29 20:04:10 +01:00
Marco van den Heuvel
97c9ed3273 Changed according to suggestions. 2015-11-29 10:50:22 -08:00
mrdudz
c636675521 moved cart header into seperate file, moved nmi stub into several file, tweaked linker config 2015-11-29 16:01:36 +01:00
Marco van den Heuvel
25ab2c60d5 Added a menu to em-test.c and a struct that holds the available emd's, this way the user that wants to test an emd can use the menu to select which one to test. 2015-11-28 22:06:32 -08:00
mrdudz
1893e24da9 updated 2015-11-29 01:24:01 +01:00
mrdudz
9fbf8a4299 conio and most other stuff working now 2015-11-29 01:14:59 +01:00
mrdudz
88e7b5776a some more fiddling 2015-11-22 19:02:47 +01:00
Greg King
3c8c62c6ab Fixed the ca65 Assembly-code variable ".paramcount".
Fixed how it's described in the ca65 document.
2015-11-17 14:21:40 -05:00
mrdudz
60285097e3 initial import of the gamate stuff 2015-11-14 13:15:29 +01:00
Greg King
8180ac20d3 Added code to handle the special case of a zero-length move.
Added more tests of memcpy() and memmove().
2015-11-02 17:09:45 -05:00
mrdudz
795a1a1b87 fix bordercolor in test 2015-10-14 17:34:29 +02:00
mrdudz
d4f88c8f71 update conio test 2015-10-14 17:24:42 +02:00
mrdudz
ffda2a3603 updated conio test 2015-10-13 04:14:23 +02:00
mrdudz
32397b9a2b print a space for 0x0a and 0x0d in the char matrix 2015-10-11 17:07:48 +02:00
mrdudz
70ed96d06d updated conio test 2015-10-09 23:39:55 +02:00
mrdudz
f39337a6ec added input test 2015-09-28 17:12:33 +02:00
mrdudz
d211eeaa41 fix conio test to work on vic20 screen 2015-09-28 15:29:14 +02:00
mrdudz
fba28f46f6 fix initial text- and background colors 2015-09-27 18:36:53 +02:00
mrdudz
9e08c53b01 initial commit of soft80 implementation 2015-09-27 18:12:25 +02:00
mrdudz
af2ba26c62 fix gregs complaints :) 2015-09-04 14:14:17 +02:00
mrdudz
57b8af1adc style fixes 2015-08-29 15:58:57 +02:00
mrdudz
0e29a0993f Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-20 18:42:04 +02:00
Greg King
dd7e55820c Added a test program for the special features of snprintf(). 2015-07-17 20:34:05 -04:00
mrdudz
e77060458a fixed joypad bits 2015-07-16 20:15:05 +02:00
mrdudz
21ef6b8510 fixed screensize, timertick, revers mode 2015-07-16 16:00:32 +02:00
mrdudz
1414411bba added waitvblank and fixed get_tv 2015-07-15 19:46:26 +02:00
mrdudz
83391ab67c some more tweaking, added docs page 2015-07-14 17:22:47 +02:00
mrdudz
515a61a302 added imports for conio init to conio functions, so the constructor will get linked and called automatically 2015-07-13 12:10:09 +02:00
mrdudz
9e1d39a409 more cleanup and fixing 2015-07-12 16:40:52 +02:00
mrdudz
891cb97b2f more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
mrdudz
1365afa845 more hacking 2014-11-30 11:20:57 +01:00
mrdudz
c0567eb8b7 add LF 2014-11-20 13:16:04 +01:00
mrdudz
6273d1cdc0 actually make TAS work :) 2014-11-20 02:47:33 +01:00
mrdudz
8cc71f135c added support for LAX#imm, all done 2014-11-20 00:18:12 +01:00
mrdudz
044aee7f8d added support for undocumented NOPs 2014-11-19 23:20:46 +01:00
mrdudz
2dfdf4dec7 added support for ane, sha, shs, shy, shx 2014-11-19 22:34:33 +01:00
mrdudz
202a2d677b starting branch for adding the missing undocumented opcodes 2014-11-19 22:04:32 +01: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
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