]> git.sur5r.net Git - cc65/log
cc65
7 years agoMade C's sizeof operator work with initialized void variables. 401/head
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.

7 years agoMerge pull request #381 from pfusik/static-forward-decl
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

7 years agoAdded .gitattributes to force LF line endings on commit.
Oliver Schmidt [Sun, 12 Mar 2017 17:13:18 +0000 (18:13 +0100)]
Added .gitattributes to force LF line endings on commit.

7 years agoMerge pull request #400 from greg-king5/yaccdbg-fix
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.

7 years agoFixed a pointer test again -- but, it's better than in pull request #391. 400/head
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.

7 years agoMerge pull request #395 from greg-king5/no-Os
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".

7 years agoRemoved a pointless cc65 command-line option from the samples makefile. 395/head
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.

7 years agoMerge pull request #399 from groessler/something_to_pull
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.

7 years agoFix line endings (CRLF -> LF) on all affected files. 399/head
Christian Groessler [Fri, 10 Mar 2017 10:21:14 +0000 (11:21 +0100)]
Fix line endings (CRLF -> LF) on all affected files.

7 years agoAdd regression tests for duplicate globals with different linkage. 381/head
Piotr Fusik [Thu, 9 Mar 2017 20:18:48 +0000 (21:18 +0100)]
Add regression tests for duplicate globals with different linkage.

7 years agoAdd regression tests for duplicate global/static variables detected by the compiler.
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.

7 years agoAdd regression test for #204.
Piotr Fusik [Thu, 9 Mar 2017 19:40:20 +0000 (20:40 +0100)]
Add regression test for #204.

7 years ago"static int n; int n;" is an error.
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.

7 years agoJust some minor style fix.
Oliver Schmidt [Thu, 9 Mar 2017 13:39:08 +0000 (14:39 +0100)]
Just some minor style fix.

7 years agoMerge pull request #397 from groessler/something_to_pull
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

7 years agoImplement diagonal direction handling in creativision joystick driver. 397/head
Christian Groessler [Wed, 8 Mar 2017 12:19:53 +0000 (13:19 +0100)]
Implement diagonal direction handling in creativision joystick driver.

7 years agocreativision.inc: add symbolic names for joystick direction values
Christian Groessler [Wed, 8 Mar 2017 12:16:40 +0000 (13:16 +0100)]
creativision.inc: add symbolic names for joystick direction values

7 years agoMerge pull request #394 from groessler/something_to_pull
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

7 years agocreativision/crt0.s: enable display interrupts in display controller configuration 394/head
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.

7 years agoMerge pull request #391 from greg-king5/yaccdbg-fix
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.

7 years agoFixed a pointer-difference, comparison-with-zero expression. 391/head
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.

7 years agoFixed a makefile: "yaccdbg.c" includes "yacc.c". So, yaccdbg must depend on both...
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.

7 years agoMerge pull request #390 from jedeoric/master
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

7 years agoCleaning 390/head
jede [Sat, 25 Feb 2017 21:23:46 +0000 (22:23 +0100)]
Cleaning

7 years agoadding gotox.s gotoy.s wherex.s wherey.s
jede [Sat, 25 Feb 2017 21:20:17 +0000 (22:20 +0100)]
adding gotox.s gotoy.s wherex.s wherey.s

7 years agoadding clrscr.s
jede [Sat, 25 Feb 2017 21:10:13 +0000 (22:10 +0100)]
adding clrscr.s

7 years agoCorrecting typo
jede [Sat, 25 Feb 2017 20:32:42 +0000 (21:32 +0100)]
Correcting typo

7 years agoadding gotoxy.s
jede [Sat, 25 Feb 2017 20:32:06 +0000 (21:32 +0100)]
adding gotoxy.s

7 years agoMerge pull request #387 from groessler/something_to_pull
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

7 years agoMerge pull request #386 from IrgendwerA8/EasierDisplayLists
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ā€¦

7 years agoatari_antic.inc: use "or" instead of "plus" in the usage example 387/head
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

7 years agoUpdate displaylist.c 386/head
Irgendwer [Fri, 24 Feb 2017 10:21:56 +0000 (11:21 +0100)]
Update displaylist.c

7 years agoUpdate atari.sgml
Irgendwer [Fri, 24 Feb 2017 10:19:33 +0000 (11:19 +0100)]
Update atari.sgml

7 years agoImproved display list instruction definition for more comfortable use within void...
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.

7 years agoMerge pull request #385 from groessler/something_to_pull
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

7 years agoREADME.md: PC-Engine is a console 385/head
Christian Groessler [Wed, 22 Feb 2017 13:25:10 +0000 (14:25 +0100)]
README.md: PC-Engine is a console

7 years agoMerge pull request #383 from greg-king5/index-update
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.

7 years agoAdded "telestrat.html" to index. Sorted "gamate.html". 383/head
Greg King [Wed, 15 Feb 2017 21:09:21 +0000 (16:09 -0500)]
Added "telestrat.html" to index.  Sorted "gamate.html".

7 years agoRevert "Disallow global variable declarations with an initializer."
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.

7 years agoMerge pull request #374 from groessler/something_to_pull2
Oliver Schmidt [Wed, 15 Feb 2017 15:03:43 +0000 (16:03 +0100)]
Merge pull request #374 from groessler/something_to_pull2

creativision target

7 years agoremove old joystick code 374/head
Christian Groessler [Wed, 15 Feb 2017 14:53:57 +0000 (15:53 +0100)]
remove old joystick code

7 years agoFix joystick driver. Add interruptor support.
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.

7 years agoMerge remote-tracking branch 'upstream/master' into something_to_pull2
Christian Groessler [Wed, 15 Feb 2017 14:43:34 +0000 (15:43 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2

7 years agoAdd joystick driver to documentation.
Christian Groessler [Wed, 15 Feb 2017 14:37:06 +0000 (15:37 +0100)]
Add joystick driver to documentation.

7 years agoMerge pull request #382 from groessler/something_to_pull
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

7 years agofix indentation
Christian Groessler [Tue, 14 Feb 2017 22:52:44 +0000 (23:52 +0100)]
fix indentation

7 years agoAdd testcode/lib/mouse-test.c. Rename samples/mousetest.c to mousedemo.c. 382/head
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.

7 years agoMerge remote-tracking branch 'upstream/master' into something_to_pull2
Christian Groessler [Mon, 13 Feb 2017 20:38:38 +0000 (21:38 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2

7 years agoIssue an error for duplicate global variables.
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.

7 years agoGlobal uninitialized variable is only a tentative definition.
Piotr Fusik [Mon, 13 Feb 2017 20:04:45 +0000 (21:04 +0100)]
Global uninitialized variable is only a tentative definition.

Closes #204

7 years agoDisallow global variable declarations with an initializer.
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;

7 years agoMerge pull request #380 from greg-king5/ca65-816
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.

7 years agoMerge pull request #379 from pfusik/zlib-update
Oliver Schmidt [Mon, 13 Feb 2017 11:34:16 +0000 (12:34 +0100)]
Merge pull request #379 from pfusik/zlib-update

Optimize inflatemem.

7 years agoFixed ca65's BRK instruction encoding for the 65816. 380/head
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.

7 years agoOptimize inflatemem. 379/head
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.

7 years agoMerge pull request #371 from jedeoric/master
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

7 years agoRollback for *.vcxproj, telestrat.sgml modified for "don't" instead of "did not"... 371/head
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

7 years agointermediate check-in -- creativision joystick driver
Christian Groessler [Wed, 8 Feb 2017 13:34:35 +0000 (14:34 +0100)]
intermediate check-in -- creativision joystick driver

7 years agoReverted 'Used more mundane addressing in some of the instructions in "zlib/inflateme...
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.

7 years agoAdd Creativision to README.md and html index
Christian Groessler [Mon, 6 Feb 2017 20:06:08 +0000 (21:06 +0100)]
Add Creativision to README.md and html index

7 years agoAdd initial creativision.sgml, contributed by Stefan Haubenthal.
Christian Groessler [Mon, 6 Feb 2017 19:59:52 +0000 (20:59 +0100)]
Add initial creativision.sgml, contributed by Stefan Haubenthal.

7 years agoMerge remote-tracking branch 'upstream/master' into something_to_pull2
Christian Groessler [Mon, 6 Feb 2017 18:32:00 +0000 (19:32 +0100)]
Merge remote-tracking branch 'upstream/master' into something_to_pull2

7 years agoMerge pull request #376 from groessler/something_to_pull
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

7 years agogamate, lynx, nes, pce: remove joy_stddrv.s 376/head
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.

7 years agoCorrecting scrsize.s into _scrsize.s
jede [Fri, 3 Feb 2017 20:11:37 +0000 (21:11 +0100)]
Correcting scrsize.s into _scrsize.s

7 years agoFixing telestrat.h
jede [Thu, 2 Feb 2017 21:53:28 +0000 (22:53 +0100)]
Fixing telestrat.h

7 years agoUpdating doc
jede [Thu, 2 Feb 2017 21:44:06 +0000 (22:44 +0100)]
Updating doc

7 years agoLast push for tonight :)
jede [Wed, 1 Feb 2017 23:11:11 +0000 (00:11 +0100)]
Last push for tonight :)

7 years agoCorrecting alignment
jede [Wed, 1 Feb 2017 23:05:50 +0000 (00:05 +0100)]
Correcting alignment

7 years agoCorrecting return line
jede [Wed, 1 Feb 2017 23:00:21 +0000 (00:00 +0100)]
Correcting return line

7 years agoCorrecting some code from github comments
jede [Wed, 1 Feb 2017 22:58:33 +0000 (23:58 +0100)]
Correcting some code from github comments

7 years agoCleanups for Creativision.
Christian Groessler [Wed, 1 Feb 2017 18:46:04 +0000 (19:46 +0100)]
Cleanups for Creativision.

7 years agoMerge remote-tracking branch 'upstream/master' into creativision-neu
Christian Groessler [Wed, 1 Feb 2017 17:49:31 +0000 (18:49 +0100)]
Merge remote-tracking branch 'upstream/master' into creativision-neu

7 years agoMerge pull request #373 from groessler/something_to_pull
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

7 years agoMerge remote-tracking branch 'upstream/master' into creativision
Christian Groessler [Wed, 1 Feb 2017 17:15:05 +0000 (18:15 +0100)]
Merge remote-tracking branch 'upstream/master' into creativision

7 years agopce/memcpy.s: remove superfluous comma in comment 373/head
Christian Groessler [Wed, 1 Feb 2017 16:52:30 +0000 (17:52 +0100)]
pce/memcpy.s: remove superfluous comma in comment

7 years agoCorrecting some spaces
jede [Tue, 31 Jan 2017 21:33:19 +0000 (22:33 +0100)]
Correcting some spaces

7 years agocorrecting README.md to add telestrat target
jede [Tue, 31 Jan 2017 21:21:53 +0000 (22:21 +0100)]
correcting README.md to add telestrat target

7 years agoCorrecting comments alignment
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

7 years agoMerge telemon24 and telemon30 into telestrat target.
jede [Tue, 31 Jan 2017 21:09:14 +0000 (22:09 +0100)]
Merge telemon24 and telemon30 into telestrat target.
Cleaning, and replace tab to spaces
Converting hex lowercase value into uppercase char.
Changing := and = when it was needed

7 years agoCorrecting spaces
jede [Sun, 29 Jan 2017 22:18:32 +0000 (23:18 +0100)]
Correcting spaces

7 years agoFix
jede [Sun, 29 Jan 2017 22:05:18 +0000 (23:05 +0100)]
Fix

7 years agoFix
jede [Sun, 29 Jan 2017 22:03:01 +0000 (23:03 +0100)]
Fix

7 years agoFix
jede [Sun, 29 Jan 2017 21:59:53 +0000 (22:59 +0100)]
Fix

7 years agonew pull fix
jede [Sun, 29 Jan 2017 21:55:35 +0000 (22:55 +0100)]
new pull fix

7 years agoFixing old pull request
jede [Sun, 29 Jan 2017 21:53:50 +0000 (22:53 +0100)]
Fixing old pull request

7 years agoMerge with current version
jede [Sun, 29 Jan 2017 21:39:51 +0000 (22:39 +0100)]
Merge with current version

7 years agoRevert
jede [Sun, 29 Jan 2017 21:28:54 +0000 (22:28 +0100)]
Revert

7 years agoremoving ch376.h
jede [Sun, 29 Jan 2017 21:14:56 +0000 (22:14 +0100)]
removing ch376.h

7 years agoAdding telemon30 and telemon24 primitives
jede [Sun, 29 Jan 2017 20:18:49 +0000 (21:18 +0100)]
Adding telemon30 and telemon24 primitives

7 years agoMerge pull request #370 from groessler/something_to_pull
Oliver Schmidt [Thu, 26 Jan 2017 16:07:13 +0000 (17:07 +0100)]
Merge pull request #370 from groessler/something_to_pull

libsrc/c16/get_tv.s: remove code duplication

7 years agolibsrc/c16/get_tv.s: remove code duplication 370/head
Christian Groessler [Thu, 26 Jan 2017 15:43:47 +0000 (16:43 +0100)]
libsrc/c16/get_tv.s: remove code duplication

Use the plus4 version of get_tv.s.

7 years agoMerge pull request #369 from groessler/something_to_pull
Oliver Schmidt [Wed, 25 Jan 2017 10:04:49 +0000 (11:04 +0100)]
Merge pull request #369 from groessler/something_to_pull

Small space optimization in libsrc/atari/is_cmdline_dos.s.

7 years agoMore optimization in libsrc/atari/is_cmdline_dos.s. 369/head
Christian Groessler [Tue, 24 Jan 2017 20:01:42 +0000 (21:01 +0100)]
More optimization in libsrc/atari/is_cmdline_dos.s.

Suggestion by Spiro Trikaliotis.

7 years agoSmall space optimization in libsrc/atari/is_cmdline_dos.s.
Christian Groessler [Tue, 24 Jan 2017 19:21:56 +0000 (20:21 +0100)]
Small space optimization in libsrc/atari/is_cmdline_dos.s.

7 years agoCorrecting doc adding telemon 2.4 primitives
jede [Sun, 22 Jan 2017 20:41:49 +0000 (21:41 +0100)]
Correcting doc adding telemon 2.4 primitives

7 years agoFixed typo.
Oliver Schmidt [Sun, 22 Jan 2017 11:04:21 +0000 (12:04 +0100)]
Fixed typo.

7 years agoMerge pull request #368 from greg-king5/tgi-mouse
Oliver Schmidt [Fri, 20 Jan 2017 10:21:09 +0000 (11:21 +0100)]
Merge pull request #368 from greg-king5/tgi-mouse

Add a way to show the default mouse pointer on C64 TGI  screens.

7 years agoAdded a way to show the default mouse pointer on C64 TGI (graphics) screens. 368/head
Greg King [Wed, 18 Jan 2017 21:05:47 +0000 (16:05 -0500)]
Added a way to show the default mouse pointer on C64 TGI (graphics) screens.

7 years agoMerge pull request #365 from FlorentFlament/master
Oliver Schmidt [Mon, 16 Jan 2017 15:26:48 +0000 (16:26 +0100)]
Merge pull request #365 from FlorentFlament/master

Add C support for Atari 2600 (VCS)