yabause
9ba3d19cde
Some more endianess fixes
2006-10-29 22:46:53 +00:00
yabause
81d23ee272
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
94a1fdd743
Some more endianess fixes
2006-10-28 22:48:38 +00:00
yabause
85b9c3b32a
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
fcf3d53474
Some minor fixes to the gtk port.
2006-10-16 19:14:25 +00:00
cyberwarriorx
ce44066fb1
-gtk code now working again.
2006-10-15 23:00:26 +00:00
cyberwarriorx
e1961c5114
Alright, CLI is definitely working this time
2006-10-15 22:59:07 +00:00
cyberwarriorx
893ef3a432
-linux cli should be working again
2006-10-15 22:22:07 +00:00
cyberwarriorx
5c44d4cd35
-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
911c34bade
-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
fd94e91ebf
-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
9acd6468fd
Oops, forgot to adjust path for types.h
2006-10-15 14:11:13 +00:00
cyberwarriorx
08ff788f99
Doh! Guill, you forgot to actually add the ARM9.* files again ;P
2006-10-15 13:55:25 +00:00
yabause
eaf764c3aa
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
bc2a4edee9
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
fbe4ed91b2
Started to change the gtk code to use GtkAction.
2006-10-14 14:13:31 +00:00
yabause
81e1859217
- 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
a5e8ce8fc9
Changed GPU_ligne arguments to something better.
2006-10-13 21:15:27 +00:00
yabause
7ccf3a13e2
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
ea93b9e6c6
Removed ini.c/.h in gtk sources and used GKeyFile from glib instead.
2006-10-12 22:58:00 +00:00
yabause
fb29258cf2
"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
f847214aea
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
2f027a46dc
-Files no longer needed
2006-10-12 16:58:57 +00:00
cyberwarriorx
e6d8cbcfd2
-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
31e2ab4436
-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
ad3093ae48
-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
e46c7fd648
-CLI port is now switched over to C
2006-10-05 00:49:16 +00:00
cyberwarriorx
94c82ef0d1
-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
8cb0c06d4b
-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
62a1a321cc
-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
7335f182a1
-No longer needed
2006-10-03 19:11:59 +00:00
thoduv
231223119e
Update on new memory system: added basic DMA and some memories (itcm, shared, gba rom)
2006-07-05 21:02:23 +00:00
romanito
a5538813e0
added a 48x48 version
2006-07-05 13:58:45 +00:00
romanito
1b4b100c27
added a 16x16 version
2006-07-05 13:15:41 +00:00
thoduv
8277ac7f53
New memory system update (endian-safe).
2006-07-04 23:43:48 +00:00
thoduv
9d1ba1bec9
Endianess conversion macros
2006-07-04 21:48:58 +00:00
thoduv
5a5af60a50
Endianess conversion macros
2006-07-04 21:46:47 +00:00
thoduv
0e7c9b679f
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
c6966c36b6
Moved ARM7 and ARM9 from NDSSystem to global scope.
2006-07-04 14:37:59 +00:00
thoduv
695302644f
BIT(n) was false. Now screen swap is fixed.
2006-07-03 10:12:48 +00:00
thoduv
fab2dde45b
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
0498d0376d
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
f022242a2d
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
a65a0bfbec
Added basic frameskip
...
Updated ioregsView
2006-07-01 21:55:31 +00:00
normmatt234
4c705da314
fixed includes for ConfigKeys was including the old .c and .h files
2006-07-01 11:58:58 +00:00
normmatt234
4f3c81a131
include GPU.h, GPU.c, ARM9.h, ARM9.c
2006-07-01 11:47:07 +00:00
normmatt234
fddbe4d92b
created a new key config dialog
2006-07-01 11:45:12 +00:00
thoduv
d457f81735
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
6a1571275e
Added macros in MMU, better indentation, added some coments, etc...
2006-06-29 21:59:20 +00:00
thoduv
2407041022
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