Commit Graph

2277 Commits

Author SHA1 Message Date
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