Commit Graph

1556 Commits

Author SHA1 Message Date
yabause 0da04cde58 Moved ARM9.h from arm9 directory to src one and removed ARM9.c file
(and move the ARM9Mem declaration to GPU.c). It should fix the
compilation on Mac.
2006-10-14 22:03:42 +00:00
yabause 06afb4be19 Some more fixes to the gtk port:
- now using portable types
 - actions can only be used when it makes sense
   (for instance, you have to open a rom before starting the emulation)
2006-10-14 17:08:44 +00:00
yabause 5cab477fbe Started to change the gtk code to use GtkAction. 2006-10-14 14:13:31 +00:00
yabause b45daf7e74 - Changed configure.ac so Mac OS X uses fs-linux.c ... I may rename it :p
- Added "static" to functions in thumb_instructions.c, arm_instructions.c
    and Disassembler.c. They are "private" functions and they are declared
    both in Disassembler and arm/thumb_instructions leading to duplicate
    symbols in libdesmume.a
2006-10-14 11:58:27 +00:00
yabause 5d1bd9d3e2 Changed GPU_ligne arguments to something better. 2006-10-13 21:15:27 +00:00
yabause 7a3a6645be There was two much GPU.c/.h files... removed some of them... and moved the
other at the place where I removed the first...
2006-10-13 20:35:47 +00:00
yabause 2bb587f843 Removed ini.c/.h in gtk sources and used GKeyFile from glib instead. 2006-10-12 22:58:00 +00:00
yabause ab7a815544 "Rewrote" gtk gui in C... (it was almost just a matter of renaming .cpp
files to .c)
2006-10-12 22:11:24 +00:00
yabause b683a9305b Fixed linux version (cli and gtk interfaces). Hope I didn't broke anything.
The gtk gui is still in C++, so I had to add some extern "C" to compile it,
they may be removed when it will be rewrote in C.
2006-10-12 21:59:58 +00:00
cyberwarriorx 6448479c01 -Files no longer needed 2006-10-12 16:58:57 +00:00
cyberwarriorx debc860a76 -Moved cflash.* and fat.h to main source directory since they're not port-specific code.
-Adjusted makefiles and other sourcefiles accordingly
2006-10-12 16:58:00 +00:00
cyberwarriorx b6e940d480 -fw.* files renamed to mc.* since it's not just firmware stuff in it anymore.
-Moved those files to main source tree, since it doesn't make sense to have in a separate directory
-Removed spi.* from arm7 directory since they're redundant.
-A few other fixes
2006-10-12 15:42:11 +00:00
cyberwarriorx 0b402eee65 -Added support for Backup Memory. Memory type detection still needs to be added. I'm not sure what's the best way of handling that. 2006-10-11 21:52:43 +00:00
cyberwarriorx 79c3011b19 -CLI port is now switched over to C 2006-10-05 00:49:16 +00:00
cyberwarriorx bfabd56b52 -Main emulator code and windows port code conversion to C 100% complete. Files have been renamed to .c/.h files, and whatever needed fixing or rewriting has been rewritten. So at least that's one less major task to do.
-autotools files have been rebuilt
2006-10-05 00:16:43 +00:00
cyberwarriorx 116e6e6ca3 -saves.cpp/saves.hpp has been moved out of /src/windows since it isn't port specific. Code has also been made more portable and cleaned up. More work still needs to be done. 2006-10-03 20:59:50 +00:00
cyberwarriorx 7dc0772317 -Fixed a few more issues in the main emulator code that needed to be done before we can officially start compiling them as C code. 2006-10-03 20:29:42 +00:00
cyberwarriorx ac157aa606 -No longer needed 2006-10-03 19:11:59 +00:00
thoduv 81a6edab57 Update on new memory system: added basic DMA and some memories (itcm, shared, gba rom) 2006-07-05 21:02:23 +00:00
romanito 38645dc3ce added a 48x48 version 2006-07-05 13:58:45 +00:00
romanito 16ff76e724 added a 16x16 version 2006-07-05 13:15:41 +00:00
thoduv cc557e7ac8 New memory system update (endian-safe). 2006-07-04 23:43:48 +00:00
thoduv f07885b33e Endianess conversion macros 2006-07-04 21:48:58 +00:00
thoduv 09f84f85d3 Endianess conversion macros 2006-07-04 21:46:47 +00:00
thoduv 0582a69236 Reordering directories (arm9 and arm7 folder added).
Moved GPU and ARM9 to arm9/
Moved spi and fw (added write support, not tested) to arm7/
Compilation may be broken for gtk version (i'll fix it soon) and windows version (includes have to be changed)
2006-07-04 18:51:39 +00:00
yabause d0cdc455a8 Moved ARM7 and ARM9 from NDSSystem to global scope. 2006-07-04 14:37:59 +00:00
thoduv 93240873c6 BIT(n) was false. Now screen swap is fixed. 2006-07-03 10:12:48 +00:00
thoduv e72a9e8281 Added macros for clearing writing to memory
Cleaned DS card implementation (not completely done, to finish)
2006-07-02 23:48:39 +00:00
thoduv 22bca700ec GTK+ gui again:
- added debug key
- added INI files parsing/writing functions
- added config file loading/writing (keys)
2006-07-02 20:53:26 +00:00
thoduv 203016c44e Big change in GTK+ gui: now it can load/unload/load... roms.
Added firmware file settings.
Added desmume.cpp/h (can be used for other guis)
Deleted free() of ROM in NDSSystem, it's up to gui to malloc/free (so, no more double free in GTK+ gui)
2006-07-02 11:21:07 +00:00
thoduv 2d9e7200d8 Added basic frameskip
Updated ioregsView
2006-07-01 21:55:31 +00:00
normmatt234 f61ca96084 fixed includes for ConfigKeys was including the old .c and .h files 2006-07-01 11:58:58 +00:00
normmatt234 33bec5cecf include GPU.h, GPU.c, ARM9.h, ARM9.c 2006-07-01 11:47:07 +00:00
normmatt234 31adc1b25e created a new key config dialog 2006-07-01 11:45:12 +00:00
thoduv 4460f50bba Modifications to GTK+ gui:
- Speed improvement (use a higher priority for idle loop)
- Added beggining of "tool" system
- Tool "ioregsView" for REGS IE, IF and IME.
2006-07-01 09:55:08 +00:00
thoduv 672f4ef5c1 Added macros in MMU, better indentation, added some coments, etc... 2006-06-29 21:59:20 +00:00
thoduv d75ecf4db8 mmu code cleaning: added macros for REG_I* (IE, IME, IF).
renamed MMU.REG_I* to MMU.reg_I*
2006-06-29 19:35:53 +00:00
thoduv d2dcc53a9e *** empty log message *** 2006-06-29 18:43:36 +00:00
yabause e82af37a36 Changed #include dependencies again.
Fixed a bug in GPU (xfin could be greater than LG causing a segfault).
Moved GPUs from NDS to global.
2006-06-27 09:28:02 +00:00
thoduv de4acb537f gpu: replaced >>, <<, & and values with understandable macros from libnds (video.h) and cleaned indentation. partially done, i'll finish later 2006-06-22 17:06:54 +00:00
yabause f959cd5c15 Rewrote GPU in C. 2006-06-21 08:54:00 +00:00
yabause 5ba0b994fa Fixed the windows version avec the separation of MMU.
Renamed ConfigKeys.c/.h to .cpp/.hpp to get it compiling
with autotools scripts.
2006-06-20 23:08:42 +00:00
yabause b7ddc9cf2b Separated ARM9 from MMU so GPU doesn't depend on it anymore. Should ease
the rewrite in C.
2006-06-20 22:48:03 +00:00
normmatt234 6b5786fd1c Initial Import 2006-06-14 11:47:31 +00:00
normmatt234 ec0b48260b - included all files needed 2006-06-14 11:45:44 +00:00
normmatt234 833db3a5a0 main.cpp - added proper X/Y/DEBUG key implementations
resources.rc - added config dialog
resource.h - added combo defenitions
2006-06-14 11:44:53 +00:00
normmatt234 16eea7dd99 -fixed compile errors in dev cpp 2006-06-14 11:42:12 +00:00
yabause 77ed68f8f2 Moved some macros from armcpu.h in a separate file.
Moved Disassembler.cpp/.hpp to Disassembler.c/.h
2006-06-10 16:18:26 +00:00
yabause a68d444913 Added FS_SEPARATOR definition ('/' on linux, '\\' on windows) 2006-06-08 22:17:02 +00:00
yabause 657bc38dec Added cflash support to gtk interface. fs-linux now detects directories. 2006-06-08 21:57:00 +00:00