Commit Graph

440 Commits

Author SHA1 Message Date
evilynux 04efc44e8d Refactored io_regs:
- showing all registers at the same time;
- possibility to autorefresh or refresh manually;
- removed display registers, please use the nice memory viewer.
2007-01-14 19:06:38 +00:00
mightymax 5155995bd4 BitmapInfo.height for 180� rotation fixed 2007-01-14 16:47:02 +00:00
damdoum e6945494fd palette viewer auto update
+ extended palettes
2007-01-14 16:10:22 +00:00
mightymax 3529e4e168 corrected touchscreen input after resizing 2007-01-14 15:39:29 +00:00
damdoum 71f9ef2fe6 palette viewer :) 2007-01-14 15:14:54 +00:00
mightymax 4e98173b06 added window resizing 2007-01-14 14:54:48 +00:00
normmatt234 bd200d2fae Added Screen Rotation patch by Guerrero747 2007-01-14 13:21:44 +00:00
damdoum 0352f458ef libgen.h no more used
fixed broken callbacks
2007-01-14 12:26:12 +00:00
damdoum ac5aa547c7 Makefile.in overwritten by autogen.sh (sorry if it breaks anything)
src/Makefile.am -> made fs-$(arch).c file in the source
gtk-glade : began palette viewer
2007-01-14 11:53:04 +00:00
damdoum 64e9bc4ddc hide widgets i/of destroying them (so they can be opened again
(bug was added when changed delete-event handler)
2007-01-14 02:01:50 +00:00
damdoum 8498880540 added changes tracking to memory viewer
(oh yeah ;) this mean autoupdate has been done too)
2007-01-14 01:50:32 +00:00
mightymax 2a4634faf0 changed socket_t for non windows systems 2007-01-13 23:00:21 +00:00
damdoum e5f978e94d memviewer done :) 2007-01-13 22:48:56 +00:00
mightymax 1a7fdbff3b changed sprite coord passing to previous version, to fix the testcase 2007-01-13 22:26:16 +00:00
mightymax eaf3f71688 changed special color effect handling within windows 2007-01-13 22:18:33 +00:00
mightymax 5b3cadc8c6 added trigger for wifi timer (every 0x3F03 cycles, ~1us) 2007-01-13 19:12:12 +00:00
mightymax b7185b48b0 added usec timer, wifi irq requests 2007-01-13 19:09:57 +00:00
mightymax 2ccfbdf116 added IE and IME check to interrupts 2007-01-13 19:08:58 +00:00
mightymax 86ba586d00 framebuffer mode now also works from LCD memory 2007-01-13 13:43:07 +00:00
mightymax 540ffbbcda things i worked on last week 2007-01-13 12:36:14 +00:00
mightymax fb4e8744f1 disabled persistent VRAM banks for now, they are causing problems when more then one bank is mapped to the same address 2007-01-13 11:22:47 +00:00
mightymax d8c5fc197d special window setting (startcoord == endcoord) is only used for the xCoord 2007-01-13 11:13:33 +00:00
mightymax 9326265fab included wifi.c/h into builds 2007-01-13 10:17:16 +00:00
mightymax 76a44178c2 added some more I/O register writes, added wifi register defines 2007-01-13 10:13:04 +00:00
evilynux 34fa39a8db Fixed keyboard cfg corruption when quitting joystick configuration. 2007-01-13 08:09:18 +00:00
normmatt234 50fe91ad05 GPU.H - Added a fix for he framebuffer not displaying on the sub screen (not working atm)
MMU.C - Added some more VRAM modes
MMU.C - Added variable used to determine which screen to draw the framebuffer too
2007-01-13 06:04:58 +00:00
evilynux d04010b342 Added some idiot proof protection. Still needs improvements. 2007-01-12 23:45:51 +00:00
evilynux 12b0460342 Added nbr_joy variable for interfaces using joysticks. 2007-01-12 23:44:23 +00:00
shashclp 96040fecb6 - Added the option to show .zip/.gz in the loading dialog, if supported when compiling 2007-01-12 23:43:32 +00:00
mightymax 2bce1c55e7 VRAM-Bank(A-D) data is now persistent when their allocation is changed, restricted a bunch of display registers to arm9 only, added 16/32 bit write to REG_VRAMCNTx 2007-01-12 23:25:49 +00:00
evilynux 2995bd8a78 Added joystick configuration support! 2007-01-12 22:51:57 +00:00
mightymax 2d92310faa fixed windows of size 0 2007-01-12 20:07:38 +00:00
mightymax c41c3b1fc9 cleaned up windowdecision, fixed wrong x coordinate useed for sprites in windows 2007-01-12 19:46:01 +00:00
mightymax 5d53948dec enabled normmatt's modification to framebuffer modes 2007-01-12 19:07:36 +00:00
damdoum 26a25f0126 cpu select in memory view 2007-01-12 18:35:32 +00:00
damdoum 744081ab76 memviewer ok...
lacks scrolling, auto-resize, monospace font, ... well it's a start
2007-01-12 17:59:41 +00:00
damdoum c3dce7dd35 sorry i forgot to add this file :) 2007-01-12 16:40:12 +00:00
damdoum a6e1c658cd adding memory viewer 2007-01-12 16:27:45 +00:00
damdoum 69ae8304dc added code from Normatt for VRAM A,B,C,D (but commented)
going to add memory viewer for gtk-glade
2007-01-12 15:19:06 +00:00
mightymax c08a996ff2 addded wifimac_t I/O functions 2007-01-12 14:12:55 +00:00
mightymax 3d31ec42c1 addded TEST register to rf writes (causes rf reset), time of rf register transfer fixed 2007-01-12 13:04:25 +00:00
damdoum 70df09c6a1 gfx test 1 = passed
gfx test 2 = passed
mode3 test = passed
window test= passed (but glitches)

priorities handling BG / OBJ
2007-01-12 12:52:26 +00:00
mightymax 1018d57318 added first BB-chip communication functions 2007-01-12 12:29:38 +00:00
mightymax d4a24ccfb7 completed rf-chip communication interface 2007-01-12 12:00:44 +00:00
evilynux fdfb4d3d04 Added support for some display registers:
REG_DISPA_WIN0H
REG_DISPA_WIN1H
REG_DISPA_WIN0V
REG_DISPA_WIN1V
REG_DISPA_WININ
REG_DISPA_WINOUT
REG_DISPB_WIN0H
REG_DISPB_WIN1H
REG_DISPB_WIN0V
REG_DISPB_WIN1V
REG_DISPB_WININ
REG_DISPB_WINOUT
2007-01-12 08:21:34 +00:00
mightymax 0a3d236c1a named the rffilter_t unions, corrected some names, added first access functions 2007-01-11 21:37:50 +00:00
mightymax ad264d8e66 added some more wifi related structures 2007-01-11 20:50:17 +00:00
mightymax eebb73a882 inserted link to documentation: http://www.rfmd.com/pdfs/2958.pdf 2007-01-11 20:15:22 +00:00
mightymax 51674f57f5 completed rffilter_t register definitions 2007-01-11 20:12:54 +00:00
mightymax a49d5ec520 created first layout for registers of the wifi related RF chip 2007-01-11 19:50:37 +00:00
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