mirror of
https://github.com/wavemotion-dave/SpeccySE.git
synced 2025-06-18 13:55:33 -04:00
Rebranding to Speccy-SE
This commit is contained in:
parent
8a52223f2a
commit
61c8488e7c
4
Makefile
4
Makefile
@ -13,11 +13,11 @@ endif
|
||||
|
||||
include $(DEVKITARM)/ds_rules
|
||||
|
||||
export TARGET := SpeccyDS
|
||||
export TARGET := SpeccySE
|
||||
export TOPDIR := $(CURDIR)
|
||||
export VERSION := 0.6b
|
||||
|
||||
ICON := -b $(CURDIR)/logo.bmp "SpeccyDS $(VERSION);wavemotion-dave;https://github.com/wavemotion-dave/SpeccyDS"
|
||||
ICON := -b $(CURDIR)/logo.bmp "SpeccySE $(VERSION);wavemotion-dave;https://github.com/wavemotion-dave/SpeccySE"
|
||||
|
||||
.PHONY: $(TARGET).arm7 $(TARGET).arm9
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and Marat
|
||||
// Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
#include <stdio.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave (Phoenix-Edition),
|
||||
// Alekmaul (original port) and Marat Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty.
|
||||
// The SpeccySE emulator is offered as-is, without any warranty.
|
||||
// =====================================================================================
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and Marat
|
||||
// Fayzullin (Z80 core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <unistd.h>
|
||||
#include <maxmod9.h>
|
||||
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "SpeccyUtils.h"
|
||||
#include "topscreen.h"
|
||||
#include "mainmenu.h"
|
||||
@ -229,7 +229,7 @@ u8 showMessage(char *szCh1, char *szCh2)
|
||||
return uRet;
|
||||
}
|
||||
|
||||
void SpeccyDSModeNormal(void) {
|
||||
void SpeccySEModeNormal(void) {
|
||||
REG_BG3CNT = BG_BMP8_256x256;
|
||||
REG_BG3PA = (1<<8);
|
||||
REG_BG3PB = 0;
|
||||
@ -242,11 +242,11 @@ void SpeccyDSModeNormal(void) {
|
||||
//*****************************************************************************
|
||||
// Put the top screen in refocused bitmap mode
|
||||
//*****************************************************************************
|
||||
void SpeccyDSInitScreenUp(void) {
|
||||
void SpeccySEInitScreenUp(void) {
|
||||
videoSetMode(MODE_5_2D | DISPLAY_BG3_ACTIVE);
|
||||
vramSetBankA(VRAM_A_MAIN_BG_0x06000000);
|
||||
vramSetBankB(VRAM_B_MAIN_SPRITE);
|
||||
SpeccyDSModeNormal();
|
||||
SpeccySEModeNormal();
|
||||
}
|
||||
|
||||
/*********************************************************************************
|
||||
@ -629,7 +629,7 @@ u8 speccyDSLoadFile(u8 bTapeOnly)
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Write out the SpeccyDS.DAT configuration file to capture the settings for
|
||||
// Write out the SpeccySE.DAT configuration file to capture the settings for
|
||||
// each game. This one file contains global settings ~1000 game settings.
|
||||
// ---------------------------------------------------------------------------
|
||||
void SaveConfig(bool bShow)
|
||||
@ -678,7 +678,7 @@ void SaveConfig(bool bShow)
|
||||
{
|
||||
mkdir("/data", 0777); // Doesn't exist - make it...
|
||||
}
|
||||
fp = fopen("/data/SpeccyDS.DAT", "wb+");
|
||||
fp = fopen("/data/SpeccySE.DAT", "wb+");
|
||||
if (fp != NULL)
|
||||
{
|
||||
fwrite(&myGlobalConfig, sizeof(myGlobalConfig), 1, fp); // Write the global config
|
||||
@ -812,7 +812,7 @@ void SetDefaultGameConfig(void)
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// Load configuration into memory where we can use it.
|
||||
// The configuration is stored in SpeccyDS.DAT
|
||||
// The configuration is stored in SpeccySE.DAT
|
||||
// ----------------------------------------------------------
|
||||
void LoadConfig(void)
|
||||
{
|
||||
@ -822,9 +822,9 @@ void LoadConfig(void)
|
||||
// -----------------------------------------------------------------
|
||||
SetDefaultGameConfig();
|
||||
|
||||
if (ReadFileCarefully("/data/SpeccyDS.DAT", (u8*)&myGlobalConfig, sizeof(myGlobalConfig), 0)) // Read Global Config
|
||||
if (ReadFileCarefully("/data/SpeccySE.DAT", (u8*)&myGlobalConfig, sizeof(myGlobalConfig), 0)) // Read Global Config
|
||||
{
|
||||
ReadFileCarefully("/data/SpeccyDS.DAT", (u8*)&AllConfigs, sizeof(AllConfigs), sizeof(myGlobalConfig)); // Read the full game array of configs
|
||||
ReadFileCarefully("/data/SpeccySE.DAT", (u8*)&AllConfigs, sizeof(AllConfigs), sizeof(myGlobalConfig)); // Read the full game array of configs
|
||||
|
||||
if (myGlobalConfig.config_ver != CONFIG_VER)
|
||||
{
|
||||
@ -934,7 +934,7 @@ u8 display_options_list(bool bFullDisplay)
|
||||
//*****************************************************************************
|
||||
// Change Game Options for the current game
|
||||
//*****************************************************************************
|
||||
void SpeccyDSGameOptions(bool bIsGlobal)
|
||||
void SpeccySEGameOptions(bool bIsGlobal)
|
||||
{
|
||||
u8 optionHighlighted;
|
||||
u8 idx;
|
||||
@ -1073,7 +1073,7 @@ void SwapKeymap(void)
|
||||
// Allow the user to change the key map for the current game and give them
|
||||
// the option of writing that keymap out to a configuration file for the game.
|
||||
// ------------------------------------------------------------------------------
|
||||
void SpeccyDSChangeKeymap(void)
|
||||
void SpeccySEChangeKeymap(void)
|
||||
{
|
||||
u32 ucHaut=0x00, ucBas=0x00,ucL=0x00,ucR=0x00,ucY= 6, bOK=0, bIndTch=0;
|
||||
|
||||
@ -1440,7 +1440,7 @@ void speccyDSChangeOptions(void)
|
||||
case 9 : // REDEFINE KEYS
|
||||
if (ucGameChoice != -1)
|
||||
{
|
||||
SpeccyDSChangeKeymap();
|
||||
SpeccySEChangeKeymap();
|
||||
BottomScreenOptions();
|
||||
dispInfoOptions(ucY);
|
||||
DisplayFileName();
|
||||
@ -1453,7 +1453,7 @@ void speccyDSChangeOptions(void)
|
||||
case 11 : // GAME OPTIONS
|
||||
if (ucGameChoice != -1)
|
||||
{
|
||||
SpeccyDSGameOptions(false);
|
||||
SpeccySEGameOptions(false);
|
||||
BottomScreenOptions();
|
||||
dispInfoOptions(ucY);
|
||||
DisplayFileName();
|
||||
@ -1465,7 +1465,7 @@ void speccyDSChangeOptions(void)
|
||||
break;
|
||||
|
||||
case 13 : // GLOBAL OPTIONS
|
||||
SpeccyDSGameOptions(true);
|
||||
SpeccySEGameOptions(true);
|
||||
BottomScreenOptions();
|
||||
dispInfoOptions(ucY);
|
||||
DisplayFileName();
|
||||
@ -1788,7 +1788,7 @@ void PatchZ80(register Z80 *r)
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------
|
||||
// Trap and report illegal opcodes to the SpeccyDS debugger...
|
||||
// Trap and report illegal opcodes to the SpeccySE debugger...
|
||||
// -----------------------------------------------------------------
|
||||
void Trap_Bad_Ops(char *prefix, byte I, word W)
|
||||
{
|
||||
|
@ -6,12 +6,12 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and Marat
|
||||
// Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#ifndef _SPECCY_UTILS_H_
|
||||
#define _SPECCY_UTILS_H_
|
||||
#include <nds.h>
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "cpu/z80/Z80_interface.h"
|
||||
#include "cpu/ay38910/AY38910.h"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/******************************************************************************
|
||||
* SpeccyDS Z80 CPU
|
||||
* SpeccySE Z80 CPU
|
||||
*
|
||||
* Note: Most of this file is from the ColEm emulator core by Marat Fayzullin
|
||||
* but heavily modified for specific NDS use. If you want to use this
|
||||
|
@ -1,5 +1,5 @@
|
||||
/******************************************************************************
|
||||
* SpeccyDS Z80 CPU
|
||||
* SpeccySE Z80 CPU
|
||||
*
|
||||
* Note: Most of this file is from the ColEm emulator core by Marat Fayzullin
|
||||
* but heavily modified for specific NDS use. If you want to use this
|
||||
|
@ -1,5 +1,5 @@
|
||||
/******************************************************************************
|
||||
* SpeccyDS Z80 CPU
|
||||
* SpeccySE Z80 CPU
|
||||
*
|
||||
* Note: Most of this file is from the ColEm emulator core by Marat Fayzullin
|
||||
* but heavily modified for specific NDS use. If you want to use this
|
||||
|
@ -6,14 +6,14 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave (Phoenix-Edition),
|
||||
// Alekmaul (original port) and Marat Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
#include <stdio.h>
|
||||
#include <fat.h>
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "SpeccyUtils.h"
|
||||
#include "printf.h"
|
||||
|
||||
@ -111,7 +111,7 @@ void highscore_init(void)
|
||||
// ------------------------------------------------------
|
||||
// See if the high score file exists... if so, read it!
|
||||
// ------------------------------------------------------
|
||||
if (ReadFileCarefully("/data/SpeccyDS.hi", (u8*)&highscores, sizeof(highscores), 0))
|
||||
if (ReadFileCarefully("/data/SpeccySE.hi", (u8*)&highscores, sizeof(highscores), 0))
|
||||
{
|
||||
// --------------------------------------------
|
||||
// If the high score version is wrong or if
|
||||
@ -198,7 +198,7 @@ void highscore_save(void)
|
||||
// -------------------------------------------------------
|
||||
// Open file in binary mode... overwrite if it exists...
|
||||
// -------------------------------------------------------
|
||||
fp = fopen("/data/SpeccyDS.hi", "wb+");
|
||||
fp = fopen("/data/SpeccySE.hi", "wb+");
|
||||
if (fp != NULL)
|
||||
{
|
||||
// -----------------------------------------
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave (Phoenix-Edition),
|
||||
// Alekmaul (original port) and Marat Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty.
|
||||
// The SpeccySE emulator is offered as-is, without any warranty.
|
||||
// =====================================================================================
|
||||
|
||||
#ifndef __HIGHSCORE_H
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave (Phoenix-Edition),
|
||||
// Alekmaul (original port) and Marat Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <fat.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "CRC32.h"
|
||||
#include "cpu/z80/Z80_interface.h"
|
||||
#include "SpeccyUtils.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and
|
||||
// Marat Fayzullin (ColEM core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
|
||||
// Borrowed from Godemode9i from Rocket Robz
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and Marat
|
||||
// Fayzullin (Z80 core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <fat.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "CRC32.h"
|
||||
#include "cpu/z80/Z80_interface.h"
|
||||
#include "SpeccyUtils.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// royalty provided this copyright notice is used and wavemotion-dave and Marat
|
||||
// Fayzullin (Z80 core) are thanked profusely.
|
||||
//
|
||||
// The SpeccyDS emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// The SpeccySE emulator is offered as-is, without any warranty. Please see readme.md
|
||||
// =====================================================================================
|
||||
#include <nds.h>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include "SpeccyDS.h"
|
||||
#include "SpeccySE.h"
|
||||
#include "CRC32.h"
|
||||
#include "cpu/z80/Z80_interface.h"
|
||||
#include "SpeccyUtils.h"
|
||||
|
Loading…
Reference in New Issue
Block a user