From cc291907c23402496b55836c7a55f3066b241f83 Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 31 Jan 2018 15:13:45 +0000 Subject: [PATCH] Rename project from TI-NESulator to peTI-NESulator And update all headers accordingly --- CMakeLists.txt | 4 +- README.md | 6 +- README.txt | 4 +- doc/LisezMoi.txt | 152 +++++++++--------- doc/TODO.txt | 2 +- src/CMakeLists.txt | 58 +++---- src/NESCarts.c | 4 +- src/apu/CMakeLists.txt | 2 +- src/apu/SndAlleg.c | 2 +- src/corecpu/CMakeLists.txt | 2 +- src/include/NESCarts.h | 2 +- src/include/mappers/manager.h | 2 +- src/include/memory/manager.h | 2 +- src/include/os_dependent.h | 2 +- src/include/paddle.h | 2 +- src/include/plugins/manager.h | 2 +- src/include/ppu/ppu.debug.h | 2 +- src/include/ppu/ppu.h | 2 +- src/include/ppu/ppu.memory.h | 2 +- src/include/types.h | 2 +- src/main.c | 18 +-- src/mappersmanager/CMakeLists.txt | 2 +- src/mappersmanager/manager.c | 2 +- src/mappersmanager/mappers/aorom.c | 2 +- src/mappersmanager/mappers/aorom.h | 2 +- src/mappersmanager/mappers/cnrom.c | 2 +- src/mappersmanager/mappers/cnrom.h | 2 +- .../mappers/genericmapper.c.template | 2 +- src/mappersmanager/mappers/iremh3001.c | 2 +- src/mappersmanager/mappers/iremh3001.h | 2 +- src/mappersmanager/mappers/mmc1.c | 2 +- src/mappersmanager/mappers/mmc1.h | 2 +- src/mappersmanager/mappers/mmc3.c | 2 +- src/mappersmanager/mappers/mmc3.h | 2 +- src/mappersmanager/mappers/mmc4.c | 2 +- src/mappersmanager/mappers/mmc4.h | 2 +- src/mappersmanager/mappers/norom.c | 2 +- src/mappersmanager/mappers/norom.h | 2 +- src/mappersmanager/mappers/unrom.c | 2 +- src/mappersmanager/mappers/unrom.h | 2 +- src/mappersmanager/mappers/unrom512.c | 2 +- src/mappersmanager/mappers/unrom512.h | 2 +- src/mappersmanager/mappers_list.h | 2 +- src/mappersmanager/unused/genericmapper.h | 2 +- src/mappersmanager/unused/mmc1.h | 2 +- src/mappersmanager/utils.c | 2 +- src/memorymanager/CMakeLists.txt | 2 +- src/memorymanager/memory.c | 2 +- src/os/macos/CMakeLists.txt | 2 +- src/os/macos/graphics.c | 2 +- src/os/macos/io.c | 2 +- src/os/macos/loadfile.c | 2 +- src/os/ti68k/CMakeLists.txt | 2 +- src/os/ti68k/loadfile.c | 2 +- src/os/unix/CMakeLists.txt | 2 +- src/os/unix/graphics.c | 2 +- src/os/unix/graphics_dummy.c | 2 +- src/os/unix/io.c | 2 +- src/os/win32/CMakeLists.txt | 2 +- src/os/win32/graphics.c | 2 +- src/os/win32/io.c | 2 +- src/paddle.c | 2 +- src/pluginsmanager/CMakeLists.txt | 2 +- src/pluginsmanager/manager.c | 2 +- src/pluginsmanager/plugins/gamegenie.c | 2 +- src/pluginsmanager/plugins/gamegenie.h | 2 +- src/pluginsmanager/plugins_list.h | 2 +- src/ppu/CMakeLists.txt | 2 +- src/ppu/debug/ppu.debug.c | 2 +- src/ppu/oldppu.c | 14 +- src/ppu/ppu.24.c | 10 +- src/ppu/ppu.c | 2 +- src/ppu/ppu.memory.c | 2 +- src/ppu/ppu.new.c | 10 +- src/ppu/ppu.new2.c | 10 +- src/ppu/ppu.old.c | 10 +- src/utils/bin2h/bin2h.c | 2 +- src/utils/sendromdata.py | 4 +- 78 files changed, 217 insertions(+), 217 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0866b20..2f41e65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/README.md b/README.md index bd47340..33b4f72 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -TI-NESulator +peTI-NESulator ============ -[![Coverage Status](https://coveralls.io/repos/github/Godzil/TI-NESulator/badge.svg?branch=master)](https://coveralls.io/github/Godzil/TI-NESulator?branch=master) [![codecov](https://codecov.io/gh/Godzil/TI-NESulator/branch/master/graph/badge.svg)](https://codecov.io/gh/Godzil/TI-NESulator) [![travis](https://travis-ci.org/Godzil/TI-NESulator.svg?branch=master)](https://travis-ci.org/Godzil/TI-NESulator) +[![Coverage Status](https://coveralls.io/repos/github/Godzil/peTI-NESulator/badge.svg?branch=master)](https://coveralls.io/github/Godzil/peTI-NESulator?branch=master) [![codecov](https://codecov.io/gh/Godzil/peTI-NESulator/branch/master/graph/badge.svg)](https://codecov.io/gh/Godzil/peTI-NESulator) [![travis](https://travis-ci.org/Godzil/peTI-NESulator.svg?branch=master)](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 diff --git a/README.txt b/README.txt index 57e03a4..0bc3dea 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/doc/LisezMoi.txt b/doc/LisezMoi.txt index cecdd82..508aab7 100755 --- a/doc/LisezMoi.txt +++ b/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 -L'utilisation de se logiciel se fait a vos risque et prils. Il s'agit d'une -pars d'une version non termine, et en cours de dvellopement, et la diffusion -n'a t faite que pour permettre le teste, et la dmonstration de se que sera le +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 logiciel final. -Je ne peut donc tre tenu pour responsable en cas de problme li -l'utilisation ou posession de se logiciel. +Je ne peut donc �tre tenu pour responsable en cas de probl�me li� � +l'utilisation ou posession de se logiciel. -Vous tes libre de l'utiliser partir du moment au se logiciel n'a pas t -modifi que sa soit de manire binaire, ou par dsassemblage. Si vous trouver -une version modifi ou fourni avec des fichiers illgaux, veuillez me le faire +Vous �tes libre de l'utiliser � partir du moment au se logiciel n'a pas �t� +modifi� que sa soit de mani�re binaire, ou par d�sassemblage. Si vous trouver +une version modifi� ou fourni avec des fichiers ill�gaux, veuillez me le faire savoir. Vous trouverez comment me contacter dans la suite de se fichier. -Vous tes libre aussi de le distribuer tant que les fichiers contenus dans le -paquetage original sont laiss intouch. +Vous �tes libre aussi de le distribuer tant que les fichiers contenus dans le +paquetage original sont laiss� intouch�. -Information lgales : -NES, Famicon, Nintendo Entertainment System, Nintendo sont des marques dpos de +Information l�gales : +NES, Famicon, Nintendo Entertainment System, Nintendo sont des marques d�pos� de Nintendo France, Nintendo of america et Nintendo Company, Ltd. -Tout les titres et marques apparaisant dans se fichier texte sont la proprit +Tout les titres et marques apparaisant dans se fichier texte sont la propri�t� de leurs auteurs respectifs. -N'oubliez pas aussi que la posession de ROM (Fichier binaire reprsentant le +N'oubliez pas aussi que la posession de ROM (Fichier binaire repr�sentant le contenue d'une cartouche) sans en posseder l'originale (la cartouche) est -absolument illgale, que vous la gardiez 24 heures ou seulement 30 secondes +absolument ill�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 -(connunment appel NES) fabriqu par Nintendo au milieu des anne 80. -L'originalit de cet emulateur est que sa plateforme de fonctionnement principal +peTI-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 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� 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 vritable dfit -tant au niveau matriel que mmoire, la NES et les TI-68k sont completements -diffrents. -La NES utilise une version lgrement personalis du microprocesseur 6502 -fonctionnant environ 1.7Mhz. +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. -Vous avez actuellement une version spciale (comprendre pas faite pour +Vous avez actuellement une version sp�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'�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 exprimenter les nouveaux hardware mul et a finaliser le +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 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� 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 � 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 considrablement la -vitesse de l'mulateur +Il faut noter aussi qu'afficher ces tables ralentisent consid�rablement la +vitesse de l'�mulateur -4 -> Compatibilit - -TI-NESulator version Win32 est normalement compatible avec tous les Windows +4 -> Compatibilit� + +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'�mulateur �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 � 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 dtaill si vous rencontrer des -problmes avec. +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�mes avec. -5 -> Question Rponses +5 -> Question R�ponses Q: Pourquoi le jeu xxx ne fonctionne pas ? -R: TI-NESulator est actuellement en cours de dvellopement. Beaucoup de jeux ne -sont pas support. +R: peTI-NESulator est actuellement en cours de d�vellopement. Beaucoup de jeux ne +sont pas support�. -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�, 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 mmoire est aussi tres -limit. pour palier ses limitations, certains jeux utilise ce qu'on appele des +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 Mappers, qui permettent notemment d'avoir des jeux plus gros, et qui sont -implment dans la cartouche du jeu. Malheureusement supporter tout ses mappers +impl�ment� 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 dvellopement. Certain mapper connu ne sont pas encore implment. +malheureusement encore inconnu. N'oubliez pas non plus que peTI-NESulator est +encore en d�vellopement. Certain mapper connu ne sont pas encore impl�ment�. Q: Oui puis-je trouver le jeux xxxx ? -R: Dsol, je ne donne aucun lien menant, ni aucune ROM de jeux commerciaux. +R: D�sol�, 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 problmes graphiques avec XXXX -R: Cf rponse-ci dessus +Q: J'ai des probl�mes graphiques avec XXXX +R: Cf r�ponse-ci dessus Q: C'est lent :( -R: Dsol. Le code est toujours en cours de devellopement. Si vous trouvez trop +R: D�sol�. 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 problme +7 -> En cas de probl�me -a) Un jeu indiqu compatible ne fonctionne pas (ie "Mapper non support") +a) Un jeu indiqu� compatible ne fonctionne pas (ie "Mapper non support�") -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�, soit vous avez une autre version du jeu officielle +ou non, cela peut changer par exemple le mapper utilis� 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 � plant� !! 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 prciser le nom complet du jeu, la taille du fichier et toutes +N'oubliez pas de pr�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 -> Litrature +9 -> Lit�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'�crivant � +"petines chez godzil point net" Vous pouvez aussi essayer de visiter mon site : http://www.godzil.net -------------------------------------------------------------------------------- diff --git a/doc/TODO.txt b/doc/TODO.txt index a4451d1..c50f4df 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -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 [ ] diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1942dc1..1c1ccbd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 $ ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes) +add_test(NAME petines_test COMMAND $ ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes) diff --git a/src/NESCarts.c b/src/NESCarts.c index 2887bdf..c8fa240 100755 --- a/src/NESCarts.c +++ b/src/NESCarts.c @@ -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 #endif -/* TI-NES headers */ +/* peTI-NESulator headers */ #include #include #include diff --git a/src/apu/CMakeLists.txt b/src/apu/CMakeLists.txt index 850b33d..6767b47 100644 --- a/src/apu/CMakeLists.txt +++ b/src/apu/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/apu/SndAlleg.c b/src/apu/SndAlleg.c index 33a40c9..579f2b4 100755 --- a/src/apu/SndAlleg.c +++ b/src/apu/SndAlleg.c @@ -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 diff --git a/src/corecpu/CMakeLists.txt b/src/corecpu/CMakeLists.txt index 9041ee4..fc5abde 100644 --- a/src/corecpu/CMakeLists.txt +++ b/src/corecpu/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2008 986Corp. All rights reserved. diff --git a/src/include/NESCarts.h b/src/include/NESCarts.h index 69c7001..3ce8708 100755 --- a/src/include/NESCarts.h +++ b/src/include/NESCarts.h @@ -1,5 +1,5 @@ /* - * Cart manager - The TI-NESulator Project + * Cart manager - The peTI-NESulator Project * NESCart.h * * Created by Manoel TRAPIER. diff --git a/src/include/mappers/manager.h b/src/include/mappers/manager.h index 65906d0..08f99ec 100755 --- a/src/include/mappers/manager.h +++ b/src/include/mappers/manager.h @@ -1,5 +1,5 @@ /* - * Mappers manager & facilities - The TI-NESulator Project + * Mappers manager & facilities - The peTI-NESulator Project * mappers.h * * Created by Manoel TRAPIER. diff --git a/src/include/memory/manager.h b/src/include/memory/manager.h index 46d3a6f..a4cd901 100755 --- a/src/include/memory/manager.h +++ b/src/include/memory/manager.h @@ -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. diff --git a/src/include/os_dependent.h b/src/include/os_dependent.h index a504d04..8548c72 100644 --- a/src/include/os_dependent.h +++ b/src/include/os_dependent.h @@ -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. diff --git a/src/include/paddle.h b/src/include/paddle.h index 3c2e29a..2738e99 100755 --- a/src/include/paddle.h +++ b/src/include/paddle.h @@ -1,5 +1,5 @@ /* - * Paddle manager - The TI-NESulator Project + * Paddle manager - The peTI-NESulator Project * paddle.h * * Created by Manoel TRAPIER. diff --git a/src/include/plugins/manager.h b/src/include/plugins/manager.h index 6b4b858..aa53b75 100644 --- a/src/include/plugins/manager.h +++ b/src/include/plugins/manager.h @@ -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. diff --git a/src/include/ppu/ppu.debug.h b/src/include/ppu/ppu.debug.h index d488e29..612b58b 100644 --- a/src/include/ppu/ppu.debug.h +++ b/src/include/ppu/ppu.debug.h @@ -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. diff --git a/src/include/ppu/ppu.h b/src/include/ppu/ppu.h index adfcd6c..4b11fb0 100755 --- a/src/include/ppu/ppu.h +++ b/src/include/ppu/ppu.h @@ -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 diff --git a/src/include/ppu/ppu.memory.h b/src/include/ppu/ppu.memory.h index 212083a..8c4a3b4 100644 --- a/src/include/ppu/ppu.memory.h +++ b/src/include/ppu/ppu.memory.h @@ -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. diff --git a/src/include/types.h b/src/include/types.h index 2956e87..c87e35f 100755 --- a/src/include/types.h +++ b/src/include/types.h @@ -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. diff --git a/src/main.c b/src/main.c index cf826b6..e7712f4 100755 --- a/src/main.c +++ b/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 #include @@ -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; } diff --git a/src/mappersmanager/CMakeLists.txt b/src/mappersmanager/CMakeLists.txt index d587aec..f64c598 100644 --- a/src/mappersmanager/CMakeLists.txt +++ b/src/mappersmanager/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/mappersmanager/manager.c b/src/mappersmanager/manager.c index 77e0c44..bee4768 100644 --- a/src/mappersmanager/manager.c +++ b/src/mappersmanager/manager.c @@ -1,5 +1,5 @@ /* - * Mapper manager - The TI-NESulator Project + * Mapper manager - The peTI-NESulator Project * manager.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/aorom.c b/src/mappersmanager/mappers/aorom.c index 8c3c82b..0c650f4 100755 --- a/src/mappersmanager/mappers/aorom.c +++ b/src/mappersmanager/mappers/aorom.c @@ -1,5 +1,5 @@ /* - * AOROM Mapper - The TI-NESulator Project + * AOROM Mapper - The peTI-NESulator Project * aorom.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/aorom.h b/src/mappersmanager/mappers/aorom.h index 3ee16e3..8770402 100755 --- a/src/mappersmanager/mappers/aorom.h +++ b/src/mappersmanager/mappers/aorom.h @@ -1,5 +1,5 @@ /* - * AOROM Mapper - The TI-NESulator Project + * AOROM Mapper - The peTI-NESulator Project * aorom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/cnrom.c b/src/mappersmanager/mappers/cnrom.c index e8ae5e9..f9602db 100755 --- a/src/mappersmanager/mappers/cnrom.c +++ b/src/mappersmanager/mappers/cnrom.c @@ -1,5 +1,5 @@ /* - * CNROM Mapper - The TI-NESulator Project + * CNROM Mapper - The peTI-NESulator Project * cnrom.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/cnrom.h b/src/mappersmanager/mappers/cnrom.h index a917003..9832263 100755 --- a/src/mappersmanager/mappers/cnrom.h +++ b/src/mappersmanager/mappers/cnrom.h @@ -1,5 +1,5 @@ /* - * CNROM Mapper - The TI-NESulator Project + * CNROM Mapper - The peTI-NESulator Project * cnrom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/genericmapper.c.template b/src/mappersmanager/mappers/genericmapper.c.template index 5c0fe9e..afc2a33 100755 --- a/src/mappersmanager/mappers/genericmapper.c.template +++ b/src/mappersmanager/mappers/genericmapper.c.template @@ -1,5 +1,5 @@ /* - * Generic mapper implementation - The TI-NESulator Project + * Generic mapper implementation - The peTI-NESulator Project * genericmapper.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/iremh3001.c b/src/mappersmanager/mappers/iremh3001.c index 5c8f7f4..d8d8b28 100755 --- a/src/mappersmanager/mappers/iremh3001.c +++ b/src/mappersmanager/mappers/iremh3001.c @@ -1,5 +1,5 @@ /* - * IREMH3001 Mapper - The TI-NESulator Project + * IREMH3001 Mapper - The peTI-NESulator Project * iremh3001.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/iremh3001.h b/src/mappersmanager/mappers/iremh3001.h index f6950b3..6959aaf 100755 --- a/src/mappersmanager/mappers/iremh3001.h +++ b/src/mappersmanager/mappers/iremh3001.h @@ -1,5 +1,5 @@ /* - * IREMH3001 Mapper - The TI-NESulator Project + * IREMH3001 Mapper - The peTI-NESulator Project * iremh3001.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc1.c b/src/mappersmanager/mappers/mmc1.c index dd32029..5083d3b 100755 --- a/src/mappersmanager/mappers/mmc1.c +++ b/src/mappersmanager/mappers/mmc1.c @@ -1,5 +1,5 @@ /* - * MMC1 Mapper - The TI-NESulator Project + * MMC1 Mapper - The peTI-NESulator Project * mmc1.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc1.h b/src/mappersmanager/mappers/mmc1.h index 6a8e82a..1423bef 100644 --- a/src/mappersmanager/mappers/mmc1.h +++ b/src/mappersmanager/mappers/mmc1.h @@ -1,5 +1,5 @@ /* - * MMC1 Mapper - The TI-NESulator Project + * MMC1 Mapper - The peTI-NESulator Project * mmc1.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc3.c b/src/mappersmanager/mappers/mmc3.c index 33a2145..df39037 100755 --- a/src/mappersmanager/mappers/mmc3.c +++ b/src/mappersmanager/mappers/mmc3.c @@ -1,5 +1,5 @@ /* - * MMC3 Mapper - The TI-NESulator Project + * MMC3 Mapper - The peTI-NESulator Project * mmc3.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc3.h b/src/mappersmanager/mappers/mmc3.h index cd438bc..25230ad 100755 --- a/src/mappersmanager/mappers/mmc3.h +++ b/src/mappersmanager/mappers/mmc3.h @@ -1,5 +1,5 @@ /* - * MMC3 Mapper - The TI-NESulator Project + * MMC3 Mapper - The peTI-NESulator Project * mmc3.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc4.c b/src/mappersmanager/mappers/mmc4.c index 30cd721..2e663f4 100644 --- a/src/mappersmanager/mappers/mmc4.c +++ b/src/mappersmanager/mappers/mmc4.c @@ -1,5 +1,5 @@ /* - * MMC4 Mapper - The TI-NESulator Project + * MMC4 Mapper - The peTI-NESulator Project * mmc4.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/mmc4.h b/src/mappersmanager/mappers/mmc4.h index 59a9c29..c4de7be 100644 --- a/src/mappersmanager/mappers/mmc4.h +++ b/src/mappersmanager/mappers/mmc4.h @@ -1,5 +1,5 @@ /* - * MMC4 Mapper - The TI-NESulator Project + * MMC4 Mapper - The peTI-NESulator Project * mmc4.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/norom.c b/src/mappersmanager/mappers/norom.c index fb27131..52b3ae7 100644 --- a/src/mappersmanager/mappers/norom.c +++ b/src/mappersmanager/mappers/norom.c @@ -1,5 +1,5 @@ /* - * NOROM Mapper - The TI-NESulator Project + * NOROM Mapper - The peTI-NESulator Project * norom.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/norom.h b/src/mappersmanager/mappers/norom.h index ac0e71e..a8fc329 100644 --- a/src/mappersmanager/mappers/norom.h +++ b/src/mappersmanager/mappers/norom.h @@ -1,5 +1,5 @@ /* - * NOROM Mapper - The TI-NESulator Project + * NOROM Mapper - The peTI-NESulator Project * norom.c * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/unrom.c b/src/mappersmanager/mappers/unrom.c index 32bb760..411937e 100755 --- a/src/mappersmanager/mappers/unrom.c +++ b/src/mappersmanager/mappers/unrom.c @@ -1,5 +1,5 @@ /* - * UNROM Mapper - The TI-NESulator Project + * UNROM Mapper - The peTI-NESulator Project * unrom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/unrom.h b/src/mappersmanager/mappers/unrom.h index 9766735..82dc492 100755 --- a/src/mappersmanager/mappers/unrom.h +++ b/src/mappersmanager/mappers/unrom.h @@ -1,5 +1,5 @@ /* - * UNROM Mapper - The TI-NESulator Project + * UNROM Mapper - The peTI-NESulator Project * unrom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/unrom512.c b/src/mappersmanager/mappers/unrom512.c index cd1e759..f36757f 100755 --- a/src/mappersmanager/mappers/unrom512.c +++ b/src/mappersmanager/mappers/unrom512.c @@ -1,5 +1,5 @@ /* - * UNROM Mapper - The TI-NESulator Project + * UNROM Mapper - The peTI-NESulator Project * unrom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers/unrom512.h b/src/mappersmanager/mappers/unrom512.h index 0d8131e..8eabde1 100755 --- a/src/mappersmanager/mappers/unrom512.h +++ b/src/mappersmanager/mappers/unrom512.h @@ -1,5 +1,5 @@ /* - * UNROM Mapper - The TI-NESulator Project + * UNROM Mapper - The peTI-NESulator Project * unrom.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/mappers_list.h b/src/mappersmanager/mappers_list.h index 938dffc..b2d1780 100644 --- a/src/mappersmanager/mappers_list.h +++ b/src/mappersmanager/mappers_list.h @@ -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. diff --git a/src/mappersmanager/unused/genericmapper.h b/src/mappersmanager/unused/genericmapper.h index 5c0fe9e..afc2a33 100755 --- a/src/mappersmanager/unused/genericmapper.h +++ b/src/mappersmanager/unused/genericmapper.h @@ -1,5 +1,5 @@ /* - * Generic mapper implementation - The TI-NESulator Project + * Generic mapper implementation - The peTI-NESulator Project * genericmapper.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/unused/mmc1.h b/src/mappersmanager/unused/mmc1.h index 4fae5c1..582106d 100755 --- a/src/mappersmanager/unused/mmc1.h +++ b/src/mappersmanager/unused/mmc1.h @@ -1,5 +1,5 @@ /* - * MMC1 Mapper - The TI-NESulator Project + * MMC1 Mapper - The peTI-NESulator Project * mmc1.h * * Created by Manoel TRAPIER. diff --git a/src/mappersmanager/utils.c b/src/mappersmanager/utils.c index 6e4e090..d1d8f1c 100755 --- a/src/mappersmanager/utils.c +++ b/src/mappersmanager/utils.c @@ -1,5 +1,5 @@ /* - * Mapper facilities - The TI-NESulator Project + * Mapper facilities - The peTI-NESulator Project * mappers.c * * Created by Manoel TRAPIER. diff --git a/src/memorymanager/CMakeLists.txt b/src/memorymanager/CMakeLists.txt index 0367dee..24607c7 100644 --- a/src/memorymanager/CMakeLists.txt +++ b/src/memorymanager/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/memorymanager/memory.c b/src/memorymanager/memory.c index 0dcab7d..9f2aeec 100755 --- a/src/memorymanager/memory.c +++ b/src/memorymanager/memory.c @@ -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. diff --git a/src/os/macos/CMakeLists.txt b/src/os/macos/CMakeLists.txt index 36c73c0..a77b7f6 100644 --- a/src/os/macos/CMakeLists.txt +++ b/src/os/macos/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2008 986Corp. All rights reserved. diff --git a/src/os/macos/graphics.c b/src/os/macos/graphics.c index 97c5ef7..671d942 100644 --- a/src/os/macos/graphics.c +++ b/src/os/macos/graphics.c @@ -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. diff --git a/src/os/macos/io.c b/src/os/macos/io.c index daf3590..1d3cc69 100644 --- a/src/os/macos/io.c +++ b/src/os/macos/io.c @@ -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. diff --git a/src/os/macos/loadfile.c b/src/os/macos/loadfile.c index cb7b329..0c41d76 100644 --- a/src/os/macos/loadfile.c +++ b/src/os/macos/loadfile.c @@ -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. diff --git a/src/os/ti68k/CMakeLists.txt b/src/os/ti68k/CMakeLists.txt index 487726e..b406eb7 100644 --- a/src/os/ti68k/CMakeLists.txt +++ b/src/os/ti68k/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2008 986Corp. All rights reserved. diff --git a/src/os/ti68k/loadfile.c b/src/os/ti68k/loadfile.c index 07b60c7..16587ff 100644 --- a/src/os/ti68k/loadfile.c +++ b/src/os/ti68k/loadfile.c @@ -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. diff --git a/src/os/unix/CMakeLists.txt b/src/os/unix/CMakeLists.txt index 1fd4db1..d648a84 100644 --- a/src/os/unix/CMakeLists.txt +++ b/src/os/unix/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/os/unix/graphics.c b/src/os/unix/graphics.c index 66a627d..c229f96 100644 --- a/src/os/unix/graphics.c +++ b/src/os/unix/graphics.c @@ -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. diff --git a/src/os/unix/graphics_dummy.c b/src/os/unix/graphics_dummy.c index d3e7dac..b9c572c 100644 --- a/src/os/unix/graphics_dummy.c +++ b/src/os/unix/graphics_dummy.c @@ -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. diff --git a/src/os/unix/io.c b/src/os/unix/io.c index da85aab..7eda058 100644 --- a/src/os/unix/io.c +++ b/src/os/unix/io.c @@ -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. diff --git a/src/os/win32/CMakeLists.txt b/src/os/win32/CMakeLists.txt index 2d20330..584933a 100644 --- a/src/os/win32/CMakeLists.txt +++ b/src/os/win32/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/os/win32/graphics.c b/src/os/win32/graphics.c index c9cf6d9..a5662ae 100644 --- a/src/os/win32/graphics.c +++ b/src/os/win32/graphics.c @@ -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. diff --git a/src/os/win32/io.c b/src/os/win32/io.c index d6cfec6..cfb3426 100644 --- a/src/os/win32/io.c +++ b/src/os/win32/io.c @@ -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. diff --git a/src/paddle.c b/src/paddle.c index 530a314..e11121d 100755 --- a/src/paddle.c +++ b/src/paddle.c @@ -1,5 +1,5 @@ /* - * Paddle manager - The TI-NESulator Project + * Paddle manager - The peTI-NESulator Project * paddle.c * * Created by Manoel TRAPIER. diff --git a/src/pluginsmanager/CMakeLists.txt b/src/pluginsmanager/CMakeLists.txt index ec2624f..a1ef507 100644 --- a/src/pluginsmanager/CMakeLists.txt +++ b/src/pluginsmanager/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2018 986-Studio. All rights reserved. diff --git a/src/pluginsmanager/manager.c b/src/pluginsmanager/manager.c index 2ac08e9..db852dc 100644 --- a/src/pluginsmanager/manager.c +++ b/src/pluginsmanager/manager.c @@ -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. diff --git a/src/pluginsmanager/plugins/gamegenie.c b/src/pluginsmanager/plugins/gamegenie.c index f1de865..2879f04 100644 --- a/src/pluginsmanager/plugins/gamegenie.c +++ b/src/pluginsmanager/plugins/gamegenie.c @@ -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. diff --git a/src/pluginsmanager/plugins/gamegenie.h b/src/pluginsmanager/plugins/gamegenie.h index 4d7b3ff..3ce6b32 100644 --- a/src/pluginsmanager/plugins/gamegenie.h +++ b/src/pluginsmanager/plugins/gamegenie.h @@ -1,5 +1,5 @@ /* - * Code Breaker plugin - The TI-NESulator Project + * Code Breaker plugin - The peTI-NESulator Project * gamegenie.h * * Created by Manoel Trapier. diff --git a/src/pluginsmanager/plugins_list.h b/src/pluginsmanager/plugins_list.h index a7b9983..ebacac4 100644 --- a/src/pluginsmanager/plugins_list.h +++ b/src/pluginsmanager/plugins_list.h @@ -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. diff --git a/src/ppu/CMakeLists.txt b/src/ppu/CMakeLists.txt index 6d39434..1a3bfa8 100644 --- a/src/ppu/CMakeLists.txt +++ b/src/ppu/CMakeLists.txt @@ -1,5 +1,5 @@ # -# TI-NES CMake +# peTI-NESulator CMake # # Created by Manoel TRAPIER. # Copyright (c) 2003-2008 986Corp. All rights reserved. diff --git a/src/ppu/debug/ppu.debug.c b/src/ppu/debug/ppu.debug.c index 0f88541..58fc6cc 100644 --- a/src/ppu/debug/ppu.debug.c +++ b/src/ppu/debug/ppu.debug.c @@ -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. diff --git a/src/ppu/oldppu.c b/src/ppu/oldppu.c index 2dd0eaf..0f5e0c1 100755 --- a/src/ppu/oldppu.c +++ b/src/ppu/oldppu.c @@ -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 � pour le d � 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 dbuguage + //Ligne utilis� 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 pour le dbuguage + //Ligne utilis � 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 de vblank, +* A faires les choses qui faut faire durant un lanc� de vblank, * comme dessiner par ex.. */ @@ -742,7 +742,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5 XScroll++; XScroll &= 7; if (XScroll == 0) - { /* On incrmente le compteur de tile */ + { /* On incr�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 incrmente le compteur de tile :| */ + { /* On incr�mente le compteur de tile :| */ if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0) { /* On met a 0 et change l'etat du bit * 10 */ diff --git a/src/ppu/ppu.24.c b/src/ppu/ppu.24.c index b2f7666..dd4a136 100755 --- a/src/ppu/ppu.24.c +++ b/src/ppu/ppu.24.c @@ -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 dbuguage + //Ligne utilis� 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 de vblank, +* A faires les choses qui faut faire durant un lanc� de vblank, * comme dessiner par ex.. */ @@ -936,7 +936,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5 XScroll++; XScroll &= 7; if (XScroll == 0) - { /* On incrmente le compteur de tile */ + { /* On incr�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 incrmente le compteur de tile */ + { /* On incr�mente le compteur de tile */ if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0) { /* On met a 0 et change l'etat du bit * 10 */ diff --git a/src/ppu/ppu.c b/src/ppu/ppu.c index ee9f972..87e67bc 100755 --- a/src/ppu/ppu.c +++ b/src/ppu/ppu.c @@ -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 diff --git a/src/ppu/ppu.memory.c b/src/ppu/ppu.memory.c index f35decc..70383ba 100644 --- a/src/ppu/ppu.memory.c +++ b/src/ppu/ppu.memory.c @@ -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. diff --git a/src/ppu/ppu.new.c b/src/ppu/ppu.new.c index adf31dc..5033cdf 100755 --- a/src/ppu/ppu.new.c +++ b/src/ppu/ppu.new.c @@ -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 dbuguage + //Ligne utilis� 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 de vblank, +* A faires les choses qui faut faire durant un lanc� de vblank, * comme dessiner par ex.. */ @@ -901,7 +901,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5 XScroll++; XScroll &= 7; if (XScroll == 0) - { /* On incrmente le compteur de tile */ + { /* On incr�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 incrmente le compteur de tile :| */ + { /* On incr�mente le compteur de tile :| */ if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0) { /* On met a 0 et change l'etat du bit * 10 */ diff --git a/src/ppu/ppu.new2.c b/src/ppu/ppu.new2.c index a64db3a..fbaa080 100755 --- a/src/ppu/ppu.new2.c +++ b/src/ppu/ppu.new2.c @@ -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 dbuguage + //Ligne utilis� 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 de vblank, +* A faires les choses qui faut faire durant un lanc� de vblank, * comme dessiner par ex.. */ @@ -944,7 +944,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5 XScroll++; XScroll &= 7; if (XScroll == 0) - { /* On incrmente le compteur de tile */ + { /* On incr�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 incrmente le compteur de tile */ + { /* On incr�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; diff --git a/src/ppu/ppu.old.c b/src/ppu/ppu.old.c index aa58b74..db97143 100755 --- a/src/ppu/ppu.old.c +++ b/src/ppu/ppu.old.c @@ -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 dbuguage + //Ligne utilis� 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 de vblank, +* A faires les choses qui faut faire durant un lanc� de vblank, * comme dessiner par ex.. */ @@ -918,7 +918,7 @@ Y = (ppu.VRAMAddrReg2.W & 0x3E0) >> 5 XScroll++; XScroll &= 7; if (XScroll == 0) - { /* On incrmente le compteur de tile */ + { /* On incr�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 incrmente le compteur de tile */ + { /* On incr�mente le compteur de tile */ if ((ppu.VRAMAddrReg2.W & 0x3E0) == 0x3A0) { /* On met a 0 et change l'etat du bit * 10 */ diff --git a/src/utils/bin2h/bin2h.c b/src/utils/bin2h/bin2h.c index 9b775c5..5a433d5 100755 --- a/src/utils/bin2h/bin2h.c +++ b/src/utils/bin2h/bin2h.c @@ -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. diff --git a/src/utils/sendromdata.py b/src/utils/sendromdata.py index d5f8909..1677334 100644 --- a/src/utils/sendromdata.py +++ b/src/utils/sendromdata.py @@ -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. """