DS emulator, sorta
Go to file
StapleButter 361ddd7595 * fix GXFIFO decoding
* proper SwapBuffers implementation
* fix polygon clipping
* misc fixes
2017-02-13 02:07:54 +01:00
.gitignore add more crap 2016-05-16 17:48:40 +02:00
ARM.cpp ARM: Fix out of bounds array indexing in RestoreCPSR 2017-02-09 08:18:05 -05:00
ARM.h * scheduler revamp, simpler design 2017-01-31 03:54:51 +01:00
ARMInterpreter.cpp start refactoring shit: more accurate timing and way of counting cycles. 2017-01-30 18:36:11 +01:00
ARMInterpreter.h start refactoring shit: more accurate timing and way of counting cycles. 2017-01-30 18:36:11 +01:00
ARMInterpreter_ALU.cpp * implement the last missing instructions. QADD is not good according to ARMWrestler, but it doesn't make sense. TODO: investigate. 2017-01-31 18:41:31 +01:00
ARMInterpreter_ALU.h * implement the last missing instructions. QADD is not good according to ARMWrestler, but it doesn't make sense. TODO: investigate. 2017-01-31 18:41:31 +01:00
ARMInterpreter_Branch.cpp start refactoring shit: more accurate timing and way of counting cycles. 2017-01-30 18:36:11 +01:00
ARMInterpreter_Branch.h start refactoring shit: more accurate timing and way of counting cycles. 2017-01-30 18:36:11 +01:00
ARMInterpreter_LoadStore.cpp * fix 'STMxx with base register included in register list' when base register is banked. 2017-02-05 16:50:20 +01:00
ARMInterpreter_LoadStore.h start refactoring shit: more accurate timing and way of counting cycles. 2017-01-30 18:36:11 +01:00
ARM_InstrTable.h blarg 2017-02-01 00:31:23 +01:00
CP15.cpp better save support. not hardcoded filename, support for non-tiny EEPROM and Flash, attempt at autodetecting the right memory type. 2017-02-03 16:57:31 +01:00
CP15.h move TCM shit to CP15.cpp. closer to the real thing (for example now DMA can't access TCM, etc). 2017-01-30 19:11:29 +01:00
DMA.cpp * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
DMA.h DMA support! 2017-01-18 01:33:06 +01:00
FIFO.h GXFIFO finished. hacktastic integration into the ARM9 loop. 2017-02-08 00:52:37 +01:00
GPU.cpp store vertices and polygons. strips not handled yet. 2017-02-10 15:24:46 +01:00
GPU.h * lay base for 3D engine 2017-02-07 22:23:46 +01:00
GPU2D.cpp some debuts of 3D drawing. 2017-02-11 03:54:08 +01:00
GPU2D.h some debuts of 3D drawing. 2017-02-11 03:54:08 +01:00
GPU3D.cpp * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
GPU3D.h some debuts of 3D drawing. 2017-02-11 03:54:08 +01:00
GPU3D_Soft.cpp * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
NDS.cpp * GXFIFO DMA (note: Mario Slam Basketball keeps overflowing the FIFO for whatever reason, probably lack of proper DMA timings) 2017-02-08 21:30:10 +01:00
NDS.h * lay base for 3D engine 2017-02-07 22:23:46 +01:00
NDSCart.cpp well, GX FIFO base. noting that for now, it doesn't do much beyond getting full real quick. 2017-02-07 23:31:21 +01:00
NDSCart.h well, GX FIFO base. noting that for now, it doesn't do much beyond getting full real quick. 2017-02-07 23:31:21 +01:00
README.md * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
RTC.cpp * lay base for 3D engine 2017-02-07 22:23:46 +01:00
RTC.h * lay base for 3D engine 2017-02-07 22:23:46 +01:00
SPI.cpp * lay base for 3D engine 2017-02-07 22:23:46 +01:00
SPI.h * lay base for 3D engine 2017-02-07 22:23:46 +01:00
Wifi.cpp some more crap emulated. 2016-12-06 17:32:51 +01:00
Wifi.h some more crap emulated. 2016-12-06 17:32:51 +01:00
main.cpp * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
melonDS.cbp base for software renderer 2017-02-10 16:50:26 +01:00
melonDS.depend * fix GXFIFO decoding 2017-02-13 02:07:54 +01:00
melonDS.layout hey look, more crap 2016-11-03 01:38:58 +01:00
types.h christ. CodeBlocks is retarded. 2016-12-23 21:22:22 +01:00

README.md

melonDS

DS emulator, sorta

the goal is to do things right and fast, akin to blargSNES (but hopefully better)

but also to have fun coding this shit

LOVE MELONS

NO ASKING ROMZ!! ILLEGAL

license is GPL. don't steal the code.

how to use:

melonDS requires BIOS/firmware copies from a DS. Files required:

  • bios7.bin, 16KB: ARM7 BIOS
  • bios9.bin, 4KB: ARM9 BIOS
  • firmware.bin, 256KB: firmware

note: the DS-mode firmware in the 3DS isn't bootable, it only contains the bare minimum to run games.

ROM filename is currently hardcoded, check NDS.cpp for the required filename. this will eventually be addressed.

TODO LIST

  • sorta-UI (ie not hardcode ROM name)
  • 3D engine
  • sound
  • wifi
  • other non-core shit (debugger, graphics viewers, cheat crapo, etc)

IMMEDIATE TODO LIST (prior release 1.0)

  • UI
  • 3D engine that atleast supports texturing
  • emulate DMA timings
  • make timers suck less

TODO LIST FOR LATER

  • sound
  • more 3D engine features
  • hardware renderer for 3D
  • wifi
  • maybe emulate flashcarts or other fancy hardware