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 986Corp. All rights reserved.
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
|
||||
project (TINES)
|
||||
project (peTI-NESulator)
|
||||
|
||||
# External cmake modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/external/cmake ${CMAKE_MODULE_PATH})
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
TI-NESulator
|
||||
peTI-NESulator
|
||||
============
|
||||
|
||||
[](https://coveralls.io/github/Godzil/TI-NESulator?branch=master) [](https://codecov.io/gh/Godzil/TI-NESulator) [](https://travis-ci.org/Godzil/TI-NESulator)
|
||||
[](https://coveralls.io/github/Godzil/peTI-NESulator?branch=master) [](https://codecov.io/gh/Godzil/peTI-NESulator) [](https://travis-ci.org/Godzil/peTI-NESulator)
|
||||
|
||||
This is a cleaned version of the TI-NESulator repository (all non free data has been removed)
|
||||
This is a cleaned version of the peTI-NESulator repository (all non free data has been removed)
|
||||
|
||||
Some part of the original subversion has been lost because of harddrive crash so the
|
||||
early stage of the project is completely lost. Or I would need to check all the
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
TI-NESulator
|
||||
peTI-NESulator
|
||||
============
|
||||
|
||||
This is a cleaned version of the TI-NESulator repository (all data has been removed)
|
||||
This is a cleaned version of the peTI-NESulator repository (all data has been removed)
|
||||
|
||||
Some part of the original subversion has been lost because of harddrive crash so the
|
||||
early stage of the project is completely lost. Or I would need to check all the
|
||||
|
||||
152
doc/LisezMoi.txt
152
doc/LisezMoi.txt
@@ -1,67 +1,67 @@
|
||||
<------------------------------------------------------------------------------>
|
||||
TI-NESulator
|
||||
Version 0.30.2 beta
|
||||
peTI-NESulator
|
||||
Version 0.30.2 beta
|
||||
|
||||
Par Manoel TRAPIER aka Godzil
|
||||
godzil at godzil point net
|
||||
Par Manoel TRAPIER aka Godzil
|
||||
petines at godzil point net
|
||||
|
||||
1 -> #include <disclamer.h>
|
||||
|
||||
L'utilisation de se logiciel se fait a vos risque et pŽrils. Il s'agit d'une
|
||||
pars d'une version non terminŽe, et en cours de dŽvellopement, et la diffusion
|
||||
n'a ŽtŽ faite que pour permettre le teste, et la dŽmonstration de se que sera le
|
||||
L'utilisation de se logiciel se fait a vos risque et p<EFBFBD>rils. Il s'agit d'une
|
||||
pars d'une version non termin<EFBFBD>e, et en cours de d<EFBFBD>vellopement, et la diffusion
|
||||
n'a <EFBFBD>t<EFBFBD> faite que pour permettre le teste, et la d<EFBFBD>monstration de se que sera le
|
||||
logiciel final.
|
||||
|
||||
Je ne peut donc <20>tre tenu pour responsable en cas de probl<62>me liŽ ˆ
|
||||
l'utilisation ou posession de se logiciel.
|
||||
Je ne peut donc <20>tre tenu pour responsable en cas de probl<62>me li<EFBFBD> <20>
|
||||
l'utilisation ou posession de se logiciel.
|
||||
|
||||
Vous <20>tes libre de l'utiliser ˆ partir du moment au se logiciel n'a pas ŽtŽ
|
||||
modifiŽ que sa soit de mani<6E>re binaire, ou par dŽsassemblage. Si vous trouver
|
||||
une version modifiŽ ou fourni avec des fichiers illŽgaux, veuillez me le faire
|
||||
Vous <20>tes libre de l'utiliser <EFBFBD> partir du moment au se logiciel n'a pas <EFBFBD>t<EFBFBD>
|
||||
modifi<EFBFBD> que sa soit de mani<6E>re binaire, ou par d<EFBFBD>sassemblage. Si vous trouver
|
||||
une version modifi<EFBFBD> ou fourni avec des fichiers ill<EFBFBD>gaux, veuillez me le faire
|
||||
savoir. Vous trouverez comment me contacter dans la suite de se fichier.
|
||||
|
||||
Vous <20>tes libre aussi de le distribuer tant que les fichiers contenus dans le
|
||||
paquetage original sont laissŽ intouchŽ.
|
||||
Vous <20>tes libre aussi de le distribuer tant que les fichiers contenus dans le
|
||||
paquetage original sont laiss<EFBFBD> intouch<EFBFBD>.
|
||||
|
||||
Information lŽgales :
|
||||
NES, Famicon, Nintendo Entertainment System, Nintendo sont des marques dŽposŽ de
|
||||
Information l<EFBFBD>gales :
|
||||
NES, Famicon, Nintendo Entertainment System, Nintendo sont des marques d<EFBFBD>pos<EFBFBD> de
|
||||
Nintendo France, Nintendo of america et Nintendo Company, Ltd.
|
||||
Tout les titres et marques apparaisant dans se fichier texte sont la propriŽtŽ
|
||||
Tout les titres et marques apparaisant dans se fichier texte sont la propri<EFBFBD>t<EFBFBD>
|
||||
de leurs auteurs respectifs.
|
||||
|
||||
N'oubliez pas aussi que la posession de ROM (Fichier binaire reprŽsentant le
|
||||
N'oubliez pas aussi que la posession de ROM (Fichier binaire repr<EFBFBD>sentant le
|
||||
contenue d'une cartouche) sans en posseder l'originale (la cartouche) est
|
||||
absolument illŽgale, que vous la gardiez 24 heures ou seulement 30 secondes
|
||||
absolument ill<EFBFBD>gale, que vous la gardiez 24 heures ou seulement 30 secondes
|
||||
|
||||
|
||||
2 -> Qu'est-ce que TI-NESulator ?
|
||||
2 -> Qu'est-ce que peTI-NESulator ?
|
||||
|
||||
TI-NESulator est un Žmulateur de la console Nintendo Entertainment System
|
||||
(connunŽment appelŽ NES) fabriquŽ par Nintendo au milieu des annŽe 80.
|
||||
L'originalitŽ de cet emulateur est que sa plateforme de fonctionnement principal
|
||||
peTI-NESulator est un <EFBFBD>mulateur de la console Nintendo Entertainment System
|
||||
(connun<EFBFBD>ment appel<EFBFBD> NES) fabriqu<EFBFBD> par Nintendo au milieu des ann<EFBFBD>e 80.
|
||||
L'originalit<EFBFBD> de cet emulateur est que sa plateforme de fonctionnement principal
|
||||
est les calculatrices TI-89 et TI-92+ de chez Texas Instrument. Ses
|
||||
calculatrices on la particularitŽ de posseder un microprocesseur 68000 de chez
|
||||
calculatrices on la particularit<EFBFBD> de posseder un microprocesseur 68000 de chez
|
||||
motorola, qui est pour se genre de plateforme relativement puissant et
|
||||
programmer un emulateur, meme de NES, sur ses machine est un vŽritable dŽfit
|
||||
tant au niveau matŽriel que mŽmoire, la NES et les TI-68k sont completements
|
||||
diffŽrents.
|
||||
La NES utilise une version lŽgŽrement personalisŽ du microprocesseur 6502
|
||||
fonctionnant ˆ environ 1.7Mhz.
|
||||
programmer un emulateur, meme de NES, sur ses machine est un v<EFBFBD>ritable d<EFBFBD>fit
|
||||
tant au niveau mat<EFBFBD>riel que m<EFBFBD>moire, la NES et les TI-68k sont completements
|
||||
diff<EFBFBD>rents.
|
||||
La NES utilise une version l<EFBFBD>g<EFBFBD>rement personalis<EFBFBD> du microprocesseur 6502
|
||||
fonctionnant <EFBFBD> environ 1.7Mhz.
|
||||
|
||||
Vous avez actuellement une version spŽciale (comprendre pas faite pour
|
||||
Vous avez actuellement une version sp<EFBFBD>ciale (comprendre pas faite pour
|
||||
calculatrices TI.) Cette version ne me sert qu'a mettre en oeuvre de nouvelles
|
||||
choses dans la version TI de l'Žmulateur (notemment a cause d'un gros manque
|
||||
choses dans la version TI de l'<EFBFBD>mulateur (notemment a cause d'un gros manque
|
||||
de debuggueur C dans le monde TI.)
|
||||
|
||||
Cette version est et sera toujours plus avancŽ que la version TI dans le sens ou
|
||||
elle me sert a expŽrimenter les nouveaux hardware ŽmulŽ et a finaliser le
|
||||
Cette version est et sera toujours plus avanc<EFBFBD> que la version TI dans le sens ou
|
||||
elle me sert a exp<EFBFBD>rimenter les nouveaux hardware <EFBFBD>mul<EFBFBD> et a finaliser le
|
||||
hardware deja emuler. Une fois fonctionnant d'un maniere convenable sur le
|
||||
portage Windows, les mises a jours sont faites dans la version TI. Mais la
|
||||
version Windows au final contiendra plus de fonctionnalitŽ que la version TI
|
||||
version Windows au final contiendra plus de fonctionnalit<EFBFBD> que la version TI
|
||||
(support des palletes, de la couleur, voir meme le son etc...)
|
||||
|
||||
|
||||
3 -> Utilisation de TI-NESulator
|
||||
3 -> Utilisation de peTI-NESulator
|
||||
|
||||
[A faire.]
|
||||
|
||||
@@ -85,7 +85,7 @@ SELECT P
|
||||
--------------------------
|
||||
|
||||
Autres touches :
|
||||
R identique ˆ l'apuis du bouton Reset de la console
|
||||
R identique <EFBFBD> l'apuis du bouton Reset de la console
|
||||
|
||||
|
||||
1-2 A un effet, mais vous risque de pas le voir ;)
|
||||
@@ -96,91 +96,91 @@ R identique
|
||||
|
||||
--------------------------
|
||||
|
||||
Il faut noter aussi qu'afficher ces tables ralentisent considŽrablement la
|
||||
vitesse de l'Žmulateur
|
||||
Il faut noter aussi qu'afficher ces tables ralentisent consid<EFBFBD>rablement la
|
||||
vitesse de l'<EFBFBD>mulateur
|
||||
|
||||
4 -> CompatibilitŽ
|
||||
|
||||
TI-NESulator version Win32 est normalement compatible avec tous les Windows
|
||||
4 -> Compatibilit<EFBFBD>
|
||||
|
||||
peTI-NESulator version Win32 est normalement compatible avec tous les Windows
|
||||
(95, 98,Me, NT 4, 2000, XP)
|
||||
TI-NESulator version .X (MacOS X) est normalement compatible toutes version
|
||||
peTI-NESulator version .X (MacOS X) est normalement compatible toutes version
|
||||
de OS X (.1.x .2.x .3.x)
|
||||
|
||||
L'Žmulateur Žmule actuellement avec les mappers :
|
||||
|
||||
L'<EFBFBD>mulateur <EFBFBD>mule actuellement avec les mappers :
|
||||
|
||||
- 0 aucun mapper (Super Mario Bros 1, Donkey Kong, ...)
|
||||
- 1 MMC1 (a 99%, Megaman 2, Zelda1 & 2, Final Fantasy 1, ...)
|
||||
- 2 UNROM (MegaMan, Final fantasy 2, ...)
|
||||
- 2 UNROM (MegaMan, Final fantasy 2, ...)
|
||||
- 3 CNROM
|
||||
- 4 MMC3 (Super mario Bross 2 & 3, MegaMan 3 ˆ 6, ...)
|
||||
- 4 MMC3 (Super mario Bross 2 & 3, MegaMan 3 <EFBFBD> 6, ...)
|
||||
- 7 AOROM (Battletoad, ...)
|
||||
|
||||
Les mappers marquŽ comme *NOUVEAU* sont ceux qui on ŽtŽ ajoutŽ dans la derniere
|
||||
version disponible. Merci de faire un rapport dŽtaillŽ si vous rencontrer des
|
||||
probl<EFBFBD>mes avec.
|
||||
Les mappers marqu<EFBFBD> comme *NOUVEAU* sont ceux qui on <EFBFBD>t<EFBFBD> ajout<EFBFBD> dans la derniere
|
||||
version disponible. Merci de faire un rapport d<EFBFBD>taill<EFBFBD> si vous rencontrer des
|
||||
probl<EFBFBD>mes avec.
|
||||
|
||||
5 -> Question RŽponses
|
||||
5 -> Question R<EFBFBD>ponses
|
||||
|
||||
Q: Pourquoi le jeu xxx ne fonctionne pas ?
|
||||
R: TI-NESulator est actuellement en cours de dŽvellopement. Beaucoup de jeux ne
|
||||
sont pas supportŽ.
|
||||
R: peTI-NESulator est actuellement en cours de d<EFBFBD>vellopement. Beaucoup de jeux ne
|
||||
sont pas support<EFBFBD>.
|
||||
|
||||
Q: Vous dites que certain de jeux ne sont pas supportŽ, mais si j'essaye xxx, il
|
||||
Q: Vous dites que certain de jeux ne sont pas support<EFBFBD>, mais si j'essaye xxx, il
|
||||
marche ! Pourquoi ?
|
||||
R: Ceci est du a une des particularitŽ du Hardware de la NES/Famicon. Le
|
||||
hardware de base de la console est assŽ limitŽ, et la mŽmoire est aussi tres
|
||||
limitŽ. pour palier ˆ ses limitations, certains jeux utilise ce qu'on appele des
|
||||
R: Ceci est du a une des particularit<EFBFBD> du Hardware de la NES/Famicon. Le
|
||||
hardware de base de la console est ass<EFBFBD> limit<EFBFBD>, et la m<EFBFBD>moire est aussi tres
|
||||
limit<EFBFBD>. pour palier <EFBFBD> ses limitations, certains jeux utilise ce qu'on appele des
|
||||
Mappers, qui permettent notemment d'avoir des jeux plus gros, et qui sont
|
||||
implŽmentŽ dans la cartouche du jeu. Malheureusement supporter tout ses mappers
|
||||
impl<EFBFBD>ment<EFBFBD> dans la cartouche du jeu. Malheureusement supporter tout ses mappers
|
||||
font grossir l'emulateur, et certain on un fonctionnement qui est
|
||||
malheureusement encore inconnu. N'oubliez pas non plus que TI-NESulator est
|
||||
encore en dŽvellopement. Certain mapper connu ne sont pas encore implŽmentŽ.
|
||||
malheureusement encore inconnu. N'oubliez pas non plus que peTI-NESulator est
|
||||
encore en d<EFBFBD>vellopement. Certain mapper connu ne sont pas encore impl<EFBFBD>ment<EFBFBD>.
|
||||
|
||||
Q: Oui puis-je trouver le jeux xxxx ?
|
||||
R: DŽsolŽ, je ne donne aucun lien menant, ni aucune ROM de jeux commerciaux.
|
||||
R: D<EFBFBD>sol<EFBFBD>, je ne donne aucun lien menant, ni aucune ROM de jeux commerciaux.
|
||||
N'oubliez pas que les personnes vous disant que vous avez le droit de ne garder
|
||||
que 24h une ROM, vous raconte absolument n'importe quoi. Il est absolument
|
||||
que 24h une ROM, vous raconte absolument n'importe quoi. Il est absolument
|
||||
*ILLEGAL* de posseder la ROM d'un jeu que vous ne possedez pas officiellement.
|
||||
|
||||
Q: XXX donne l'air de fonctionner, pourtant il ne reagis pas au touches
|
||||
R: Cet emulateur n'est pas parfait. Certain jeux/demo demandent un
|
||||
fonctionnement tres proche de celui de la console originale, ce que TI-NESulator
|
||||
fonctionnement tres proche de celui de la console originale, ce que peTI-NESulator
|
||||
est encore loin d'arriver a faire.
|
||||
|
||||
Q: J'ai des probl<62>mes graphiques avec XXXX
|
||||
R: Cf rŽponse-ci dessus
|
||||
Q: J'ai des probl<62>mes graphiques avec XXXX
|
||||
R: Cf r<EFBFBD>ponse-ci dessus
|
||||
|
||||
Q: C'est lent :(
|
||||
R: DŽsolŽ. Le code est toujours en cours de devellopement. Si vous trouvez trop
|
||||
R: D<EFBFBD>sol<EFBFBD>. Le code est toujours en cours de devellopement. Si vous trouvez trop
|
||||
lent, attendez la prochaine version une surprise vous y attendra peut-etre !
|
||||
|
||||
7 -> En cas de probl<62>me
|
||||
7 -> En cas de probl<62>me
|
||||
|
||||
a) Un jeu indiquŽ compatible ne fonctionne pas (ie "Mapper non supportŽ")
|
||||
a) Un jeu indiqu<EFBFBD> compatible ne fonctionne pas (ie "Mapper non support<EFBFBD>")
|
||||
|
||||
Alors plusieurs possibilitŽ, soit vous avez une autre version du jeu officielle
|
||||
ou non, cela peut changer par exemple le mapper utilisŽ par le jeux, soit vous
|
||||
Alors plusieurs possibilit<EFBFBD>, soit vous avez une autre version du jeu officielle
|
||||
ou non, cela peut changer par exemple le mapper utilis<EFBFBD> par le jeux, soit vous
|
||||
avez recuperer un "bad dump", c'est a dire plus simplement une rom foireuse.
|
||||
|
||||
Dans ces deux cas essayez d'en recuperer une autre version.
|
||||
|
||||
b) TI-NESulator ˆ plantŽ !!
|
||||
b) peTI-NESulator <EFBFBD> plant<EFBFBD> !!
|
||||
Si cela arrive regulierement pour le meme jeu et au meme endroit faites moi un
|
||||
crash report avec les information que TI-NESulator vous met dans la console
|
||||
crash report avec les information que peTI-NESulator vous met dans la console
|
||||
(pour pouvoir la copier tranquillement il faut lancer a partir d'une console
|
||||
et pas faire glisser la rom sur l'executable)
|
||||
|
||||
N'oubliez pas de prŽciser le nom complet du jeu, la taille du fichier et toutes
|
||||
N'oubliez pas de pr<EFBFBD>ciser le nom complet du jeu, la taille du fichier et toutes
|
||||
les infos que vous trouverez pertinante (manipulation a faire etc...)
|
||||
|
||||
8 -> Remerciement
|
||||
|
||||
Loopy, Y0Shi, Marrat Fayzullin, et bcp d'autre pour la documentation technique
|
||||
Loopy, Y0Shi, Marrat Fayzullin, et bcp d'autre pour la documentation technique
|
||||
sur la NES
|
||||
|
||||
Ainsi que tout ceux que j'ai pu oublier
|
||||
|
||||
9 -> LitŽrature
|
||||
9 -> Lit<EFBFBD>rature
|
||||
|
||||
[A faire.]
|
||||
|
||||
@@ -196,8 +196,8 @@ Vous pouvez me contacter grace au forum yAronet: http://www.yaronet.com
|
||||
|
||||
Et surtout grace au lien suivant : http://www.yaronet.com/posts.php?sl=&s=2339
|
||||
|
||||
Vous pouvez aussi me joindre par mail en m'Žcrivant ˆ
|
||||
"godzil chez godzil point net"
|
||||
Vous pouvez aussi me joindre par mail en m'<EFBFBD>crivant <EFBFBD>
|
||||
"petines chez godzil point net"
|
||||
Vous pouvez aussi essayer de visiter mon site : http://www.godzil.net
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
25/02/2008
|
||||
- Finish th Quick6502 C project to merge it into TI-NESulator [ ]
|
||||
- Finish th Quick6502 C project to merge it into peTI-NESulator [ ]
|
||||
- Extract graphic primitive to be less dependent of Allegro [ ]
|
||||
- Rewrite sound engine [ ]
|
||||
|
||||
|
||||
@@ -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 é pour le d é buguage
|
||||
//Ligne utilis <EFBFBD> pour le d <EFBFBD> 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é pour le débuguage
|
||||
//Ligne utilis<EFBFBD> pour le d<EFBFBD>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 é pour le débuguage
|
||||
//Ligne utilis <EFBFBD> pour le d<EFBFBD>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é de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<EFBFBD> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -742,7 +742,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incrémente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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émente le compteur de tile :| */
|
||||
{ /* On incr<EFBFBD>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é pour le débuguage
|
||||
//Ligne utilis<EFBFBD> pour le d<EFBFBD>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é de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<EFBFBD> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -936,7 +936,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incrémente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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émente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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é pour le débuguage
|
||||
//Ligne utilis<EFBFBD> pour le d<EFBFBD>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é de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<EFBFBD> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -901,7 +901,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incrémente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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émente le compteur de tile :| */
|
||||
{ /* On incr<EFBFBD>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é pour le débuguage
|
||||
//Ligne utilis<EFBFBD> pour le d<EFBFBD>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é de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<EFBFBD> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -944,7 +944,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incrémente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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émente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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é pour le débuguage
|
||||
//Ligne utilis<EFBFBD> pour le d<EFBFBD>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é de vblank,
|
||||
* A faires les choses qui faut faire durant un lanc<EFBFBD> de vblank,
|
||||
* comme dessiner par ex..
|
||||
*/
|
||||
|
||||
@@ -918,7 +918,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5
|
||||
XScroll++;
|
||||
XScroll &= 7;
|
||||
if (XScroll == 0)
|
||||
{ /* On incrémente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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émente le compteur de tile */
|
||||
{ /* On incr<EFBFBD>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