Skip to content

Commit

Permalink
V4.6a - more games added to the new CZ80 CPU core and speedup of Z80 …
Browse files Browse the repository at this point in the history
…core.
  • Loading branch information
wavemotion-dave committed Dec 22, 2021
1 parent 2afcea1 commit 52577a3
Show file tree
Hide file tree
Showing 10 changed files with 1,116 additions and 1,109 deletions.
Binary file modified ColecoDS.nds
Binary file not shown.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(DEVKITARM)/ds_rules

export TARGET := ColecoDS
export TOPDIR := $(CURDIR)
export VERSION := 4.6
export VERSION := 4.6a

ICON := -b $(CURDIR)/logo.bmp "ColecoDS $(VERSION);wavemotion-dave;https://github.com/wavemotion-dave/ColecoDS"

Expand Down
7 changes: 6 additions & 1 deletion arm9/source/colecoDS.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@

#include "cpu/sn76496/SN76496.h"
#include "cpu/sn76496/Fake_AY.h"
#include "cpu/z80/Z80.h"
extern Z80 CPU;


// --------------------------------------------------------------------------
// This is the full 64K coleco memory map.
Expand Down Expand Up @@ -347,7 +350,9 @@ void ResetColecovision(void)
sn76496W(0xB0 | 0x0F ,&aycol); // Write new Volume for Channel B (off)
sn76496W(0xD0 | 0x0F ,&aycol); // Write new Volume for Channel C (off)

DrZ80_Reset(); // Reset the Z80 CPU Core
DrZ80_Reset(); // Reset the Z80 CPU Core
CPU.IPeriod = TMS9918_LINE;
ResetZ80(&CPU); // Reset the CZ80 core CPU

memset(pColecoMem+0x2000, 0xFF, 0x6000); // Reset non-mapped area between BIOS and RAM - SGM RAM might map here

Expand Down
1 change: 1 addition & 0 deletions arm9/source/colecogeneric.c
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ void SetDefaultGameConfig(void)
(file_crc == 0x260cdf98) || // Super Pac-Mans
(file_crc == 0xae209065) || // Super Space Acer
(file_crc == 0xbc8320a0) || // Uridium
(file_crc == 0xa7a8d25e) || // Vanguard
(file_crc == 0x530c586f) // Vexxed
)
{
Expand Down
Loading

0 comments on commit 52577a3

Please sign in to comment.