Gabriel Marcano
913bc867b7
No longer saves more than the ROM size, cleanup
...
Using some header information from rom_tool, it was possible to
implement something that will accurately determine the real ROM size.
With that information, uncart no longer dumps in 2GB chunks, but to the
actual size of ROM (all 8 partitions).
Warnings were cleaned up as much as possible for now (2 remain). i2c
support was added in order to be able to shut down uncart when it is
over (it isn't clear that the ASM in start.s is right for returning
control to brahma, if that's even possible). More warnings were enabled
in the Makefile, and lto was enabled.
Currently, the Makefile and the draw.h are configured for a9lh support.
2016-06-07 02:32:45 -04:00
bunnei
13a9ad8ec5
Merge pull request #14 from d0k3/master
...
Allow rebooting on Brahma 2
2016-06-06 20:27:38 -04:00
d0k3
bf944f682b
Allow rebooting on Brahma 2
2016-06-07 01:21:34 +02:00
archshift
773024e657
Merge pull request #10 from Normmatt/devcarts
...
Add support for dumping Development Carts.
2016-01-24 21:44:31 -08:00
archshift
6641948b30
Merge pull request #11 from archshift/patch-1
...
Add travis.yml file for Travis CI
2015-08-24 15:39:26 -07:00
Tony Wasserka
144077a000
Remove long-outdated mention about sdmc.s.
2015-08-23 16:47:54 +02:00
archshift
79747e0506
Add travis.yml file for Travis CI
2015-06-15 17:47:10 -07:00
Normmatt
9d35b8b6ee
opps forgot to reset read_count.
2015-06-15 09:58:55 +12:00
Normmatt
0d2e59c909
Add support for dumping Development Carts.
...
Fix whitespace.
2015-06-15 09:49:08 +12:00
Tony Wasserka
2f728ed5a1
Merge pull request #9 from archshift/sdmmc
...
Add sdmmc.c (by Normmatt) with 3DS-specific SDMMC code
2015-06-08 16:01:34 +02:00
archshift
fbd56fd723
Add sdmmc.c (by Normmatt) with 3DS-specific SDMMC code
2015-06-08 03:09:41 -07:00
Tony Wasserka
39724b3a29
Create README.md
2015-06-07 21:15:04 +02:00
Tony Wasserka
f6e82dba32
Merge pull request #6 from lioncash/constants
...
main: Use constants for AND filtering input
2015-06-07 15:46:03 +02:00
Lioncash
70679335b2
main: Use constants for AND filtering input
2015-06-01 00:41:31 -04:00
Yuri Kunde Schlesner
179b593886
Remove outdated prompt
2015-05-29 14:46:45 -03:00
Yuri Kunde Schlesner
cd38556f97
Fill unused header area with 0xFF instead of garbage.
2015-05-29 14:46:22 -03:00
Yuri Kunde Schlesner
ea3b963f23
Add support for split-dumping large carts
...
Closes #1
2015-05-28 16:51:39 -03:00
Yuri Kunde Schlesner
43554a68d3
Add a hacky workaround for problematic carts
...
This adds a few strategically placed dummy commands which skip the bad
responses, allowing the cart to be dumped.
2015-05-25 17:46:00 -03:00
Yuri Kunde Schlesner
ff6e6862ff
Nicer dumping and buffering loop.
2015-05-25 04:52:32 -03:00
Yuri Kunde Schlesner
6fdf216e25
Increase a few ioDelays during cart initialization
...
This helps with carts that return FFFFFFFF as the cart id.
2015-05-25 00:02:05 -03:00
Yuri Kunde Schlesner
ce21c68e8c
Various cleanups and UI improvements (hopefully...)
2015-05-24 23:29:37 -03:00
Yuri Kunde Schlesner
843095109f
Add (optional) verbose logging of cart traffic, for debugging
2015-05-24 22:56:43 -03:00
Yuri Kunde Schlesner
f95a7585fc
Fix variable type.
2015-05-24 22:52:26 -03:00
Yuri Kunde Schlesner
8641c98b13
Fix variable type
2015-05-24 21:39:35 -03:00
Yuri Kunde Schlesner
890c605423
Make console more readable when the output overflows the screen
2015-05-15 19:29:31 -03:00
Yuri Kunde Schlesner
7e785433d6
Do uncached reads inside ioDelay to improve delay reliability
2015-05-15 19:26:14 -03:00
Yuri Kunde Schlesner
ce0eec34e7
Make WaitInput wait for a press, not a release.
2015-05-15 19:22:53 -03:00
Lioncash
d3768d4fe8
Get rid of missing prototype warnings
2015-05-14 21:30:39 -04:00
Lioncash
24014cd41f
protocol: Make translation-unit only variables static
2015-05-14 21:14:25 -04:00
Yuri Kunde Schlesner
4c0b428cde
Remove pointless casts and fix variable types.
2015-05-14 04:27:30 -03:00
Yuri Kunde Schlesner
76997590c7
Fix key input function continuing on button releases
2015-05-14 04:25:25 -03:00
Yuri Kunde Schlesner
121c93ba11
Correct typos in cache initialization code
2015-05-14 04:23:24 -03:00
archshift
a7912ecfe6
Remove unused framebuffer.h
2015-05-13 22:32:42 -07:00
archshift
c63b25fb58
Remove unused (and superseded) letters.h
2015-05-13 22:11:49 -07:00
archshift
b93dd813f5
Fix reference to a pointer being written to file instead of a pointer.
2015-05-13 22:02:24 -07:00
archshift
c06625f422
Enable MCU, caches for massive speedups in game dump time.
2015-05-13 21:09:17 -07:00
Normmatt
99660d22f8
Added licences to some files.
2015-05-12 11:15:16 +12:00
Lioncash
30bb85a4ef
Get rid of basic warnings found with -Wextra
...
- Signed/unsigned compares
- static not being before const
2015-05-11 10:33:38 -04:00
Lioncash
bf19ebc428
Makefile: Move architecture flags into the ARCH variable
2015-05-11 10:25:59 -04:00
Lioncash
9f711deb48
main: Get rid of unused variables.
2015-05-11 10:21:59 -04:00
Lioncash
a6db883d49
common: Cache string length in strupper/strlower
...
Avoids calling strlen every loop iteration.
2015-05-11 03:14:59 -04:00
archshift
1059f73fb8
protocol_ntr.c: Change if block chain to a switch block
2015-05-11 00:14:08 -07:00
Lioncash
1f4c4911fc
Common: Use typedefs instead of defines
2015-05-11 03:08:32 -04:00
archshift
192dd2584b
Split up misc.h into respective protocol, etc files
2015-05-10 13:09:49 -07:00
archshift
3b8608fee2
Split out NTR and CTR commands into their own files
2015-05-10 12:51:46 -07:00
archshift
4ca99178d3
Code style cleanups, removing dead code
2015-05-10 01:22:47 -07:00
archshift
ed9f2e85f8
Ensure newlines are at the end of all files
2015-05-10 01:00:50 -07:00
archshift
bd925bae17
Split up gamecart.c/h into multiple protocol files
2015-05-10 00:53:09 -07:00
archshift
1eeb6cfeaf
Add .gitignore with common unwanted files
2015-05-10 00:33:08 -07:00
archshift
de5f58b7a0
Move gamecart files to their own folder
...
Preparation for splitting them up into multiple files
2015-05-10 00:31:52 -07:00