]>
git.sur5r.net Git - cc65/log
Oliver Schmidt [Tue, 21 Mar 2017 10:21:48 +0000 (11:21 +0100)]
Merge pull request #407 from IrgendwerA8/sim65_fix
Fixed addressing error for TSB/TSR and enabled tests again.
IrgendwerA8 [Mon, 20 Mar 2017 20:53:07 +0000 (21:53 +0100)]
Fixed addressing error for TSB/TSR and enabled tests again.
Oliver Schmidt [Mon, 20 Mar 2017 10:34:06 +0000 (11:34 +0100)]
Merge pull request #402 from IrgendwerA8/runtime_improvements
few 6502 and some 65SC02 runtime optimizations
Oliver Schmidt [Mon, 20 Mar 2017 10:22:04 +0000 (11:22 +0100)]
Allow to control test Makefile output via QUIET (like libsrc).
IrgendwerA8 [Sun, 19 Mar 2017 19:51:54 +0000 (20:51 +0100)]
minor style changes
Oliver Schmidt [Sun, 19 Mar 2017 19:32:23 +0000 (20:32 +0100)]
Hide stdout of tests returning an exit code.
Now that we doubled our tests by running them for both 6502 and 65C02 Travis CI complains (again) about a too long build output. So let's reduce it by omitting the (useless) stdout of tests.
Oliver Schmidt [Sun, 19 Mar 2017 19:07:19 +0000 (20:07 +0100)]
Run test for the 65C02 code generator / runtime too.
Now that sim65's 65C02 support is actually functional we can run test for the 65C02 support in the compiler and the runtime.
We learn the hard way this is a good idea as there are tests failing when built with optimizations for the 65C02:
- val/compare7
- val/compare8
- val/compare9
- val/compare10
- val/or1
Oliver Schmidt [Sun, 19 Mar 2017 16:57:25 +0000 (17:57 +0100)]
Shortened test subdir names.
Oliver Schmidt [Sun, 19 Mar 2017 16:48:12 +0000 (17:48 +0100)]
Cleaned up test Makefiles.
Oliver Schmidt [Sat, 18 Mar 2017 22:38:05 +0000 (23:38 +0100)]
Merge pull request #405 from IrgendwerA8/65SC02_sim65_support
Added 65SC02 support for simulator.
IrgendwerA8 [Sat, 18 Mar 2017 21:52:13 +0000 (22:52 +0100)]
fixed curly brackets for single line scopes
Oliver Schmidt [Sat, 18 Mar 2017 19:57:12 +0000 (20:57 +0100)]
Removed top blank line.
IrgendwerA8 [Sat, 18 Mar 2017 19:27:41 +0000 (20:27 +0100)]
style changes
IrgendwerA8 [Sat, 18 Mar 2017 16:02:22 +0000 (17:02 +0100)]
Fixed bug in original sim65 implementation (reason for C&P error in last commit)
IrgendwerA8 [Sat, 18 Mar 2017 15:56:36 +0000 (16:56 +0100)]
additional fix for scrambled code (sorry)
IrgendwerA8 [Sat, 18 Mar 2017 15:54:00 +0000 (16:54 +0100)]
fixed scrambled semicolon
IrgendwerA8 [Sat, 18 Mar 2017 15:33:08 +0000 (16:33 +0100)]
Added 65SC02 support for simulator.
Oliver Schmidt [Sat, 18 Mar 2017 11:51:46 +0000 (12:51 +0100)]
Merge pull request #404 from groessler/something_to_pull
Creativison changes.
Christian Groessler [Fri, 17 Mar 2017 20:42:51 +0000 (21:42 +0100)]
Creativison changes.
This change includes some cleanups, removal of mainargs.s (game console
programs never have arguments), and a workaround for a problem I'm seeing.
The problem is that sometimes (in fact, more often than not) the clrscr()
call in testcode/lib/joy-test.c writes some garbage chars on the screen (most
often a "P"). Could be my hardware (I haven't seen it on MAME), but to
me the root cause is still unknown.
IrgendwerA8 [Sun, 12 Mar 2017 22:21:43 +0000 (23:21 +0100)]
few 6502 and some 65SC02 optimizations
Oliver Schmidt [Sun, 12 Mar 2017 19:06:34 +0000 (20:06 +0100)]
Merge pull request #401 from greg-king5/void-size
Make C's sizeof operator work with cc65's void variables.
Greg King [Sun, 12 Mar 2017 16:55:31 +0000 (12:55 -0400)]
Made C's sizeof operator work with initialized void variables.
Added regression tests that check cc65's handling of void variables.
Oliver Schmidt [Sun, 12 Mar 2017 17:26:14 +0000 (18:26 +0100)]
Merge pull request #381 from pfusik/static-forward-decl
"static" forward declarations
Oliver Schmidt [Sun, 12 Mar 2017 17:13:18 +0000 (18:13 +0100)]
Added .gitattributes to force LF line endings on commit.
Oliver Schmidt [Sun, 12 Mar 2017 15:10:54 +0000 (16:10 +0100)]
Merge pull request #400 from greg-king5/yaccdbg-fix
Fix a yaccdbg pointer test again.
Greg King [Sat, 11 Mar 2017 20:11:15 +0000 (15:11 -0500)]
Fixed a pointer test again -- but, it's better than in pull request #391.
This time, the expression compares the pointer directly, instead of comparing the pointer's target. The new expression avoids an array underrun.
Oliver Schmidt [Fri, 10 Mar 2017 14:33:02 +0000 (15:33 +0100)]
Merge pull request #395 from greg-king5/no-Os
Remove a pointless cc65 command-line option from "samples/Makefile".
Greg King [Fri, 10 Mar 2017 13:47:48 +0000 (08:47 -0500)]
Removed a pointless cc65 command-line option from the samples makefile.
"-Oi --codesize 500" is the same as "-O --codesize 200 --codesize 500". That first "--codesize" is replaced by the second one. Don't set it twice.
Oliver Schmidt [Fri, 10 Mar 2017 10:31:50 +0000 (11:31 +0100)]
Merge pull request #399 from groessler/something_to_pull
Fix line endings (CRLF -> LF) on all affected files.
Christian Groessler [Fri, 10 Mar 2017 10:21:14 +0000 (11:21 +0100)]
Fix line endings (CRLF -> LF) on all affected files.
Piotr Fusik [Thu, 9 Mar 2017 20:18:48 +0000 (21:18 +0100)]
Add regression tests for duplicate globals with different linkage.
Piotr Fusik [Thu, 9 Mar 2017 19:49:20 +0000 (20:49 +0100)]
Add regression tests for duplicate global/static variables detected by the compiler.
Piotr Fusik [Thu, 9 Mar 2017 19:40:20 +0000 (20:40 +0100)]
Add regression test for #204.
Piotr Fusik [Thu, 9 Mar 2017 18:14:31 +0000 (19:14 +0100)]
"static int n; int n;" is an error.
Fixes test/err/static-4.c regression.
Oliver Schmidt [Thu, 9 Mar 2017 13:39:08 +0000 (14:39 +0100)]
Just some minor style fix.
Oliver Schmidt [Wed, 8 Mar 2017 12:38:24 +0000 (13:38 +0100)]
Merge pull request #397 from groessler/something_to_pull
fix creativision joystick driver
Christian Groessler [Wed, 8 Mar 2017 12:19:53 +0000 (13:19 +0100)]
Implement diagonal direction handling in creativision joystick driver.
Christian Groessler [Wed, 8 Mar 2017 12:16:40 +0000 (13:16 +0100)]
creativision.inc: add symbolic names for joystick direction values
Oliver Schmidt [Sat, 4 Mar 2017 18:08:33 +0000 (19:08 +0100)]
Merge pull request #394 from groessler/something_to_pull
creativision/crt0.s: enable display interrupts in display controller configuration
Christian Groessler [Sat, 4 Mar 2017 09:04:32 +0000 (10:04 +0100)]
creativision/crt0.s: enable display interrupts in display controller configuration
Otherwise the joystick zero page locations won't get updated.
Oliver Schmidt [Thu, 2 Mar 2017 08:45:44 +0000 (09:45 +0100)]
Merge pull request #391 from greg-king5/yaccdbg-fix
Fix the "yaccdbg.c" compiler regression test.
Greg King [Wed, 1 Mar 2017 11:36:25 +0000 (06:36 -0500)]
Fixed a pointer-difference, comparison-with-zero expression.
Some GCC C compilers can't subtract higher pointers from lower pointers properly, when those pointers must be scaled (because they point to objects that are wider than a char). The scaling is done as unsigned which makes the difference positive instead of negative.
So, a broken expression was changed into a direct comparison between the two pointers.
Greg King [Wed, 1 Mar 2017 11:29:53 +0000 (06:29 -0500)]
Fixed a makefile: "yaccdbg.c" includes "yacc.c". So, yaccdbg must depend on both of them.
Oliver Schmidt [Tue, 28 Feb 2017 11:34:18 +0000 (12:34 +0100)]
Merge pull request #390 from jedeoric/master
Adding some conio's function
jede [Sat, 25 Feb 2017 21:23:46 +0000 (22:23 +0100)]
Cleaning
jede [Sat, 25 Feb 2017 21:20:17 +0000 (22:20 +0100)]
adding gotox.s gotoy.s wherex.s wherey.s
jede [Sat, 25 Feb 2017 21:10:13 +0000 (22:10 +0100)]
adding clrscr.s
jede [Sat, 25 Feb 2017 20:32:42 +0000 (21:32 +0100)]
Correcting typo
jede [Sat, 25 Feb 2017 20:32:06 +0000 (21:32 +0100)]
adding gotoxy.s
Oliver Schmidt [Fri, 24 Feb 2017 19:39:04 +0000 (20:39 +0100)]
Merge pull request #387 from groessler/something_to_pull
atari_antic.inc: use "or" instead of "plus" in the usage example
Oliver Schmidt [Fri, 24 Feb 2017 19:37:59 +0000 (20:37 +0100)]
Merge pull request #386 from IrgendwerA8/EasierDisplayLists
Improved display list instruction definition for more comfortable useā¦
Christian Groessler [Fri, 24 Feb 2017 18:06:32 +0000 (19:06 +0100)]
atari_antic.inc: use "or" instead of "plus" in the usage example
Irgendwer [Fri, 24 Feb 2017 10:21:56 +0000 (11:21 +0100)]
Update displaylist.c
Irgendwer [Fri, 24 Feb 2017 10:19:33 +0000 (11:19 +0100)]
Update atari.sgml
IrgendwerA8 [Thu, 23 Feb 2017 23:10:02 +0000 (00:10 +0100)]
Improved display list instruction definition for more comfortable use within void data definition.
Oliver Schmidt [Wed, 22 Feb 2017 13:28:32 +0000 (14:28 +0100)]
Merge pull request #385 from groessler/something_to_pull
README.md: PC-Engine is a console
Christian Groessler [Wed, 22 Feb 2017 13:25:10 +0000 (14:25 +0100)]
README.md: PC-Engine is a console
Oliver Schmidt [Wed, 15 Feb 2017 22:26:50 +0000 (23:26 +0100)]
Merge pull request #383 from greg-king5/index-update
Add the Telestrat doc. to the index.
Greg King [Wed, 15 Feb 2017 21:09:21 +0000 (16:09 -0500)]
Added "telestrat.html" to index. Sorted "gamate.html".
Piotr Fusik [Wed, 15 Feb 2017 17:51:27 +0000 (18:51 +0100)]
Revert "Disallow global variable declarations with an initializer."
This reverts commit
1f12a06f7cc2ae79a800fe3faed727513364091b .
Oliver Schmidt [Wed, 15 Feb 2017 15:03:43 +0000 (16:03 +0100)]
Merge pull request #374 from groessler/something_to_pull2
creativision target
Christian Groessler [Wed, 15 Feb 2017 14:53:57 +0000 (15:53 +0100)]
remove old joystick code
Christian Groessler [Wed, 15 Feb 2017 14:45:49 +0000 (15:45 +0100)]
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.
Christian Groessler [Wed, 15 Feb 2017 14:43:34 +0000 (15:43 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2
Christian Groessler [Wed, 15 Feb 2017 14:37:06 +0000 (15:37 +0100)]
Add joystick driver to documentation.
Oliver Schmidt [Wed, 15 Feb 2017 08:50:29 +0000 (09:50 +0100)]
Merge pull request #382 from groessler/something_to_pull
Add testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c
Christian Groessler [Tue, 14 Feb 2017 22:52:44 +0000 (23:52 +0100)]
fix indentation
Christian Groessler [Mon, 13 Feb 2017 21:43:26 +0000 (22:43 +0100)]
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.
Christian Groessler [Mon, 13 Feb 2017 20:38:38 +0000 (21:38 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2
Piotr Fusik [Mon, 13 Feb 2017 20:10:21 +0000 (21:10 +0100)]
Issue an error for duplicate global variables.
Previously it was an assembler error.
Piotr Fusik [Mon, 13 Feb 2017 20:04:45 +0000 (21:04 +0100)]
Global uninitialized variable is only a tentative definition.
Closes #204
Piotr Fusik [Mon, 13 Feb 2017 18:41:05 +0000 (19:41 +0100)]
Disallow global variable declarations with an initializer.
E.g.
extern int i = 42;
Oliver Schmidt [Mon, 13 Feb 2017 11:39:47 +0000 (12:39 +0100)]
Merge pull request #380 from greg-king5/ca65-816
Fix ca65's BRK instruction for the 65816.
Oliver Schmidt [Mon, 13 Feb 2017 11:34:16 +0000 (12:34 +0100)]
Merge pull request #379 from pfusik/zlib-update
Optimize inflatemem.
Greg King [Sun, 12 Feb 2017 19:54:57 +0000 (14:54 -0500)]
Fixed ca65's BRK instruction encoding for the 65816.
BRK is two bytes on all 6502 variants; but, the 65816's maker declared officially that assemblers should support an optional operand.
Piotr Fusik [Sun, 12 Feb 2017 10:41:11 +0000 (11:41 +0100)]
Optimize inflatemem.
The new version is 30% shorter and 10% faster.
It also avoids the indirect-X addressing mode, which was a problem for PC-Engine.
Oliver Schmidt [Fri, 10 Feb 2017 22:47:13 +0000 (23:47 +0100)]
Merge pull request #371 from jedeoric/master
Create an Oric Telestrat target library
jede [Thu, 9 Feb 2017 17:46:56 +0000 (18:46 +0100)]
Rollback for *.vcxproj, telestrat.sgml modified for "don't" instead of "did not" for telemon2.4
Christian Groessler [Wed, 8 Feb 2017 13:34:35 +0000 (14:34 +0100)]
intermediate check-in -- creativision joystick driver
Greg King [Tue, 7 Feb 2017 12:33:27 +0000 (07:33 -0500)]
Reverted 'Used more mundane addressing in some of the instructions in "zlib/inflatemem.s".'
This reverted some of commit
e7e65044e607f15b7d5b4e55abf7cdcb123993a8 .
Christian Groessler [Mon, 6 Feb 2017 20:06:08 +0000 (21:06 +0100)]
Add Creativision to README.md and html index
Christian Groessler [Mon, 6 Feb 2017 19:59:52 +0000 (20:59 +0100)]
Add initial creativision.sgml, contributed by Stefan Haubenthal.
Christian Groessler [Mon, 6 Feb 2017 18:32:00 +0000 (19:32 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2
Oliver Schmidt [Mon, 6 Feb 2017 18:29:46 +0000 (19:29 +0100)]
Merge pull request #376 from groessler/something_to_pull
gamate, lynx, nes, pce: remove joy_stddrv.s
Christian Groessler [Mon, 6 Feb 2017 18:26:12 +0000 (19:26 +0100)]
gamate, lynx, nes, pce: remove joy_stddrv.s
These targets don't support dynamically loaded joystick drivers.
jede [Fri, 3 Feb 2017 20:11:37 +0000 (21:11 +0100)]
Correcting scrsize.s into _scrsize.s
jede [Thu, 2 Feb 2017 21:53:28 +0000 (22:53 +0100)]
Fixing telestrat.h
jede [Thu, 2 Feb 2017 21:44:06 +0000 (22:44 +0100)]
Updating doc
jede [Wed, 1 Feb 2017 23:11:11 +0000 (00:11 +0100)]
Last push for tonight :)
jede [Wed, 1 Feb 2017 23:05:50 +0000 (00:05 +0100)]
Correcting alignment
jede [Wed, 1 Feb 2017 23:00:21 +0000 (00:00 +0100)]
Correcting return line
jede [Wed, 1 Feb 2017 22:58:33 +0000 (23:58 +0100)]
Correcting some code from github comments
Christian Groessler [Wed, 1 Feb 2017 18:46:04 +0000 (19:46 +0100)]
Cleanups for Creativision.
Christian Groessler [Wed, 1 Feb 2017 17:49:31 +0000 (18:49 +0100)]
Merge remote-tracking branch 'upstream/master' into creativision-neu
Oliver Schmidt [Wed, 1 Feb 2017 17:29:42 +0000 (18:29 +0100)]
Merge pull request #373 from groessler/something_to_pull
pce/memcpy.s: remove superfluous comma in comment
Christian Groessler [Wed, 1 Feb 2017 17:15:05 +0000 (18:15 +0100)]
Merge remote-tracking branch 'upstream/master' into creativision
Christian Groessler [Wed, 1 Feb 2017 16:52:30 +0000 (17:52 +0100)]
pce/memcpy.s: remove superfluous comma in comment
jede [Tue, 31 Jan 2017 21:33:19 +0000 (22:33 +0100)]
Correcting some spaces
jede [Tue, 31 Jan 2017 21:21:53 +0000 (22:21 +0100)]
correcting README.md to add telestrat target
jede [Tue, 31 Jan 2017 21:20:19 +0000 (22:20 +0100)]
Correcting comments alignment
Correcting an address error in telestrat.inc when cleaning files which broke read.s primitive