Rename project from TI-NESulator to peTI-NESulator
And update all headers accordingly
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
@@ -28,48 +28,48 @@ option(COVERALLS "Generate coveralls data" OFF)
|
||||
# Link & Compile flags
|
||||
##########################
|
||||
|
||||
set (CMAKE_C_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-unused-result -Werror ${PLATFORM_FLAGS}")
|
||||
set (CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-unused-result -Werror ${PLATFORM_FLAGS}")
|
||||
set(CMAKE_C_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-unused-result -Werror ${PLATFORM_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-unused-result -Werror ${PLATFORM_FLAGS}")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/external/coveralls-cmake/cmake)
|
||||
|
||||
add_executable(tines main.c paddle.c NESCarts.c)
|
||||
add_executable(petines main.c paddle.c NESCarts.c)
|
||||
|
||||
add_definitions (-DNO_DECIMAL)
|
||||
add_definitions(-DNO_DECIMAL)
|
||||
|
||||
if (PPU_ISPAL)
|
||||
add_definitions (-DISPAL)
|
||||
add_definitions(-DISPAL)
|
||||
else (PPU_ISPAL)
|
||||
add_definitions (-DISNTSC)
|
||||
add_definitions(-DISNTSC)
|
||||
endif (PPU_ISPAL)
|
||||
|
||||
if (Q6502_DEBUGGER)
|
||||
add_definitions (-DDEBUG)
|
||||
add_definitions(-DDEBUG)
|
||||
endif (Q6502_DEBUGGER)
|
||||
|
||||
if (USE_SOUND)
|
||||
add_definitions (-DUSE_SOUND)
|
||||
add_definitions(-DUSE_SOUND)
|
||||
endif (USE_SOUND)
|
||||
|
||||
if (DETECT_BUS_CONFLICT)
|
||||
add_definitions (-DDETECT_BUS_CONFLICT)
|
||||
add_definitions(-DDETECT_BUS_CONFLICT)
|
||||
endif (DETECT_BUS_CONFLICT)
|
||||
|
||||
if (USE_PROFILING)
|
||||
if (CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Debug info is forced" FORCE)
|
||||
else(CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Debug info is forced" FORCE)
|
||||
endif(CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
if (CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Debug info is forced" FORCE)
|
||||
else (CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "Debug info is forced" FORCE)
|
||||
endif (CMAKE_BUILD_TYPE MATCHES Rel)
|
||||
|
||||
set(CMAKE_C_FLAGS -pg)
|
||||
set(CMAKE_C_FLAGS -pg)
|
||||
endif (USE_PROFILING)
|
||||
|
||||
if (COVERALLS)
|
||||
add_definitions (-DRUN_COVERAGE)
|
||||
include(Coveralls)
|
||||
coveralls_turn_on_coverage()
|
||||
endif()
|
||||
add_definitions(-DRUN_COVERAGE)
|
||||
include(Coveralls)
|
||||
coveralls_turn_on_coverage()
|
||||
endif ()
|
||||
|
||||
include_directories(include)
|
||||
|
||||
@@ -82,11 +82,11 @@ add_subdirectory(ppu)
|
||||
|
||||
|
||||
if (TARGET_TI68k)
|
||||
add_subdirectory(os/ti68k)
|
||||
add_subdirectory(os/ti68k)
|
||||
elseif (WIN32)
|
||||
add_subdirectory(os/win32)
|
||||
add_subdirectory(os/win32)
|
||||
else (TARGET_TI68k)
|
||||
add_subdirectory(os/unix)
|
||||
add_subdirectory(os/unix)
|
||||
endif (TARGET_TI68k)
|
||||
|
||||
find_library(PTHREADLIB pthread)
|
||||
@@ -96,11 +96,11 @@ if (COVERALLS)
|
||||
|
||||
# Create the coveralls target.
|
||||
coveralls_setup(
|
||||
"${COVERAGE_SRCS}" # The source files.
|
||||
ON # If we should upload.
|
||||
) # (Optional) Alternate project cmake module path.
|
||||
endif()
|
||||
"${COVERAGE_SRCS}" # The source files.
|
||||
ON # If we should upload.
|
||||
) # (Optional) Alternate project cmake module path.
|
||||
endif ()
|
||||
|
||||
target_link_libraries(tines apu corecpu mappermanager memorymanager pluginsmanager ppu oslib ${PTHREADLIB})
|
||||
target_link_libraries(petines apu corecpu mappermanager memorymanager pluginsmanager ppu oslib ${PTHREADLIB})
|
||||
|
||||
add_test(NAME tines_test COMMAND $<TARGET_FILE:tines> ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes)
|
||||
add_test(NAME petines_test COMMAND $<TARGET_FILE:petines> ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Cart manager - The TI-NESulator Project
|
||||
* Cart manager - The peTI-NESulator Project
|
||||
* NESCart.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <tigcclib.h>
|
||||
#endif
|
||||
|
||||
/* TI-NES headers */
|
||||
/* peTI-NESulator headers */
|
||||
#include <os_dependent.h>
|
||||
#include <NESCarts.h>
|
||||
#include <os_dependent.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Allegro Sound Driver for EMULib Sound system - The TI-NESulator Project
|
||||
* Allegro Sound Driver for EMULib Sound system - The peTI-NESulator Project
|
||||
* SndAlleg.C
|
||||
*
|
||||
* Created by Manoel Trapier
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2008 986Corp. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Cart manager - The TI-NESulator Project
|
||||
* Cart manager - The peTI-NESulator Project
|
||||
* NESCart.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Mappers manager & facilities - The TI-NESulator Project
|
||||
* Mappers manager & facilities - The peTI-NESulator Project
|
||||
* mappers.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 6502 Memory manager - The TI-NESulator Project
|
||||
* 6502 Memory manager - The peTI-NESulator Project
|
||||
* memory.h - Taken from the Quick6502 project
|
||||
*
|
||||
* Created by Manoel Trapier on 18/09/06.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* OS Dependent functions - The TI-NESulator Project
|
||||
* OS Dependent functions - The peTI-NESulator Project
|
||||
* os_dependent.h
|
||||
*
|
||||
* Created by Manoel TRAPIER on 08/05/08.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Paddle manager - The TI-NESulator Project
|
||||
* Paddle manager - The peTI-NESulator Project
|
||||
* paddle.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Plugins manager - The TI-NESulator Project
|
||||
* Plugins manager - The peTI-NESulator Project
|
||||
* plugins.h
|
||||
*
|
||||
* Created by Manoel TRAPIER on 02/04/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU debug utilities - The TI-NESulator Project
|
||||
* PPU debug utilities - The peTI-NESulator Project
|
||||
* ppu.debug.h
|
||||
*
|
||||
* Created by Manoel Trapier on 12/04/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.h
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU Memory manager - The TI-NESulator Project
|
||||
* PPU Memory manager - The peTI-NESulator Project
|
||||
* ppu.memory.h - Inspired from the memory manager of the Quick6502 Project.
|
||||
*
|
||||
* Created by Manoel Trapier on 12/04/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Base type definitions - The TI-NESulator Project
|
||||
* Base type definitions - The peTI-NESulator Project
|
||||
* types.h - Taken from the Quick6502 project
|
||||
*
|
||||
* Created by Manoel Trapier on 18/09/06.
|
||||
|
||||
18
src/main.c
18
src/main.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Main application source file - The TI-NESulator Project
|
||||
* Main application source file - The peTI-NESulator Project
|
||||
* main.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
/* TI-NES modules includes */
|
||||
/* peTI-NESulator modules includes */
|
||||
#include <os_dependent.h>
|
||||
|
||||
#include <corecpu.h>
|
||||
@@ -71,7 +71,7 @@ double APU_BASEFREQ = 1.7897725;
|
||||
|
||||
//#define MEMORY_TEST
|
||||
|
||||
/* TI-NESulator Version */
|
||||
/* peTI-NESulator Version */
|
||||
#if !defined(V_MAJOR) || !defined(V_MINOR) || !defined(V_MICRO)
|
||||
#error Something wrong with your building tools
|
||||
#endif
|
||||
@@ -294,7 +294,7 @@ void signalhandler(int sig)
|
||||
|
||||
if (fp) console_printf(Console_Error,
|
||||
"\n\n\n\n\n"
|
||||
"#sick# TI-NESulator %d.%d.%d%s #sick#\n"
|
||||
"#sick# peTI-NESulator %d.%d.%d%s #sick#\n"
|
||||
"see %s for more information",
|
||||
V_MAJOR, V_MINOR, V_MICRO, V_TEXT,
|
||||
name);
|
||||
@@ -302,7 +302,7 @@ void signalhandler(int sig)
|
||||
if (!fp) fp = stderr;
|
||||
|
||||
fprintf(fp,"\n\n\n\n\n"
|
||||
"#sick# TI-NESulator %d.%d.%d%s #sick# signal: ",
|
||||
"#sick# peTI-NESulator %d.%d.%d%s #sick# signal: ",
|
||||
V_MAJOR, V_MINOR, V_MICRO, V_TEXT);
|
||||
switch(sig)
|
||||
{
|
||||
@@ -640,8 +640,8 @@ int main(int argc, char *argv[])
|
||||
console_init(Console_Debug);
|
||||
/* Print the banner */
|
||||
console_printf(Console_Default, "--------------------------------------------------------------------------------\n"
|
||||
"Welcome to TI-NESulator v%d.%d.%d%s - by Godzil\n"
|
||||
"Copyright 2003-2018 TRAPIER Manoel (godzil@godzil.net)\n"
|
||||
"Welcome to peTI-NESulator v%d.%d.%d%s - by Godzil`\n"
|
||||
"Copyright 2003-2018 Manoel TRAPIER (petines@godzil.net)\n"
|
||||
"--------------------------------------------------------------------------------\n\n",
|
||||
V_MAJOR, V_MINOR, V_MICRO, V_TEXT);
|
||||
|
||||
@@ -862,7 +862,7 @@ int main(int argc, char *argv[])
|
||||
int fd;
|
||||
console_printf(Console_Default, "Loading FDS ROM...\t\t");
|
||||
fd = open("../data/disksys.rom", O_RDONLY);
|
||||
//fd = open("TI-NESulator.app/Contents/Resources/disksys.rom", O_RDONLY);
|
||||
//fd = open("peTI-NESulator.app/Contents/Resources/disksys.rom", O_RDONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
console_printf(Console_Error, "Can't find FDS ROM...\n");
|
||||
@@ -1100,7 +1100,7 @@ void Loop6502(quick6502_cpu *R)
|
||||
delta += (timeStart.tv_usec - timeEnd.tv_usec);
|
||||
delta = WaitTime - delta;
|
||||
|
||||
/* To avoid strange time warp when stoping emulation or using acceleration a lot */
|
||||
/* To avoid strange time warp when stopping emulation or using acceleration a lot */
|
||||
if ((delta > 10000) || (delta < -10000))
|
||||
delta = 0;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Mapper manager - The TI-NESulator Project
|
||||
* Mapper manager - The peTI-NESulator Project
|
||||
* manager.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* AOROM Mapper - The TI-NESulator Project
|
||||
* AOROM Mapper - The peTI-NESulator Project
|
||||
* aorom.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* AOROM Mapper - The TI-NESulator Project
|
||||
* AOROM Mapper - The peTI-NESulator Project
|
||||
* aorom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* CNROM Mapper - The TI-NESulator Project
|
||||
* CNROM Mapper - The peTI-NESulator Project
|
||||
* cnrom.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* CNROM Mapper - The TI-NESulator Project
|
||||
* CNROM Mapper - The peTI-NESulator Project
|
||||
* cnrom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Generic mapper implementation - The TI-NESulator Project
|
||||
* Generic mapper implementation - The peTI-NESulator Project
|
||||
* genericmapper.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* IREMH3001 Mapper - The TI-NESulator Project
|
||||
* IREMH3001 Mapper - The peTI-NESulator Project
|
||||
* iremh3001.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* IREMH3001 Mapper - The TI-NESulator Project
|
||||
* IREMH3001 Mapper - The peTI-NESulator Project
|
||||
* iremh3001.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC1 Mapper - The TI-NESulator Project
|
||||
* MMC1 Mapper - The peTI-NESulator Project
|
||||
* mmc1.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC1 Mapper - The TI-NESulator Project
|
||||
* MMC1 Mapper - The peTI-NESulator Project
|
||||
* mmc1.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC3 Mapper - The TI-NESulator Project
|
||||
* MMC3 Mapper - The peTI-NESulator Project
|
||||
* mmc3.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC3 Mapper - The TI-NESulator Project
|
||||
* MMC3 Mapper - The peTI-NESulator Project
|
||||
* mmc3.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC4 Mapper - The TI-NESulator Project
|
||||
* MMC4 Mapper - The peTI-NESulator Project
|
||||
* mmc4.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC4 Mapper - The TI-NESulator Project
|
||||
* MMC4 Mapper - The peTI-NESulator Project
|
||||
* mmc4.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* NOROM Mapper - The TI-NESulator Project
|
||||
* NOROM Mapper - The peTI-NESulator Project
|
||||
* norom.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* NOROM Mapper - The TI-NESulator Project
|
||||
* NOROM Mapper - The peTI-NESulator Project
|
||||
* norom.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* UNROM Mapper - The TI-NESulator Project
|
||||
* UNROM Mapper - The peTI-NESulator Project
|
||||
* unrom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* UNROM Mapper - The TI-NESulator Project
|
||||
* UNROM Mapper - The peTI-NESulator Project
|
||||
* unrom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* UNROM Mapper - The TI-NESulator Project
|
||||
* UNROM Mapper - The peTI-NESulator Project
|
||||
* unrom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* UNROM Mapper - The TI-NESulator Project
|
||||
* UNROM Mapper - The peTI-NESulator Project
|
||||
* unrom.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Mapper list - The TI-NESulator Project
|
||||
* Mapper list - The peTI-NESulator Project
|
||||
* mappers_list.h
|
||||
*
|
||||
* Created by Manoel TRAPIER on 25/10/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Generic mapper implementation - The TI-NESulator Project
|
||||
* Generic mapper implementation - The peTI-NESulator Project
|
||||
* genericmapper.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* MMC1 Mapper - The TI-NESulator Project
|
||||
* MMC1 Mapper - The peTI-NESulator Project
|
||||
* mmc1.h
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Mapper facilities - The TI-NESulator Project
|
||||
* Mapper facilities - The peTI-NESulator Project
|
||||
* mappers.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 6502 Memory manager - The TI-NESulator Project
|
||||
* 6502 Memory manager - The peTI-NESulator Project
|
||||
* memory.c - Taken from the Quick6502 project
|
||||
*
|
||||
* Created by Manoel Trapier on 18/09/06.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2008 986Corp. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Graphic Manager - The TI-NESulator Project
|
||||
* Graphic Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoel TRAPIER on 08/05/08.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* IO Manager - The TI-NESulator Project
|
||||
* IO Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoël Trapier on 04/01/09.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* File functions - The TI-NESulator Project
|
||||
* File functions - The peTI-NESulator Project
|
||||
* os/macos/load.c
|
||||
*
|
||||
* Copyright (c) 2003-2008 986Corp. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2008 986Corp. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* TI-68k Loading external file functions - The TI-NESulator Project
|
||||
* TI-68k Loading external file functions - The peTI-NESulator Project
|
||||
* ti68k/loadfile.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Graphic Manager - The TI-NESulator Project
|
||||
* Graphic Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoel TRAPIER on 08/05/08.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Graphic Manager - The TI-NESulator Project
|
||||
* Graphic Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoel TRAPIER on 08/05/08.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* IO Manager - The TI-NESulator Project
|
||||
* IO Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoël Trapier on 04/01/09.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Graphic Manager - The TI-NESulator Project
|
||||
* Graphic Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoel TRAPIER on 08/05/08.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* IO Manager - The TI-NESulator Project
|
||||
* IO Manager - The peTI-NESulator Project
|
||||
* os/macos/graphics.c
|
||||
*
|
||||
* Created by Manoël Trapier on 04/01/09.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Paddle manager - The TI-NESulator Project
|
||||
* Paddle manager - The peTI-NESulator Project
|
||||
* paddle.c
|
||||
*
|
||||
* Created by Manoel TRAPIER.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2018 986-Studio. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Plugins manager - The TI-NESulator Project
|
||||
* Plugins manager - The peTI-NESulator Project
|
||||
* plugins.c
|
||||
*
|
||||
* Created by Manoel TRAPIER on 02/04/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Code Breaker plugin - The TI-NESulator Project
|
||||
* Code Breaker plugin - The peTI-NESulator Project
|
||||
* gamegenie.c: Hack your games with unlimited lives of add new powers!
|
||||
*
|
||||
* Created by Manoel Trapier.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Code Breaker plugin - The TI-NESulator Project
|
||||
* Code Breaker plugin - The peTI-NESulator Project
|
||||
* gamegenie.h
|
||||
*
|
||||
* Created by Manoel Trapier.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Plugin Manager plugint list - The TI-NESulator Project
|
||||
* Plugin Manager plugint list - The peTI-NESulator Project
|
||||
* plugins_list.h
|
||||
*
|
||||
* Created by Manoel Trapier.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# TI-NES CMake
|
||||
# peTI-NESulator CMake
|
||||
#
|
||||
# Created by Manoel TRAPIER.
|
||||
# Copyright (c) 2003-2008 986Corp. All rights reserved.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU Debug utilities - The TI-NESulator Project
|
||||
* PPU Debug utilities - The peTI-NESulator Project
|
||||
* ppu.debug.c
|
||||
*
|
||||
* Created by Manoel Trapier.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* oldppu.c
|
||||
*
|
||||
* Old code for the PPU, still here for unknown purposes
|
||||
@@ -244,7 +244,7 @@ short SprtAddr;
|
||||
px = x + (sprite.flags.HFlip == 1 ? (7 - x1) : x1);
|
||||
if ((i == 0) && (Buffer->line[py][px] != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis <20> pour le d <20> buguage
|
||||
//Ligne utilis <20> pour le d <20> buguage
|
||||
// line(Buffer, 0, py, 256, py, 10);
|
||||
ppu.HitSpriteAt = py + 1;
|
||||
}
|
||||
@@ -297,7 +297,7 @@ short SprtAddr;
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (Buffer->line[py][px] != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//line(Buffer, 0, py+1, 256, py+1, 10);
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -358,7 +358,7 @@ unsigned short SprtTable;
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (Buffer->line[py][px] != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis <20> pour le d<>buguage
|
||||
//Ligne utilis <20> pour le d<>buguage
|
||||
//line(Buffer, 0, py, 256, py, 10);
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -409,7 +409,7 @@ unsigned char XScroll, YScroll;
|
||||
ppu.HitSpriteAt = 255;
|
||||
|
||||
/*
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -742,7 +742,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x1F) == 0x1F)
|
||||
{ /* On met a 0 et change
|
||||
* l'etat du bit 10 */
|
||||
@@ -776,7 +776,7 @@ appeared as a negative scroll value.
|
||||
YScroll++;
|
||||
YScroll &= 7;
|
||||
if (YScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile :| */
|
||||
{ /* On incr<63>mente le compteur de tile :| */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0)
|
||||
{ /* On met a 0 et change l'etat du bit
|
||||
* 10 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.c
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
@@ -305,7 +305,7 @@ void NewPPUDispSprite()
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (_getpixel8(Buffer,px,py) != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//line(Buffer, 0, py+1, 256, py+1, GetColor(10));
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -834,7 +834,7 @@ unsigned char XScroll, YScroll;
|
||||
ppu.HitSpriteAt = 255;
|
||||
|
||||
/*
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -936,7 +936,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x1F) == 0x1F)
|
||||
{ /* On met a 0 et change
|
||||
* l'etat du bit 10 */
|
||||
@@ -970,7 +970,7 @@ appeared as a negative scroll value.
|
||||
YScroll++;
|
||||
YScroll &= 7;
|
||||
if (YScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0)
|
||||
{ /* On met a 0 et change l'etat du bit
|
||||
* 10 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.c
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU Memory manager - The TI-NESulator Project
|
||||
* PPU Memory manager - The peTI-NESulator Project
|
||||
* ppu.memory.c - Inspired from the memory manager of the Quick6502 Project.
|
||||
*
|
||||
* Created by Manoel Trapier on 12/04/07.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.c
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
@@ -275,7 +275,7 @@ void NewPPUDispSprite()
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (Buffer->line[py][px] != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//line(Buffer, 0, py+1, 256, py+1, 10);
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -561,7 +561,7 @@ struct timeval timeStart, timeEnd;
|
||||
ppu.HitSpriteAt = 255;
|
||||
|
||||
/*
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -901,7 +901,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x1F) == 0x1F)
|
||||
{ /* On met a 0 et change
|
||||
* l'etat du bit 10 */
|
||||
@@ -935,7 +935,7 @@ appeared as a negative scroll value.
|
||||
YScroll++;
|
||||
YScroll &= 7;
|
||||
if (YScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile :| */
|
||||
{ /* On incr<63>mente le compteur de tile :| */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0)
|
||||
{ /* On met a 0 et change l'etat du bit
|
||||
* 10 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.c
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
@@ -305,7 +305,7 @@ void NewPPUDispSprite()
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (_getpixel(Buffer,px,py) != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//line(Buffer, 0, py+1, 256, py+1, GetColor(10));
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -837,7 +837,7 @@ unsigned char XScroll, YScroll;
|
||||
ppu.HitSpriteAt = 255;
|
||||
|
||||
/*
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -944,7 +944,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x1F) == 0x1F)
|
||||
{ /* On met a 0 et change
|
||||
* l'etat du bit 10 */
|
||||
@@ -985,7 +985,7 @@ v:0000 0011 1110 0000
|
||||
YScroll++;
|
||||
YScroll &= 7;
|
||||
if (YScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x3E0) == (29<<5))
|
||||
{ /* On met a 0 et change l'etat du bit 11 */
|
||||
ppu.VRAMAddrReg2.W &= ~0x3E0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PPU emulation - The TI-NESulator Project
|
||||
* PPU emulation - The peTI-NESulator Project
|
||||
* ppu.c
|
||||
*
|
||||
* Define and emulate the PPU (Picture Processing Unit) of the real NES
|
||||
@@ -287,7 +287,7 @@ void NewPPUDispSprite()
|
||||
Color = ppu.Memory[0x3F10 + Color];
|
||||
if ((i == 0) && (Buffer->line[py][px] != BgColor) && (ppu.HitSpriteAt == 255))
|
||||
{
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
//Ligne utilis<69> pour le d<>buguage
|
||||
line(Buffer, 0, py+1, 256, py+1, 10);
|
||||
ppu.HitSpriteAt = py+1;
|
||||
}
|
||||
@@ -816,7 +816,7 @@ unsigned char XScroll, YScroll;
|
||||
ppu.HitSpriteAt = 255;
|
||||
|
||||
/*
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<6E> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -918,7 +918,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x1F) == 0x1F)
|
||||
{ /* On met a 0 et change
|
||||
* l'etat du bit 10 */
|
||||
@@ -952,7 +952,7 @@ appeared as a negative scroll value.
|
||||
YScroll++;
|
||||
YScroll &= 7;
|
||||
if (YScroll == 0)
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
{ /* On incr<63>mente le compteur de tile */
|
||||
if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0)
|
||||
{ /* On met a 0 et change l'etat du bit
|
||||
* 10 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* bin to header - Part of The TI-NESulator Project
|
||||
* bin to header - Part of The peTI-NESulator Project
|
||||
* bin2h.c: Convert a binary file to a table of byte in a C header file.
|
||||
*
|
||||
* Created by Manoel Trapier.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Simple TI-NESulator game database importer
|
||||
Simple peTI-NESulator game database importer
|
||||
|
||||
This python application will generate a XML file on the output with all information needed to import in the TI-NESulator
|
||||
This python application will generate a XML file on the output with all information needed to import in the peTI-NESulator
|
||||
game database.
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user