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

6864 Commits

Author SHA1 Message Date
mrdudz
996c7b493e moved all notes into regular documentation 2015-07-16 21:39:13 +02:00
Greg King
25cf239d80 Added make rules that build the overlay sample programs.
Fixes half of bug issue 178 (on GitHub).
2015-07-16 15:31:35 -04:00
mrdudz
e77060458a fixed joypad bits 2015-07-16 20:15:05 +02:00
mrdudz
3119be2a1e added some cbm-like gfx chars to draw lines and boxes 2015-07-16 17:33:00 +02:00
mrdudz
d229d51be5 make sure clocktick starts at zero 2015-07-16 16:54:40 +02:00
mrdudz
21d7729ad1 Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-16 16:46:24 +02:00
Oliver Schmidt
71530f3f5d Merge branch 'mrdudz-pointer' 2015-07-16 16:05:50 +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
c3d45e4c47 fixed issues found by gregg 2015-07-15 13:18:12 +02:00
Oliver Schmidt
d3eebc8fcf Merge branch 'pointer' of https://github.com/mrdudz/cc65 into mrdudz-pointer 2015-07-15 12:24:09 +02:00
mrdudz
ac27ed301a _tickcount -> tickcount 2015-07-14 19:55:41 +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
Oliver Schmidt
a79b17515e Merge pull request #158 from Movax12/definedmacro
Added .DEFINEDMACRO psuedo function
2015-07-12 13:32:03 +02:00
mrdudz
21999b081f simple conio test works again 2015-07-12 10:32:55 +02:00
JT
55adf03bdf Move FuncIsMnemonic 2015-07-11 19:09:42 -04:00
Oliver Schmidt
b7b77a75f8 Merge pull request #174 from mrdudz/testsuite
use rm -r instead of rmdir, and use -f for rm
2015-07-11 15:37:56 +02:00
mrdudz
877fd532c2 Merge remote-tracking branch 'upstream/master' into pcenginetarget 2015-07-11 13:05:26 +02:00
mrdudz
5ceffa1f70 Merge remote-tracking branch 'upstream/master' into testsuite 2015-07-11 12:44:06 +02:00
Oliver Schmidt
50b0536222 Ignore return values only with CMD.EXE MkII.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-11 00:01:39 +02:00
Oliver Schmidt
992f0f03c5 Ignore return values only with CMD.EXE.
CMD.EXE considers file deletion commands not able to delete anything as there's nothing to delete as failed. Of course we don't want to bail out of the Makefile because of missing files to delete. Therefore we ignore the return values with '-'. This change limits this workaround to CMD.EXE.
2015-07-10 22:39:53 +02:00
mrdudz
1380c68cf3 workaround for cmd.exe rmdir 2015-07-10 20:04:31 +02:00
mrdudz
12a3e6841c tests for illegal pointer operations that must always fail 2015-07-10 18:38:54 +02:00
mrdudz
6ab197f364 patch from Uz that makes some illegal operations on pointers error out 2015-07-10 14:27:49 +02:00
mrdudz
ad97b1b08e removed -f again, as that is the default. also removed "-" before the actual comments, which were the workaround previously 2015-07-10 11:11:41 +02:00
mrdudz
6970053023 use rm -r instead of rmdir, and use -f for rm, that makes subsequent runs of "make clean" not fail 2015-07-10 10:43:00 +02:00
Greg King
146daa1d0a Made some string output functions reject an invalid NULL buffer pointer. 2015-07-09 14:46:28 -04:00
Oliver Schmidt
bdb01212c2 Merge pull request #173 from mrdudz/testsuite3
two more tests
2015-07-09 18:46:07 +02:00
mrdudz
28d65d595d two more tests 2015-07-09 17:36:12 +02:00
Greg King
219905c6bc Fix two string output functions' handling of their buffer-size parameter.
That parameter's type is unsigned; but, the functions return an int.  If the size is too big for a signed integer, then return an error code.
If the size is zero, then don't write anything into a buffer (the buffer pointer may be NULL).  But, do format and count the arguments.
2015-07-09 10:43:45 -04:00
Oliver Schmidt
74074a20b2 Merge pull request #164 from greg-king5/testsuite
Adjust some new test programs.
2015-07-01 20:58:56 +02:00
Oliver Schmidt
2cf379eab7 Merge pull request #165 from greg-king5/array-pointer
Fix pointer-to-array indirection bug.
2015-07-01 20:54:15 +02:00
Greg King
ba03d28731 Removed some trailing whitespace; and, expanded a tab. 2015-07-01 10:09:11 -04:00
Greg King
8189339e7d Added special-case compiler code that handles a pointer-to-array dereference.
The type needs to change (to array); but, the address shouldn't be changed -- it already points to the first element.
Based on a bug analysis by Daniel Serpell.
2015-07-01 06:55:57 -04:00
Greg King
0e6008e9e6 Added a regression test for pointer-to-array dereferences. 2015-07-01 06:54:05 -04:00
Greg King
5d4900e179 Added comments that explain the unstable behavior of a test program. 2015-06-30 09:00:28 -04:00
Greg King
cd5935deb7 Fixed an uninitiated pointer. 2015-06-30 08:54:13 -04:00
Oliver Schmidt
2cdba854a1 Merge pull request #163 from mrdudz/testsuite2
added 3 more tests
2015-06-29 11:32:01 +02:00
mrdudz
18b2de1624 remove comment 2015-06-29 11:18:24 +02:00
mrdudz
5b1917d23f remove workaround for optimizer bug 2015-06-29 02:34:12 +02:00
mrdudz
72e4c10772 added 3 more test 2015-06-29 01:57:39 +02:00
JT
e7fca18798 Added .DEFINEDMACRO psuedo function
Fixed typo/fomatting

Formatting fix

Refactor the code to test for a macro

Remove .FEATURE requirement for .DEFINEDMACRO
2015-06-27 01:39:11 -04:00
Oliver Schmidt
d0e0b98b43 Revert "Equality problem (Ullrich von Bassewitz)".
Uz classifies his own fix as broken:

http://www.cc65.org/mailarchive/2015-01/11721.html

Although the original issue fixed seemed rather significant looking
back now the regression caused by the (broken) fix seems even more
significant :-(

(reverted from commit 55815ea10c)

======================================================================

Equality problem (Ullrich von Bassewitz)

Neil Stockbridge reported a problem with equality comparisons on
cc65.org's mailing list:

http://www.cc65.org/mailarchive/2014-10/11680.html

Uz provided a fix for it:

http://www.cc65.org/mailarchive/2014-10/11683.html

This pull request ask to add the fix to cc65 on github.
2015-06-27 01:09:20 +02:00
Oliver Schmidt
7bb09e916c Run the regression tests _before_ replacing the built binaries with Win32 cross-builds. 2015-06-27 00:43:41 +02:00
Oliver Schmidt
5a7ba692f5 Avoid "*** Recursive variable `RM' references itself (eventually)." 2015-06-27 00:33:24 +02:00
Oliver Schmidt
9c3c886da3 Added regression tests to Travis. 2015-06-27 00:04:51 +02:00
Oliver Schmidt
9bd11f161f Made test Makefiles work with CMD.EXE 2015-06-27 00:03:45 +02:00