normmatt234
f19bb9cfce
MMU .c/.h - Added a Clear Memory function
...
NDSSystem.c - Call Clear Memory every time you run a rom to make sure all the the
memory is blank like it should be
mc.c - Added basic saving backup ram to file (it slows saving down ALOT though)
2006-11-14 04:35:54 +00:00
cyberwarriorx
52f564a0fe
-Fixed a bug where some sprites would have the wrong palette.
2006-11-13 18:00:33 +00:00
normmatt234
86bb6625ac
Added SPU_Pause function
2006-11-13 08:28:37 +00:00
normmatt234
248521cd2b
Added support for FRAM and added some defines for save sizes
2006-11-13 07:26:03 +00:00
normmatt234
eba2abe57a
updated to work with latest cvs code
2006-11-13 05:51:49 +00:00
cyberwarriorx
7f22251195
-Sound is now enabled by default in linux port
2006-11-12 21:36:24 +00:00
cyberwarriorx
78c2f87c10
-Doh! Fixed another sound buffering bug, this time in the linux port
2006-11-12 21:34:54 +00:00
cyberwarriorx
6df185860a
-Sound output is now enabled by default for the windows port
...
-Fixed a bug where the emulation thread wasn't being killed when the program finished
-Added new experimental auto frameskip/frame limit code.
2006-11-12 20:30:16 +00:00
cyberwarriorx
d02edee33c
-Fixed the formatting
2006-11-12 18:24:53 +00:00
cyberwarriorx
9c39bf3241
-Added new function that allows porters to change sound cores after emulation has been initialized.
2006-11-12 18:23:14 +00:00
cyberwarriorx
b0d4e97fde
-Removed some old code
2006-11-12 15:44:25 +00:00
cyberwarriorx
59755b42b0
-Fixed a bug where the emulator would crash if desmume.ini wasn't present
2006-11-10 23:39:21 +00:00
yabause
63aaea7bf8
Fixed linux fs driver... cflash would need some rewriiting too...
2006-11-09 21:51:39 +00:00
cyberwarriorx
a531401927
-Oops. Forgot to commit windows sound support file
...
-Added SDL sound support for linux port
2006-11-07 19:08:28 +00:00
cyberwarriorx
d193971f5f
Linux port should compile again
2006-11-07 16:33:31 +00:00
cyberwarriorx
c99931f5e5
-Added Get ROM chip ID Cartridge command. This should greatly increase compatibility.
2006-11-07 00:26:49 +00:00
cyberwarriorx
bbdd032c12
-Added NDS Sound emulation(spu.c/spu.h)
...
-Fixed a few odd bugs
-Added a new sound core system(pretty much taken right out of yabause)
-Added Wav file write core
-Added dummy core(it's currently set as the default)
-Added Direct Sound core(windows port only)
-There's still a number of issues with sound. I really don't understand what's causing them.
2006-11-06 18:49:01 +00:00
cyberwarriorx
10bd92e7c1
-Removed some unnecessary logging
2006-11-06 17:01:07 +00:00
yabause
6265da362a
Some more fixes to the linux filesystem driver, it seems to be
...
working now.
2006-11-04 19:51:47 +00:00
yabause
8ea9c268fb
Removed 8.3 filenames from linux filesystem "driver" as it can't works.
2006-11-04 14:52:22 +00:00
yabause
a1d64fa319
Fixed a bug I introduced in GPU and made cflash working again
...
(using the current directory instead of the rom directory, I
think it should be ok)
2006-11-04 14:09:36 +00:00
yabause
c0a92ffe3d
Some more endianess fixes
2006-10-29 22:46:53 +00:00
yabause
1827c3f3b6
Almost all memory access are now using T1Memory functions, there's
...
some u32 accesses that should use T2Memory left. u8 * casts are
still here too but they should be ok.
Most of those changes have been tested but not all, so there may be
problems...
2006-10-29 15:47:19 +00:00
yabause
eba3fbbf09
Some more endianess fixes
2006-10-28 22:48:38 +00:00
yabause
3bfa3f6482
Added Yabause's T1Memory functions and used them to replace pointer
...
casts. It should fix endianess issues. (still a work in progress)
2006-10-28 15:44:24 +00:00
yabause
0712619eae
Some minor fixes to the gtk port.
2006-10-16 19:14:25 +00:00
cyberwarriorx
ea3822a654
-gtk code now working again.
2006-10-15 23:00:26 +00:00
cyberwarriorx
2ba05970a8
Alright, CLI is definitely working this time
2006-10-15 22:59:07 +00:00
cyberwarriorx
2e7211bb99
-linux cli should be working again
2006-10-15 22:22:07 +00:00
cyberwarriorx
a193d47deb
-Moved over LoadFirmware function from gtk code to emulator core. Yet another function that should be portable
2006-10-15 22:08:43 +00:00
cyberwarriorx
b8a4e56b98
-Screenshot function moved to NDSSystem.c. Now all ports can use a universal screenshot function.
...
-moved __PACKED type to types.h
2006-10-15 21:42:16 +00:00
cyberwarriorx
76bb37145d
-Renamed the various *Init/*DeInit functions to *_Init/*_DeInit so it better matches the naming convention of the rest of the functions
...
-Changed the way NDS_LoadROM works. It still needs -some- work(cflash is broken for now), but basically the idea is to cut down on duplicate code and instead have the emulator core do most of the work.
-Added a GPU Reset function. Once the reset function for the other chips, etc. are working, we can finally do a proper reset function.
-Linux port is probably broken again(sorry!)
2006-10-15 20:45:17 +00:00
cyberwarriorx
f017086930
Oops, forgot to adjust path for types.h
2006-10-15 14:11:13 +00:00
cyberwarriorx
87f1c439b7
Doh! Guill, you forgot to actually add the ARM9.* files again ;P
2006-10-15 13:55:25 +00:00
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
yabause
8c70e4a8c2
Added some code to fs-linux.c, it's now working enough to display files
...
but doesn't parse subdirs. The code needs some cleaning...
2006-06-07 22:52:24 +00:00
yabause
01a8c191e2
Moved the \\* in fs-windows.c
2006-06-07 22:11:43 +00:00
yabause
3de4593edf
Moved fs.c to fs-windows.c and added some dummy fs-linux.c
2006-06-07 22:00:48 +00:00
yabause
1c1aa297f2
Removed the windows-specific code from cflash and fat files.
...
Moved the directory access code in fs.c/.h
fs.c is still windows-specific code, I'll have to write a
POSIX version of that file.
2006-06-06 22:57:24 +00:00
cyberwarriorx
ac6ea9b9a4
-Changed's unsigned long's to u32. Should be more 64-bit compatible
2006-06-04 22:32:56 +00:00
ieremiou
74257346de
- Fixes for cflash updates
...
- Added makefile.am linking for cflash
- Removed self-inserting redundant include in yopyop.. I thought that was fixed before.. sigh.
2006-05-26 14:03:43 +00:00
normmatt234
2b550ddba4
main.cpp - added GBAMP emulation thanks to mic
...
DeSmuME.dev - added icon and removed the include for the zlib dll, now it shouldnt require the dll
2006-05-26 07:41:51 +00:00
yabause
abe8a5975a
FIFO is now in C.
2006-05-14 12:08:05 +00:00
yabause
e368117a06
Removing framebuffer emulation :p
2006-05-14 10:35:12 +00:00
yabause
5ef9f4eee7
Added initial framebuffer emulation. You have to define FRAMEBUFFER
...
to enable it (this can be done with ./configure --enable-framebuffer
if you're using autotools scripts)
2006-05-14 09:16:42 +00:00
yabause
a26856e8b1
Fixed debug.h so variadic macros are working without arguments and
...
added an extern "C" so there's no linker error when using autotools
script to compile.
2006-05-14 06:14:48 +00:00
yabause
a19d281580
Removed the NDSSystem parameter as it's a extern one.
...
Rewrote the LOG macros so they are ANSI-compliant.
2006-05-13 22:34:38 +00:00
yabause
bde51f84e4
Removing useless files.
2006-05-13 18:43:53 +00:00
yabause
79c6fdcdcf
Fixed autotools script so they're searching for zlib and add some #ifdef
...
in saves.cpp
2006-05-13 12:48:19 +00:00
normmatt234
bf35693ebc
Added Savestates
2006-05-13 11:18:48 +00:00
aped
29f77fa637
translated more stuff
2006-05-13 09:09:59 +00:00
yabause
8db41a8ec5
bool -> BOOL (true -> TRUE and false -> FALSE too, btw)
2006-05-12 21:53:26 +00:00
yabause
4b4d7812ba
Some mac os x support... at least now it's not segfaulting anymore...
...
but it gives black screen.
2006-05-05 10:18:16 +00:00
yabause
1c5f3990c7
Added a command line interface.
2006-05-05 08:33:09 +00:00
yabause
104ef2efa8
Partial rewrite of MMU in C. Gonna finish that later.
2006-05-02 15:10:27 +00:00
cyberwarriorx
ae888f3181
-Fixed a few bugs
...
-Cleaned up code(screenshots now using win32 api structures)
-A few other things I can't remember
2006-04-18 19:43:26 +00:00
cyberwarriorx
c3cf08646d
-Added English Menu's for screenshots
...
-Fixed a strange issue where yopyop_private.rc was including itself
2006-04-18 19:01:26 +00:00
delfare
1a3bbf6070
limit fps
2006-04-18 17:24:02 +00:00
delfare
7b1695388b
printscreen add
2006-04-18 16:41:34 +00:00
cyberwarriorx
86979e44a7
-Added BOOL type and TRUE and FALSE definitions(if they're not defined). When converting C++ -> C, please use this to convert bool variables
2006-04-16 19:17:11 +00:00
yabause
574603e7c5
Partial conversion of FIFO class to C.
2006-04-15 13:12:13 +00:00
cyberwarriorx
517f7f7cde
-Translated some french variables to english
...
-Added an english menu for windows port
-Fixed a couple of potential issues
-Added new logging to windows port
2006-04-14 20:28:15 +00:00
cyberwarriorx
619c90e81c
-Changed code to use Yabause's logging system, fixed a few odd things
2006-04-14 00:32:35 +00:00
cyberwarriorx
435a82a144
-File needs to be redone as it's not as up to date as armcpu.cpp(It's not entirely in C yet either)
2006-04-14 00:24:45 +00:00
cyberwarriorx
64868f5be9
-Adding Yabause's logging system(since it's more functionally complete)
2006-04-13 19:35:46 +00:00
cyberwarriorx
d154d92333
-Changed version to 0.3.3 which is what the windows port currently reports it as.
2006-04-12 22:59:20 +00:00
cyberwarriorx
83472a5fb8
-Changed variable types so they're more portable
2006-04-12 20:55:35 +00:00
cyberwarriorx
8638225f69
-Changed variable types so they're more portable
2006-04-12 20:41:39 +00:00
yabause
996a026e61
Replaced __fastcall by FASTCALL
2006-04-12 20:03:05 +00:00
cyberwarriorx
c9460e6d8b
-Changed variable types so they're more portable
2006-04-12 20:02:11 +00:00
thoduv
f028b8aec4
Added "config.h"
2006-04-10 14:24:12 +00:00
cyberwarriorx
202c3d7065
-Changed variable types so they're more portable
2006-04-10 02:22:38 +00:00
cyberwarriorx
65e81946a7
-Changed variable types so they're more portable
2006-04-10 02:00:55 +00:00
cyberwarriorx
fee31029b9
-Changed variable types so they're more portable
2006-04-08 20:20:57 +00:00
yabause
821666bed5
Fixed compilation for windows.
2006-04-08 15:20:21 +00:00
yabause
eefd5e7752
Moved the SDL test in linux only part, as it isn't needed for windows.
2006-04-08 14:23:26 +00:00
yabause
a3eeac26cf
Got some comilation problems with resource.hpp, so renamed it to resource.h
2006-04-08 13:28:26 +00:00
yabause
25dc03b40c
Added autotool scripts for windows. Fixed some things in the windows
...
version to have it compiling.
2006-04-08 13:25:25 +00:00
yabause
5ce0f5b852
updating autotools script to match source changes.
2006-04-07 20:51:14 +00:00
thoduv
d92d13f099
BIG CHANGE : Core of emu (armcpu) has been translated to C
2006-04-07 19:20:51 +00:00
yabause
028eba694c
forgot to add the conditional subdir in Makefile.am
2006-04-06 21:26:13 +00:00
yabause
637bc5bffa
gtk should be used only on linux (for time being)
2006-04-06 21:22:22 +00:00
yabause
363ba63dc9
Adding autotools stuff. Still need to write the windows Makefile.am.
2006-04-06 20:41:56 +00:00
thoduv
dcf1e19871
Conversion from ARM_CPU (c++) to C ! :)
2006-04-06 19:57:38 +00:00
thoduv
97d25810fd
Rename "types.hpp" to "types.h" (seeing I've made the error in all header ;P)
2006-04-06 19:15:36 +00:00
thoduv
700fb868e8
Added GTK+ GUI
2006-04-06 16:46:53 +00:00
cyberwarriorx
25adcf05f4
-Accidently forgot to rename one file
2006-04-06 01:30:31 +00:00
cyberwarriorx
230cafdbc0
-Initial source add. Windows-specific code
2006-04-05 23:13:44 +00:00
cyberwarriorx
3c2bb0cee4
-Initial source add. Changed copyright headers to english, change file name conventions to *.cpp/*.hpp
2006-04-05 21:01:57 +00:00
yabause
f9128bf0f6
Testing syncmail...
2006-04-05 20:32:01 +00:00
cyberwarriorx
d0ec168890
This commit was generated by cvs2svn to compensate for changes in r5,
...
which included commits to RCS files with non-trunk default branches.
2006-04-05 20:14:28 +00:00