1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
Commit Graph

6982 Commits

Author SHA1 Message Date
Oliver Schmidt
251f8cf229 Merge pull request #368 from greg-king5/tgi-mouse
Add a way to show the default mouse pointer on C64 TGI  screens.
2017-01-20 11:21:09 +01:00
Greg King
54ff808c2c Added a way to show the default mouse pointer on C64 TGI (graphics) screens. 2017-01-18 16:05:47 -05:00
Oliver Schmidt
977bca922b Merge pull request #365 from FlorentFlament/master
Add C support for Atari 2600 (VCS)
2017-01-16 16:26:48 +01:00
Florent Flament
2a81eaa06e Add Atari 2600 documentation 2017-01-15 20:53:34 +01:00
Florent Flament
3d52856dd2 Add Atari2600 ASM header (.inc) files 2017-01-15 12:09:38 +01:00
Florent Flament
c1aac0de0e Add C support for Atari 2600 (VCS) 2017-01-13 21:12:22 +01:00
Oliver Schmidt
1fc2dfb64f Merge pull request #363 from kylophone/master
doc/ca65: fix typo
2016-12-27 22:27:00 +01:00
Kyle Swanson
1b4a7e37ce doc/ca65: fix typo 2016-12-27 11:46:12 -06:00
Oliver Schmidt
5878155b68 Merge pull request #361 from marshallward/master
NES memory map amend (16k prg, 8k chr default)
2016-12-25 12:42:56 +01:00
Marshall Ward
09495519c0 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.
2016-12-24 08:32:54 +11:00
Oliver Schmidt
4b78364b8b Merge pull request #360 from cacciatc/master
Added 'any' to --list-opt-steps.
2016-12-15 22:53:08 +01:00
Chris Cacciatore
66b30f0c7a Added 'any' to --list-opt-steps. 2016-12-15 09:06:15 -08:00
Oliver Schmidt
b53206cde7 Merge pull request #359 from peterferrie/master
fix build break on da65
2016-12-04 13:12:49 +01:00
Peter Ferrie
8a08413263 fix build break on da65 2016-12-03 20:54:14 -08:00
greg-king5
f4c51046f0 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>
2016-11-26 17:30:38 -05:00
Alan Cox
e4aee2ba34 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>
2016-11-20 18:02:45 +00:00
Alan Cox
6ee1fd2a67 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>
2016-11-19 13:02:19 +00:00
Oliver Schmidt
79e1b25c6c Removed DEL as suggested by Greg. 2016-10-16 13:47:31 +02:00
Oliver Schmidt
dfbd96f09e Make use of doesclrscrafterexit(). 2016-10-15 15:47:25 +02:00
greg-king5
23cfb51e72 Shorten a URL. 2016-09-29 20:00:09 -04:00
Oliver Schmidt
4ea6e38c20 Merge pull request #353 from SvOlli/da65
da65: adding support for 4510 cpu of c65
2016-09-27 14:56:28 +02:00
Sven Oliver Moll
476260a6fa 4510 support for da65: fixed docs and Makefile for testcase. 2016-09-27 12:02:57 +02:00
Sven Oliver Moll
2d76d0a657 da65: 4510 support
- cleaned up unnecessary static function
- adjusted table formatting
2016-09-23 13:10:38 +02:00
Oliver Schmidt
bc94d53514 Merge pull request #354 from sur5r/master
Add missing tag and remove duplicate text
2016-09-23 11:34:50 +02:00
Jakob Haufe
86fc0240a9
Add missing tag and remove duplicate text 2016-09-23 10:50:46 +02:00
Sven Oliver Moll
d0ed84c2d0 da65: adding support for 4510 cpu of c65 2016-09-20 17:37:10 +02:00
Oliver Schmidt
819ecbda26 Merge pull request #348 from SvOlli/release
ca65: added .P4510 and .IFP4510 pseudo commands
2016-09-20 16:19:45 +02:00
Oliver Schmidt
709ee6a28b Merge pull request #341 from alexthissen/master
Update exehdr.s for Lynx target
2016-09-14 10:23:44 +02:00
Alex Thissen
601c6102e8 Fixed last linefeed and notation convention errors. 2016-09-13 22:02:37 +02:00
Sven Oliver Moll
bcdd190020 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 2016-09-13 11:54:56 +02:00
Sven Oliver Moll
95a2f4b9dd re-adding WORKDIR to Makefile
- added workaround to remove *.o files after assembling
- also removed now obsolete clean target
2016-09-13 11:28:11 +02:00
Sven Oliver Moll
aaa26c7d57 Revert "test/assembler: removed WORKDIR variable, as remote assembling does only work partly"
This reverts commit 7a9a7c3188.
2016-09-13 11:21:25 +02:00
Oliver Schmidt
8b7767b748 Merge pull request #349 from groessler/something_to_pull
Atari: fix lookup of default device on XDOS.
2016-09-13 10:27:48 +02:00
Christian Groessler
6198e10f67 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).
2016-09-12 23:40:25 +02:00
Sven Oliver Moll
0949b2e104 added missing ',' in documentation. 2016-09-12 18:38:10 +02:00
Alex Thissen
ef7e9db116 Changed __BLOCKSIZE__ to __BANK0BLOCKSIZE__.
Added __BANK1BLOCKSIZE__ which defaults to 0.
2016-09-11 22:26:52 +02:00
Sven Oliver Moll
a5772f7dc3 added forgotten testcase for testing cpu based conditional assembling 2016-09-07 19:49:21 +02:00
Sven Oliver Moll
c0d2643952 added 4510 cpu detection to getcpu.s 2016-09-07 19:44:11 +02:00
Sven Oliver Moll
7a9a7c3188 test/assembler: removed WORKDIR variable, as remote assembling does only work partly 2016-09-07 19:41:37 +02:00
Sven Oliver Moll
ae3f9bbd77 Added assembler pseudo commands .P4510 and .IFP4510 together with docs and testcase 2016-09-07 19:21:24 +02: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
Oliver Schmidt
32d4937363 Merge pull request #347 from groessler/something_to_pull
Fix some typos.
2016-09-06 17:59:12 +02:00
Christian Groessler
3531bcbf3e Fix some typos. 2016-09-06 15:13:44 +02:00
Sven Oliver Moll
f007fc13d5 added README for test/assembler 2016-09-06 14:54:21 +02:00
Oliver Schmidt
00a9406bb4 Merge pull request #344 from greg-king5/huc6280-disassembler
Fix some bugs in the da65 disassembler's HuC6280 section.
2016-09-04 12:25:28 +02:00
Oliver Schmidt
896b7c1116 Added comment about commented-out value. 2016-09-04 12:22:11 +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
greg-king5
a982e434f2 Added commented placeholder for future Mitsubishi 740 CPU in "cpu.mac". 2016-09-02 17:55:39 -04:00
Greg King
4b2e3be2fc Fixed some bugs in da65's HuC6280 section. 2016-09-02 14:24:29 -04:00
Greg King
579b89ad98 Skipped the bit flag for the (not implemented) Mitsubishi 740 in "cpu.mac". 2016-08-31 20:41:17 -04:00