1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00
cc65/cfg
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
..
apple2-asm.cfg Harmonized asm linker configs. 2016-03-17 21:51:20 +01:00
apple2-overlay.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
apple2-system.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
apple2.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
apple2enh-asm.cfg Harmonized asm linker configs. 2016-03-17 21:51:20 +01:00
apple2enh-overlay.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
apple2enh-system.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
apple2enh.cfg Moved run location of ONCE segment. 2016-03-17 21:07:19 +01:00
atari-asm.cfg Harmonized asm linker configs. 2016-03-17 21:51:20 +01:00
atari-cart.cfg Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
atari-cassette.cfg make BSS segment optional in atari-cassette.cfg 2016-05-25 01:29:00 +02:00
atari-overlay.cfg Fixed INIT properties. 2016-03-13 22:18:51 +01:00
atari.cfg Fixed INIT properties. 2016-03-13 22:18:51 +01:00
atari5200.cfg Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
atarixl-largehimem.cfg Fixed INIT properties. 2016-03-13 22:18:51 +01:00
atarixl-overlay.cfg Fixed INIT properties. 2016-03-13 22:18:51 +01:00
atarixl.cfg Fixed INIT properties. 2016-03-13 22:18:51 +01:00
atmos.cfg Converted the Atmos configuration to the new constructor segment model. 2016-03-18 11:28:56 -04:00
bbc.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
c16.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
c64-asm.cfg Harmonized asm linker configs. 2016-03-17 21:51:20 +01:00
c64-overlay.cfg Cleaned up C64 linker configs. 2016-03-13 14:32:07 +01:00
c64.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
c128-overlay.cfg Removed symbol definition for ONCE. 2016-03-15 22:55:34 +01:00
c128.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
cbm510.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
cbm610.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
gamate.cfg Removed symbol definition for ONCE. 2016-03-15 22:55:34 +01:00
geos-apple.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
geos-cbm.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
lunix.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
lynx-bll.cfg Fixed last linefeed and notation convention errors. 2016-09-13 22:02:37 +02:00
lynx-coll.cfg Fixed last linefeed and notation convention errors. 2016-09-13 22:02:37 +02:00
lynx-uploader.cfg Fixed last linefeed and notation convention errors. 2016-09-13 22:02:37 +02:00
lynx.cfg Fixed last linefeed and notation convention errors. 2016-09-13 22:02:37 +02:00
module.cfg Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
nes.cfg NES memory map amend (16k prg, 8k chr default) 2016-12-24 08:32:54 +11:00
none.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
osic1p-asm.cfg Harmonized asm linker configs. 2016-03-17 21:51:20 +01:00
osic1p.cfg Removed symbol definition for ONCE. 2016-03-15 22:55:34 +01:00
pce.cfg Removed symbol definition for ONCE. 2016-03-15 22:55:34 +01:00
pet.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
plus4.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
sim65c02.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
sim6502.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
supervision-16k.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
supervision-64k.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
supervision-128k.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
supervision.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
vic20-32k.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00
vic20.cfg Consider the segment attributes 'define' and 'optional' mutually exclusive. 2016-03-17 21:31:43 +01:00