mightymax
f778538093
undid the last BG order change (sorry damoum, it was unable to run any nds file withou crashing, and gdb didnt even want to attach to it before desmume closed)
2007-01-11 18:46:19 +00:00
cyberwarriorx
540cc064eb
-Fixed another case of people declaring variables in the middle of a function. Whoever is doing it, please -stop-.
2007-01-11 18:33:32 +00:00
damdoum
bf3d9a5bff
gtk-glade : OBJ on/off
...
redone BG / OBJ priorities
2007-01-11 17:26:32 +00:00
mightymax
1965e45448
fixed affineMode switch for extRot BGs
2007-01-11 16:06:06 +00:00
mightymax
5c2eff4604
resolved GPU->lcd/core mixup, fixed addBack/remove to use new resorting
2007-01-11 15:24:02 +00:00
mightymax
ec21670868
applied namechanges of GPU.h into the .c (bitfield=>bits), fixed BG0_3D corrupting 2D background
2007-01-11 14:42:00 +00:00
mightymax
66a6a53327
added 8/32bit writes to masterbrightness registers
2007-01-11 14:08:47 +00:00
mightymax
1eba551108
masterbrightness works now exactly as on hardware (see added comments, where the problems with some files might come from and for a test .NDS)
2007-01-11 13:56:49 +00:00
damdoum
db5a7884fc
cleaning MASTER_BRIGHT
...
reverted 31 to 63 for brightness formula (gfx had become blank instead of
colourful for some games)
2007-01-11 12:24:35 +00:00
mightymax
b5ddb1ce2c
fixed extrot GBs
2007-01-11 12:12:33 +00:00
mightymax
3bc6e11ba2
combined both BG resortings and replaced it with a documented selection sort, broken BGs sinc 1.39 should work again
2007-01-11 11:50:41 +00:00
damdoum
cf4d99a320
cleaned BGProp[] out
...
:)
2007-01-11 10:14:42 +00:00
damdoum
e5918ccbc6
commented a bit the structures
2007-01-11 09:08:47 +00:00
evilynux
4601643cd6
Fixed cli UI keyboard bindings:
...
- X and Y were inverted;
- keyboard keys were never released.
2007-01-11 08:57:28 +00:00
evilynux
568dcfdc51
- Added joystick configuration routines.
...
- Remaped cli keyboard buttons for better usability.
- Added X and Y buttons to cli UI.
2007-01-11 08:51:24 +00:00
evilynux
3884a80f48
First glimpse of joystick configuration.
...
Still hidden as it's not 100% working at the moment.
2007-01-11 08:47:12 +00:00
shashclp
2d542a64c7
- Fixed too much background enabled when not needed due to window handling (fixes Megaman ZX subscreen)
2007-01-11 05:51:26 +00:00
shashclp
9a1143a3e7
- Fixed the bug that resulted in missing backgrounds in Megaman ZX and AoE (probably others too)
2007-01-11 05:08:45 +00:00
mightymax
b83c0051a6
fixed in/out-window check
2007-01-10 23:02:18 +00:00
mightymax
ea38d6c3da
fixed write to window registers
2007-01-10 23:01:25 +00:00
mightymax
defa6952f8
added 8bit writes to window dimesnion components
2007-01-10 21:06:09 +00:00
mightymax
a806f55c47
added 8bit component writes for window dimensions, fixed false abort in windowing
2007-01-10 21:05:17 +00:00
mightymax
5599c9ee15
added retrieving of RotScale parameters for sprites, removed CHECKME: H/V-flips are within original drawing rectangle
2007-01-10 20:21:48 +00:00
mightymax
19457346cd
fixed outside window filter
2007-01-10 18:32:25 +00:00
cyberwarriorx
b8fca1e8e4
-Fixed an issue where variables weren't being declared in the proper spot. This causes problems when compiling in Visual C++
2007-01-10 17:49:12 +00:00
evilynux
ae80da0c57
Fixed compilation error by moving min(a,b) macro to GPU.h .
2007-01-10 17:36:08 +00:00
evilynux
7ee96932df
- Removed joypad debug message;
...
- Renamed mouse_set_coord() to set_mouse_coord() for naming consistency;
- Added mouse_status structure to handle all mouse informations;
- Clarified some #endif for easier reading;
- Removed some french comments;
Only in src/cli/main.c:
- Removed 2 useless #define;
2007-01-10 17:29:47 +00:00
mightymax
c950ca35d8
fixed wrong optimized sizeof(COLOR) [is 4 instead of 2] caused overwriting unrelated data
2007-01-10 15:09:18 +00:00
mightymax
d166860a5f
fastened masterbrightness on max brighten(=allwhite)/max darken(=allblack)
2007-01-10 13:25:26 +00:00
mightymax
f75f24b53d
abort of masterbrightness calculation if manipulation factor is 0
2007-01-10 13:04:39 +00:00
mightymax
9a65ce5c07
ACL checks disabled when define MMU_ENABLE_ACL is not set
2007-01-10 12:49:48 +00:00
mightymax
2ed45a1d41
added missing *
2007-01-10 12:48:23 +00:00
mightymax
ffed3785ad
added accessright check to STRH/LDRH
2007-01-10 12:47:36 +00:00
mightymax
e5578d6ca7
added windowcheck to renderline_setFinalColor
2007-01-10 12:39:21 +00:00
mightymax
7f49e3cbff
fixed masterbrightness formular, fixed typo in windowcnt_t
2007-01-10 12:38:44 +00:00
mightymax
b4346d00ef
removed double COLOR define
2007-01-10 11:56:07 +00:00
damdoum
1b06735f17
added COLOR32 structure (for those like me converting colors :))
2007-01-10 08:58:35 +00:00
damdoum
f05310c559
started window implementation
...
added COLOR structure (cleanup soon)
BG priorities and OBJ priorities need better code commenting / code to
explain / redo
2007-01-10 08:50:25 +00:00
evilynux
016cd09ed5
All cli UI controls centralized in src/ctrlssdl.{h,c} just like the gtk and gtk-glade UIs.
2007-01-10 06:37:55 +00:00
evilynux
cd0f5ea781
Added SDL_Quit and mouse support for cli UI.
2007-01-10 06:36:26 +00:00
evilynux
8a718d5f27
Using _UI suffix for better understanding.
2007-01-10 05:04:57 +00:00
evilynux
1d9b17bd18
Unified joystick controls.
...
Both gtk and gtk-glade UIs use src/ctrlssdl.{h,x} for joystick support.
2007-01-10 04:34:56 +00:00
evilynux
9a6a3a36f7
Unified device controls. Both gtk and gtk-glade UIs uses this for joystick support.
2007-01-10 04:33:19 +00:00
mightymax
8002f6b129
type fixed
2007-01-10 00:37:32 +00:00
mightymax
67ac2f8b04
prefetch now checks for rights to execute at the address. Stops execution if pc(r15) runs outside valid addressranges
2007-01-10 00:31:12 +00:00
mightymax
1ff96c7899
cp15 access check is now inline
2007-01-10 00:27:58 +00:00
shashclp
54d9fa1c26
- Forgot to commit the changes to get oamView to compile
2007-01-10 00:19:16 +00:00
shashclp
c3c2b9fc75
- Added support for displaying main memory display mode
...
- Added support for main memory display DMA
- Enlarged the FIFO's to 32768 values
2007-01-10 00:06:50 +00:00
yabause
30022dea74
Fixed compilation bug: FIFOValue was used in GPU.h without #include'ing
...
FIFO.h, so it ends up having two 'declarations' of FIFOValue
2007-01-09 23:26:38 +00:00
shashclp
8157759485
- Added support for MASTER_BRIGHT
...
- Changed a few things to get VisualC to compile GPU.c
2007-01-09 22:38:23 +00:00
mightymax
629f89e81b
fixed crash when changing to a errornous sounddevice (i.e. the change from wav-writer to directsound which returned E-Fail)
2007-01-09 16:30:41 +00:00
damdoum
bdfb144695
tried to add core A - direct RAM display mode
2007-01-09 13:59:38 +00:00
damdoum
c21a0372e9
changing gpu->BGProp[] to gpu->bgCnt[]
...
please use the latter from now on
2007-01-09 10:52:07 +00:00
mightymax
87de52a0f8
added WINDOW_x registers to prepare window clipping
2007-01-09 10:18:17 +00:00
damdoum
07a8b0f032
used union for better handling of bitfields
2007-01-09 09:26:57 +00:00
damdoum
f5238bcf92
fixed last modification (that did not compile)
2007-01-09 08:57:07 +00:00
damdoum
f5f468387e
no more gpu->prop
...
replaced with gpu->dispCnt & macro BGxENABLED
2007-01-09 08:40:05 +00:00
damdoum
4ba50a1f1e
_DISPCNT_ struct completed
2007-01-09 08:09:59 +00:00
shashclp
86a54a81fd
- Added writes to bldcnt and bldalpha when written together as a 32bit value (Fixes Zelda Gallery)
2007-01-09 04:24:32 +00:00
cyberwarriorx
4304f2dda3
-Fixed disview.c so it compiles in Visual C++ again
...
-Added ROMReader.c/.h to Visual C++ project file
2007-01-09 03:08:20 +00:00
shashclp
c7b7789c2f
- Moved the sprite drawing check to GPU_ligne
...
- Moved some declarations so the code compiles again on VisualC
2007-01-09 00:30:59 +00:00
evilynux
36d854f832
Initial joypad support for cli UI.
2007-01-08 22:03:33 +00:00
mightymax
5f80bae387
added 16bit REG_DISPx_MOSAIC write
2007-01-08 21:51:01 +00:00
mightymax
abf8e68cbc
added support for MOSAIC effect in textBGs, test .NDS: http://desmume.sourceforge.net/forums/index.php?action=vthread&forum=2&topic=50&page=0#msg192 , doc: http://nocash.emubase.de/gbatek.htm#lcdiomosaicfunction
2007-01-08 21:49:32 +00:00
evilynux
9c85d0f3d0
Better indentation so I can see something.
2007-01-08 21:12:48 +00:00
evilynux
b79a3f067b
Fixed copyright.
2007-01-08 21:02:13 +00:00
evilynux
0df506db73
Script to regenerated autotools files.
2007-01-08 20:59:57 +00:00
evilynux
e7c4734cff
Initial joypad support for gtk UI.
2007-01-08 20:57:14 +00:00
evilynux
af1bde05d9
Centralized includes.
2007-01-08 20:56:27 +00:00
evilynux
182a93cb4c
Proper indent for Joypad const.
2007-01-08 20:52:30 +00:00
evilynux
486d28aea7
Removed useless include.
2007-01-08 20:45:56 +00:00
evilynux
f7f03f7bb6
Added copyright on DeSmuME team as there were no owner.
2007-01-08 20:44:44 +00:00
mightymax
f5e00d6189
added more comments, removed the suspicious(and false) color shifting, fixed typo/naming prob from 1.31
2007-01-08 18:09:47 +00:00
damdoum
ff2b794d64
_DISPCNT_ structure definition
2007-01-08 16:56:51 +00:00
mightymax
c28b17c794
fixed DISPCNT_DISPLAY_MODE which broke framebuffer mode (oups)
2007-01-08 14:38:56 +00:00
damdoum
2cd9ca118a
evilynux patch...
2007-01-08 14:17:29 +00:00
damdoum
e8e6fc402d
added GPL notice
2007-01-08 13:14:10 +00:00
damdoum
3afd618c0d
evilynux patch for joypad support
2007-01-08 12:57:32 +00:00
mightymax
7b37990d8f
support for direct color extrot bitmap opaque bit. Refer GFX TestNDS @ http://desmume.sourceforge.net/forums/index.php?action=vthread&forum=2&topic=50
2007-01-08 12:21:13 +00:00
damdoum
ef905c5177
made sprite1D and sprite2D more understandable
...
(using new struct _OAM_ fields)
2007-01-08 01:50:31 +00:00
damdoum
68dba08480
alpha blending - disabled check for invisible pixels (since some
...
graphics were not drawn anymore)
added OAM bit fields
2007-01-07 23:53:14 +00:00
mightymax
19a6b90945
ROMReader.c/h included
2007-01-07 23:42:57 +00:00
mightymax
1fa614817b
removed execution break from STC/LDC, the nds has no coproc that respond to any of them. without response, nothing is triggered/executed on the cpu. dslinux works now ;)
2007-01-07 23:07:52 +00:00
mightymax
498c2b0550
fixed and commented interrupt waiting for cp15
2007-01-07 22:30:11 +00:00
mightymax
b86c3f4ee6
added speedchecks to alphablending, added comments to explain its steps, replaced another set of bitmasks against defines
2007-01-07 21:49:28 +00:00
yabause
eafe6526c6
Added a zip ROMReader code based on libzzip and fixed a few bugs
...
in ROMReader interface.
2007-01-07 21:38:23 +00:00
mightymax
d53e9a93d2
compiles again under win32 & systems without gzip, added checks for invalid file ptrs
2007-01-07 21:00:45 +00:00
shashclp
c984c44a84
- Some performance checks in case of sprites disabled
2007-01-07 20:27:17 +00:00
damdoum
103fe72454
some more cleaning using macros
2007-01-07 19:58:11 +00:00
damdoum
d1a207c73f
some cleaning so that it can be understood easier
2007-01-07 18:59:59 +00:00
yabause
6c383a2ce2
Added Rom header core definition and two cores:
...
- standard one open a "normal" rom
- gzip one opens a gzip'ed rom
Now it should be easy to add new cores to handle other compression formats
2007-01-07 16:16:54 +00:00
mightymax
f160a32561
replaced unreadable bitmasks with named defines
2007-01-07 14:31:17 +00:00
damdoum
fb586a2359
cleaner code (using macros)
2007-01-07 14:18:03 +00:00
damdoum
7476a02675
began correcting this error : actions not enabled when loading rom from
...
command line
2007-01-07 12:37:41 +00:00
damdoum
225c332ba3
alpha blending corrected (?)
2007-01-07 11:46:34 +00:00
mightymax
4a84175459
fixed VRAM_BANK_E in ExtPal mode
2007-01-07 11:35:55 +00:00
damdoum
dacfc4613c
showing real changes
...
(sorry i had disabled effects to spot errors, back now)
2007-01-07 11:23:19 +00:00
damdoum
1fc939f31c
corrects some error l787 & l797
...
(some objects were not drawn anymore -> used the prior formula)
2007-01-07 10:48:28 +00:00
mightymax
7e15fa37e5
support for sprite enable bit in DISPCNT (bug report #1629605 )
2007-01-07 09:13:25 +00:00
damdoum
81883e1194
small cleanup
2007-01-07 09:06:29 +00:00
damdoum
ffd3a5461e
some more FPS !!!
...
faster rgb image decode (not gtk/gdk dependant and
could be moved to all ports)
Enjoy
2007-01-07 01:58:32 +00:00
yabause
939b5e7a5b
Commited anonymous patch for incorrect x/y buttons on gtk port.
2007-01-07 01:01:24 +00:00
yabause
9964b5ad3e
Commited cribbe patch for gzipped roms.
...
I've added #ifdef to the code, so desmume still compiles if libz isn't
installed. Now it would be better to use "cores" for file accesses as it
would be a mess to add support for zip, rar, etc. in such a way.
2007-01-07 00:45:43 +00:00
damdoum
b01c65aea9
gap between screens modified (works now horiz. and vert.)
2007-01-07 00:20:12 +00:00
yabause
95b6ea0b27
Commited evilynux patch for gap between screens.
2007-01-07 00:02:16 +00:00
shashclp
5dae3a7a8a
Added the missing semicolons :)
2007-01-06 18:25:16 +00:00
damdoum
707792dae1
SPU.h : made SPU_Pause visible
...
gtk-glade : mute sound & boost key
2007-01-06 15:08:41 +00:00
mightymax
83e873f945
fixed recalculate permission masks on region permission added, corrected ITCM base address write, its read only
2007-01-06 14:37:30 +00:00
mightymax
ce6d304d85
fixed recalculate permission masks on region permission added, corrected ITCM base address write, its read only
2007-01-06 14:13:01 +00:00
damdoum
f3abae1025
scaling 1x 2x 3x
...
rotating (e.g. Brain Age)
deleted Makefile (is generated !)
2007-01-06 13:26:54 +00:00
yabause
f3e18f0457
Applied evilynux patch to glade port, it seems that the port now compiles
...
fine so it's included in autotools scripts.
2007-01-06 09:59:28 +00:00
mightymax
21a8bc42b3
included REG_DISPx_BLDY to pass to GPU
2007-01-05 23:04:38 +00:00
mightymax
a61bc58dc4
added missing special color effects (brighten/darken, included OBJs as effect target
2007-01-05 23:03:47 +00:00
mightymax
027ecb5373
added REG_BLDCNT support -> Working tilemap alpha blending
2007-01-05 19:29:29 +00:00
damdoum
aec299664e
size 1x 2x 3x
2007-01-05 17:59:01 +00:00
damdoum
e725030db9
scaling 1x 2x 3x
2007-01-05 17:52:40 +00:00
damdoum
b72cfed09a
dtools : io regs working now
2007-01-05 13:39:45 +00:00
mightymax
340864c47a
fixed linenumber showed when switching arm/thumb view
2007-01-05 13:04:52 +00:00
mightymax
2f3bc5f92c
added cp15 region access checks
2007-01-05 12:56:53 +00:00
damdoum
5180340738
cleanup unnecessary files
2007-01-05 12:16:31 +00:00
damdoum
7d3559bf4b
cleanup in unnecessary files
...
modified automake file (but Makefile.in needs be modified too)
2007-01-05 11:20:43 +00:00
damdoum
1071c4087e
changed Makefile to add debug tools ui
...
need change of autoconfigure script
2007-01-05 10:52:53 +00:00
damdoum
ae44368182
relocated glade & resource files
...
began debug tools ui
2007-01-05 10:46:05 +00:00
yabause
8a6bb9a809
Modified autotools scripts to handle glade port. It is disabled for now,
...
as it seems there's some missing files in the gtk-glade dir.
2007-01-05 01:12:31 +00:00
yabause
ec440a0d60
Removed the last changes to autotools scripts, I gonna add better glade
...
detection later.
2007-01-04 00:03:52 +00:00
damdoum
55cfb520b8
damdoum 2007-01:
...
gtk-glade ui files
2007-01-03 23:54:08 +00:00
damdoum
daf5d2713d
damdoum 2007-01 :
...
added gtk-glade ui
needs libglade-2.0 and "-Wl,-export-dynamic" for compilation
2007-01-03 23:51:04 +00:00
yabause
15d890bcd3
Commited Cyrille Bagard patch to SWAP macro
2006-12-26 21:07:39 +00:00
yabause
f1f3c38c42
Fix to the gtk port so versions of gtk without g_file_set_contents can
...
be used.
2006-12-25 22:06:15 +00:00
cyberwarriorx
2713e143ef
-Should be accurate now
2006-12-23 21:50:45 +00:00
yabause
58dd16bff9
Added an autopackage configuration file and updated autotools scripts.
2006-12-23 21:26:21 +00:00
yabause
d4e8d301f8
Added README.LIN and fixed a typo in README.WIN
2006-12-23 21:15:42 +00:00
cyberwarriorx
575b480f27
-Updated version. configure,etc. still needs to be rebuilt though
2006-12-23 16:04:17 +00:00
cyberwarriorx
a3c3b405c1
-Added a couple of contributors
2006-12-23 16:03:45 +00:00
cyberwarriorx
a8f2c73d6d
-Oops, missed a couple of things
2006-12-23 13:44:11 +00:00
cyberwarriorx
f7994c0f4a
-Argh, I hope there isn't anything important I missed.
2006-12-23 13:43:21 +00:00
cyberwarriorx
b068b0222b
-Updated authors list. I'm pretty sure this will have to be changed yet
2006-12-23 11:49:12 +00:00
cyberwarriorx
9f817cfca2
-Added main readme file
...
-Fixed a grammar issue that Normmatt found
-Fixed a formatting issue
2006-12-23 11:39:19 +00:00
cyberwarriorx
3eb8d8fa9f
-Added readme for windows's port in preparation of release
2006-12-23 10:31:24 +00:00
cyberwarriorx
2f32db41cb
-Added some SWI changes Mighty Max sent me. Relocating SWI routines should work now.
2006-12-23 00:52:11 +00:00
yabause
c5c1ac7895
fixed compilation issues for gtk port.
2006-12-17 11:04:58 +00:00
cyberwarriorx
326109d0c8
-Couple of backup memory fixes
...
-Changed NDS_LoadROM so it takes two more additional arguements(backup memory type and size)
-Changed windows port so it preserves the setting for backup memory when loading a new rom, this should fix some backup memory corruption issues
2006-12-10 03:26:01 +00:00
cyberwarriorx
dcdfbd1411
-Frameskipping is now configurable. Settings are also loaded and saved from/to the ini file
2006-12-09 23:47:01 +00:00
cyberwarriorx
3aa8497c47
-Closing the IO register dialog no longer crashes the program anymore
2006-12-09 07:12:18 +00:00
cyberwarriorx
7ab8846882
-Fixed a bug that only showed up when I was compiling with mingw(I guess microsoft compilers must handle free()'s to invalid pointers a lot better)
2006-12-09 05:19:56 +00:00
cyberwarriorx
567d403a3e
-Added a new register define
...
-Changed MMU.c to use register defines
2006-12-09 05:04:04 +00:00
cyberwarriorx
c06e0c2c29
-Code is no longer dependent on libnds
...
-Fixed a bug where the old backup memory file handle wasn't being freed before opening a new one.
2006-12-09 01:05:26 +00:00
cyberwarriorx
fe2e82c8a6
-Fixed a memory leak in Rom Info dialog
...
-Rom Info and Reset menu options are now only enabled after a ROM has been loaded
2006-12-08 06:40:02 +00:00
cyberwarriorx
dce78ebfaa
-A few more internal variables are now being reset
2006-12-08 05:26:50 +00:00
cyberwarriorx
e408d73320
-Reworked rom loading so you can load a different rom without any problems
...
-Finished NDS_Reset. Now the emulation can be reset even while running.
2006-12-08 04:03:18 +00:00