]> git.sur5r.net Git - cc65/log
cc65
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 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 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 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 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 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)

7 years agoAdd Atari 2600 documentation 365/head
Florent Flament [Wed, 11 Jan 2017 22:12:30 +0000 (23:12 +0100)]
Add Atari 2600 documentation

7 years agoAdd Atari2600 ASM header (.inc) files
Florent Flament [Fri, 13 Jan 2017 20:11:44 +0000 (21:11 +0100)]
Add Atari2600 ASM header (.inc) files

7 years agoAdd C support for Atari 2600 (VCS)
Florent Flament [Sun, 8 Jan 2017 18:12:55 +0000 (19:12 +0100)]
Add C support for Atari 2600 (VCS)

7 years agoCorrecting some bugs
jede [Wed, 4 Jan 2017 19:03:19 +0000 (20:03 +0100)]
Correcting some bugs

7 years agoMerge pull request #363 from kylophone/master
Oliver Schmidt [Tue, 27 Dec 2016 21:27:00 +0000 (22:27 +0100)]
Merge pull request #363 from kylophone/master

doc/ca65: fix typo

7 years agodoc/ca65: fix typo 363/head
Kyle Swanson [Tue, 27 Dec 2016 17:45:40 +0000 (11:45 -0600)]
doc/ca65: fix typo

7 years agoMerge pull request #361 from marshallward/master
Oliver Schmidt [Sun, 25 Dec 2016 11:42:56 +0000 (12:42 +0100)]
Merge pull request #361 from marshallward/master

NES memory map amend (16k prg, 8k chr default)

7 years agoNES memory map amend (16k prg, 8k chr default) 361/head
Marshall Ward [Tue, 20 Dec 2016 11:12:08 +0000 (22:12 +1100)]
NES memory map amend (16k prg, 8k chr default)

The configuration file and runtime (crt0.s) provided for the default NES
ROM layout (2x16k PRG, 8k CHR) incorrectly added interrupts (IRQ1, IRQ2,
TIMERIRQ) which are not supported by the NES hardware.  For example, see
the NESdev wiki, which makes no reference to these interrupts.

    https://wiki.nesdev.com/w/index.php/CPU_memory_map

The VECTORS region was also incorrectly set to 0xFFF6, which would have
left the 0xFFF4 normally unspecified.  This did not result in any error,
however, since cc65 simply placed ROMV directly after ROM0 regardless of
start address.

(This layout may be due to a copy-and-paste from the PC-Engine
configuration, whose interrupt registers start at 0xFFF6, begins with
the three interrupts listed above, followed by NMI and START, and does
not end with a final IRQ interrupt.)

Despite the absence of any actual error, since START is still placed at
0xFFFC, this patch removes the nonexistent interrupts and also correctly
aligns the ROM0 and ROMV regions.  It also has the (admittedly very
minor) benefit of freeing up 6 additional bytes for ROM0.

7 years agoMerge pull request #360 from cacciatc/master
Oliver Schmidt [Thu, 15 Dec 2016 21:53:08 +0000 (22:53 +0100)]
Merge pull request #360 from cacciatc/master

Added 'any' to --list-opt-steps.

7 years agoAdded 'any' to --list-opt-steps. 360/head
Chris Cacciatore [Thu, 15 Dec 2016 00:53:55 +0000 (16:53 -0800)]
Added 'any' to --list-opt-steps.

7 years agoAdding ch376.h header, correcting some bugs
jede [Wed, 14 Dec 2016 22:45:20 +0000 (23:45 +0100)]
Adding ch376.h header, correcting some bugs

7 years agoAdding files for telemon30
jede [Wed, 14 Dec 2016 20:22:10 +0000 (21:22 +0100)]
Adding files for telemon30

7 years agoMerge pull request #359 from peterferrie/master
Oliver Schmidt [Sun, 4 Dec 2016 12:12:49 +0000 (13:12 +0100)]
Merge pull request #359 from peterferrie/master

fix build break on da65

7 years agofix build break on da65 359/head
Peter Ferrie [Sun, 4 Dec 2016 04:54:14 +0000 (20:54 -0800)]
fix build break on da65

7 years agoMerge pull request #358 from EtchedPixels/master
greg-king5 [Sat, 26 Nov 2016 22:30:38 +0000 (17:30 -0500)]
Merge pull request #358 from EtchedPixels/master

* scanner: Correct handling of \0101

The C language has this oddity that octal constants are 3 bytes so the sequence
"\0101" is two bytes and well defined by the langage. cc65 currently misparses
this as a 1 byte octal code. Add a count to fix this.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>
* cc65: remove un-needed logic from octal parsing

We no longer need the extra error handling logic for octal parsing so simplify
it as requested by Greg King.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>
8 years agocc65: remove un-needed logic from octal parsing 358/head
Alan Cox [Sun, 20 Nov 2016 18:02:45 +0000 (18:02 +0000)]
cc65: remove un-needed logic from octal parsing

We no longer need the extra error handling logic for octal parsing so simplify
it as requested by Greg King.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>
8 years agoscanner: Correct handling of \0101
Alan Cox [Sat, 19 Nov 2016 13:02:19 +0000 (13:02 +0000)]
scanner: Correct handling of \0101

The C language has this oddity that octal constants are 3 bytes so the sequence
"\0101" is two bytes and well defined by the langage. cc65 currently misparses
this as a 1 byte octal code. Add a count to fix this.

Signed-off-by: Alan Cox <etchedpixels@gmail.com>
8 years agoRemoved DEL as suggested by Greg.
Oliver Schmidt [Sun, 16 Oct 2016 11:47:31 +0000 (13:47 +0200)]
Removed DEL as suggested by Greg.

8 years agoMake use of doesclrscrafterexit().
Oliver Schmidt [Sat, 15 Oct 2016 13:45:17 +0000 (15:45 +0200)]
Make use of doesclrscrafterexit().

8 years agoShorten a URL.
greg-king5 [Fri, 30 Sep 2016 00:00:09 +0000 (20:00 -0400)]
Shorten a URL.

8 years agoMerge pull request #353 from SvOlli/da65
Oliver Schmidt [Tue, 27 Sep 2016 12:56:28 +0000 (14:56 +0200)]
Merge pull request #353 from SvOlli/da65

da65: adding support for 4510 cpu of c65

8 years ago4510 support for da65: fixed docs and Makefile for testcase. 353/head
Sven Oliver Moll [Tue, 27 Sep 2016 10:02:57 +0000 (12:02 +0200)]
4510 support for da65: fixed docs and Makefile for testcase.

8 years agoda65: 4510 support
Sven Oliver Moll [Fri, 23 Sep 2016 11:10:38 +0000 (13:10 +0200)]
da65: 4510 support
- cleaned up unnecessary static function
- adjusted table formatting

8 years agoMerge pull request #354 from sur5r/master
Oliver Schmidt [Fri, 23 Sep 2016 09:34:50 +0000 (11:34 +0200)]
Merge pull request #354 from sur5r/master

Add missing tag and remove duplicate text

8 years agoAdd missing tag and remove duplicate text 354/head
Jakob Haufe [Fri, 23 Sep 2016 08:39:47 +0000 (10:39 +0200)]
Add missing tag and remove duplicate text

8 years agoda65: adding support for 4510 cpu of c65
Sven Oliver Moll [Tue, 20 Sep 2016 15:37:10 +0000 (17:37 +0200)]
da65: adding support for 4510 cpu of c65

8 years agoMerge pull request #348 from SvOlli/release
Oliver Schmidt [Tue, 20 Sep 2016 14:19:45 +0000 (16:19 +0200)]
Merge pull request #348 from SvOlli/release

ca65: added .P4510 and .IFP4510 pseudo commands

8 years agoMerge pull request #341 from alexthissen/master
Oliver Schmidt [Wed, 14 Sep 2016 08:23:44 +0000 (10:23 +0200)]
Merge pull request #341 from alexthissen/master

Update exehdr.s for Lynx target

8 years agoFixed last linefeed and notation convention errors. 341/head
Alex Thissen [Tue, 13 Sep 2016 20:02:37 +0000 (22:02 +0200)]
Fixed last linefeed and notation convention errors.

8 years agoremoved 'make clean' invoked from test/Makefile for test/assembler/Makefile, as all... 348/head
Sven Oliver Moll [Tue, 13 Sep 2016 09:54:56 +0000 (11:54 +0200)]
removed 'make clean' invoked from test/Makefile for test/assembler/Makefile, as all artifacts are now created in testwrk and will be cleaned up out of directory

8 years agore-adding WORKDIR to Makefile
Sven Oliver Moll [Tue, 13 Sep 2016 09:28:11 +0000 (11:28 +0200)]
re-adding WORKDIR to Makefile
- added workaround to remove *.o files after assembling
- also removed now obsolete clean target

8 years agoRevert "test/assembler: removed WORKDIR variable, as remote assembling does only...
Sven Oliver Moll [Tue, 13 Sep 2016 09:21:25 +0000 (11:21 +0200)]
Revert "test/assembler: removed WORKDIR variable, as remote assembling does only work partly"

This reverts commit 7a9a7c3188bf36b278922439f957af7dab4617c2.

8 years agoMerge pull request #349 from groessler/something_to_pull
Oliver Schmidt [Tue, 13 Sep 2016 08:27:48 +0000 (10:27 +0200)]
Merge pull request #349 from groessler/something_to_pull

Atari: fix lookup of default device on XDOS.

8 years agoAtari: fix lookup of default device on XDOS. 349/head
Christian Groessler [Mon, 12 Sep 2016 21:34:10 +0000 (23:34 +0200)]
Atari: fix lookup of default device on XDOS.

Stefan Dorndorf, author of XDOS, pointed out that retrieving the
default device by looking at an undocumented memory location won't
work in future XDOS versions.
He also showed a way to get the default device in a compatible
manner.

This change implements his method and adds a version check (XDOS
versions below 2.4 don't support this -- for them the behaviour
will be the same as, for example, AtariDOS: no notion of a default
drive).

8 years agoadded missing ',' in documentation.
Sven Oliver Moll [Mon, 12 Sep 2016 16:38:10 +0000 (18:38 +0200)]
added missing ',' in documentation.

8 years agoChanged __BLOCKSIZE__ to __BANK0BLOCKSIZE__.
Alex Thissen [Sun, 11 Sep 2016 20:26:52 +0000 (22:26 +0200)]
Changed __BLOCKSIZE__ to __BANK0BLOCKSIZE__.
Added __BANK1BLOCKSIZE__ which defaults to 0.

8 years agoadded forgotten testcase for testing cpu based conditional assembling
Sven Oliver Moll [Wed, 7 Sep 2016 17:49:21 +0000 (19:49 +0200)]
added forgotten testcase for testing cpu based conditional assembling

8 years agoadded 4510 cpu detection to getcpu.s
Sven Oliver Moll [Wed, 7 Sep 2016 17:44:11 +0000 (19:44 +0200)]
added 4510 cpu detection to getcpu.s

8 years agotest/assembler: removed WORKDIR variable, as remote assembling does only work partly
Sven Oliver Moll [Wed, 7 Sep 2016 17:41:37 +0000 (19:41 +0200)]
test/assembler: removed WORKDIR variable, as remote assembling does only work partly

8 years agoAdded assembler pseudo commands .P4510 and .IFP4510 together with docs and testcase
Sven Oliver Moll [Wed, 7 Sep 2016 17:21:24 +0000 (19:21 +0200)]
Added assembler pseudo commands .P4510 and .IFP4510 together with docs and testcase

8 years agoMerge pull request #345 from SvOlli/release
Oliver Schmidt [Wed, 7 Sep 2016 08:11:47 +0000 (10:11 +0200)]
Merge pull request #345 from SvOlli/release

migrated opcodes tests for assembler from testcode to test...

8 years agoMerge pull request #347 from groessler/something_to_pull
Oliver Schmidt [Tue, 6 Sep 2016 15:59:12 +0000 (17:59 +0200)]
Merge pull request #347 from groessler/something_to_pull

Fix some typos.

8 years agoFix some typos. 347/head
Christian Groessler [Tue, 6 Sep 2016 13:13:44 +0000 (15:13 +0200)]
Fix some typos.

8 years agoadded README for test/assembler 345/head
Sven Oliver Moll [Tue, 6 Sep 2016 12:54:21 +0000 (14:54 +0200)]
added README for test/assembler

8 years agoMerge pull request #344 from greg-king5/huc6280-disassembler
Oliver Schmidt [Sun, 4 Sep 2016 10:25:28 +0000 (12:25 +0200)]
Merge pull request #344 from greg-king5/huc6280-disassembler

Fix some bugs in the da65 disassembler's HuC6280 section.

8 years agoAdded comment about commented-out value.
Oliver Schmidt [Sun, 4 Sep 2016 10:22:11 +0000 (12:22 +0200)]
Added comment about commented-out value.

8 years agomigrated opcodes tests for assembler from testcode to test for inclusion on automated...
Sven Oliver Moll [Sat, 3 Sep 2016 14:45:59 +0000 (16:45 +0200)]
migrated opcodes tests for assembler from testcode to test for inclusion on automated testing

8 years agoAdded commented placeholder for future Mitsubishi 740 CPU in "cpu.mac".
greg-king5 [Fri, 2 Sep 2016 21:55:39 +0000 (17:55 -0400)]
Added commented placeholder for future Mitsubishi 740 CPU in "cpu.mac".

8 years agoFixed some bugs in da65's HuC6280 section. 344/head
Greg King [Fri, 2 Sep 2016 18:24:29 +0000 (14:24 -0400)]
Fixed some bugs in da65's HuC6280 section.

8 years agoSkipped the bit flag for the (not implemented) Mitsubishi 740 in "cpu.mac".
Greg King [Thu, 1 Sep 2016 00:41:17 +0000 (20:41 -0400)]
Skipped the bit flag for the (not implemented) Mitsubishi 740 in "cpu.mac".

8 years agoMerge pull request #343 from SvOlli/release
Oliver Schmidt [Wed, 31 Aug 2016 20:05:49 +0000 (22:05 +0200)]
Merge pull request #343 from SvOlli/release

Add 4510 support for C65/C64DX

8 years ago4510 support: yet another round up little updates 343/head
Sven Oliver Moll [Wed, 31 Aug 2016 18:18:54 +0000 (20:18 +0200)]
4510 support: yet another round up little updates

8 years ago4510 support: added some other small improvements:
Sven Oliver Moll [Tue, 30 Aug 2016 20:58:40 +0000 (22:58 +0200)]
4510 support: added some other small improvements:
- fixed typo in doc/ca65.sgml
- Greg found a way to get rid of one extra opcode handling in total

8 years ago4510 support: fixed some cosmetical stuff and documentation
Sven Oliver Moll [Mon, 29 Aug 2016 21:29:31 +0000 (23:29 +0200)]
4510 support: fixed some cosmetical stuff and documentation

8 years agoAdd 4510 support for C65/C64DX
Sven Oliver Moll [Mon, 29 Aug 2016 08:45:18 +0000 (10:45 +0200)]
Add 4510 support for C65/C64DX

8 years agoMerge pull request #338 from IrgendwerA8/master
Oliver Schmidt [Sun, 28 Aug 2016 09:22:44 +0000 (11:22 +0200)]
Merge pull request #338 from IrgendwerA8/master

Allow use of different charmaps on Atari target

8 years agoInternal/screen character mapping: Supressed warnings for re-map and added documentation. 338/head
IrgendwerA8 [Sat, 27 Aug 2016 20:02:08 +0000 (22:02 +0200)]
Internal/screen character mapping: Supressed warnings for re-map and added documentation.

8 years agoUpdate exehdr.s
alexthissen [Sat, 27 Aug 2016 19:58:13 +0000 (21:58 +0200)]
Update exehdr.s

Fix for memory bank 1 which should be zero for almost all cartridges for emulators to work correctly.

8 years agoMade cc65 not warn us when we change character code 0x00 back to itself.
Greg King [Fri, 26 Aug 2016 11:39:39 +0000 (07:39 -0400)]
Made cc65 not warn us when we change character code 0x00 back to itself.

8 years agoAdded -Wc to the (pseudo) output dump.
Oliver Schmidt [Fri, 26 Aug 2016 09:06:58 +0000 (11:06 +0200)]
Added -Wc to the (pseudo) output dump.

8 years agoMerge pull request #336 from cacciatc/switch-error-fix
Oliver Schmidt [Sun, 21 Aug 2016 13:07:42 +0000 (15:07 +0200)]
Merge pull request #336 from cacciatc/switch-error-fix

Switch error fix