mrdudz
1abce3a2a1
rename all waitvblank() to waitvsync()
2017-07-17 23:15:05 +02:00
Oliver Schmidt
233dd5062a
Merge pull request #389 from IrgendwerA8/stringimprovements
...
Optimization of string functions (size & speed).
2017-04-04 15:39:37 +02:00
Greg King
750a527100
Made C's sizeof operator work with initialized void variables.
...
Added regression tests that check cc65's handling of void variables.
2017-03-12 14:41:32 -04:00
Christian Groessler
8a81f9c0c8
Fix line endings (CRLF -> LF) on all affected files.
2017-03-10 11:21:14 +01:00
IrgendwerA8
81115aa826
Added further optimizations and unit tests.
2017-03-05 02:09:12 +01:00
IrgendwerA8
09de875330
Changed the location of unittest.h
2017-02-28 08:05:11 +01:00
IrgendwerA8
3d28f5ca90
Fixed indentation
2017-02-26 22:36:19 +01:00
IrgendwerA8
c240d42a9e
Added "strrchr" optimizaion a matching unit test and tiny unit test framework. (Documentation for that will follow later)
2017-02-26 20:03:05 +01:00
IrgendwerA8
6afcc370ed
Optimization of two string functions (size & speed).
2017-02-25 20:19:50 +01:00
Irgendwer
e5af45b913
Update displaylist.c
2017-02-24 11:21:56 +01:00
IrgendwerA8
ae7fa8f2ea
Improved display list instruction definition for more comfortable use within void data definition.
2017-02-24 00:10:02 +01:00
Christian Groessler
e6530d68dd
Fix joystick driver. Add interruptor support.
...
Note that the joystick driver doesn't support combined movements (like
left/up or right/down). This should be fixed.
2017-02-15 15:45:49 +01:00
Christian Groessler
ccdbb2b0e6
Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c.
...
mouse-test.c can be use to test all available mouse drivers for a given target.
Currently supported targets are Atari, C64, and C128.
To avoid confusion, rename samples/mousetest.c to mousedemo.c.
2017-02-13 22:48:34 +01:00
Oliver Schmidt
05279f8302
Merge pull request #345 from SvOlli/release
...
migrated opcodes tests for assembler from testcode to test...
2016-09-07 10:11:47 +02:00
Sven Oliver Moll
89e2bf89cb
migrated opcodes tests for assembler from testcode to test for inclusion on automated testing
2016-09-03 16:52:23 +02:00
Oliver Schmidt
9c38521ea8
Merge pull request #343 from SvOlli/release
...
Add 4510 support for C65/C64DX
2016-08-31 22:05:49 +02:00
Sven Oliver Moll
0538184699
Add 4510 support for C65/C64DX
2016-08-29 10:45:18 +02:00
IrgendwerA8
024f66a84f
Allow use of different charmaps on Atari target
2016-08-19 17:27:41 +02:00
Christian Groessler
d0faf471b8
Some improvements to Atari exec() after review.
2016-06-14 20:44:57 +02:00
Christian Groessler
94ba9575ec
Implement exec() for Atari XDOS.
...
- Adds new ENOEXEC error code, also used by Apple2 targets.
- Maximum command line length is 40, incl. program name. This is
an XDOS restriction.
- testcode/lib/tinyshell.c has been extended to be able to run
programs.
2016-06-13 20:40:01 +02:00
Christian Groessler
346d88a6a7
Add issues from pull request #307 .
2016-06-07 12:07:38 +02:00
Christian Groessler
c7874b9f60
Add Atari version of of doesclrscrafterexit().
...
- Update documentation.
- Update atari.h and apple2.h header files.
- Adapt Atari test/target programs.
- Fix a typo in "div" entry in funcref.sgml.
2016-06-07 00:42:51 +02:00
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