]> Chaos Git - corbenik/corbenik.git/log
corbenik/corbenik.git
9 years agoClean up obsoleted code in menu.c
chaoskagami [Tue, 14 Jun 2016 04:22:24 +0000 (00:22 -0400)]
Clean up obsoleted code in menu.c

9 years agoUpdate instructions for decryption
chaoskagami [Tue, 14 Jun 2016 03:16:58 +0000 (23:16 -0400)]
Update instructions for decryption

9 years agoRate limit button presses to the approximate number a human can input per second...
chaoskagami [Tue, 14 Jun 2016 03:15:52 +0000 (23:15 -0400)]
Rate limit button presses to the approximate number a human can input per second. If anyone still has menus moving fast, something is wrong with your DPAD or hands

9 years agoMake the toplevel menu use the same menuing code (and implement a few required bits.)
chaoskagami [Mon, 13 Jun 2016 21:09:05 +0000 (17:09 -0400)]
Make the toplevel menu use the same menuing code (and implement a few required bits.)

9 years agoMerge branch 'save'
chaoskagami [Mon, 13 Jun 2016 19:36:47 +0000 (15:36 -0400)]
Merge branch 'save'

9 years agoLooks like it was some kind of issue with globals or order of application or somethin...
chaoskagami [Mon, 13 Jun 2016 19:35:03 +0000 (15:35 -0400)]
Looks like it was some kind of issue with globals or order of application or something. I'm not really sure.

9 years agoCommit shit
root [Mon, 13 Jun 2016 18:37:25 +0000 (14:37 -0400)]
Commit shit

9 years agoA few changes to loader (because I did some garbage while overtired)
chaoskagami [Mon, 13 Jun 2016 16:39:32 +0000 (12:39 -0400)]
A few changes to loader (because I did some garbage while overtired)

9 years agoFix the ID on mystermymachine
chaoskagami [Mon, 13 Jun 2016 03:04:28 +0000 (23:04 -0400)]
Fix the ID on mystermymachine

9 years agoFix typo
chaoskagami [Mon, 13 Jun 2016 02:32:43 +0000 (22:32 -0400)]
Fix typo

9 years agoUpdate README
chaoskagami [Mon, 13 Jun 2016 02:30:47 +0000 (22:30 -0400)]
Update README

9 years agoAdd contrib directory and mysterymachine patch based on @Wolfvak's original conversion
chaoskagami [Mon, 13 Jun 2016 01:56:02 +0000 (21:56 -0400)]
Add contrib directory and mysterymachine patch based on @Wolfvak's original conversion

9 years agoMore funky GCC pointer math crashes (now I know why it's crashing with logs)
chaoskagami [Mon, 13 Jun 2016 00:39:45 +0000 (20:39 -0400)]
More funky GCC pointer math crashes (now I know why it's crashing with logs)

9 years agoFix an idiotic mistake two commits ago
chaoskagami [Mon, 13 Jun 2016 00:34:36 +0000 (20:34 -0400)]
Fix an idiotic mistake two commits ago

9 years agoIncrease buffer size
chaoskagami [Mon, 13 Jun 2016 00:25:23 +0000 (20:25 -0400)]
Increase buffer size

9 years agoClean up some more crashy pointer math
chaoskagami [Mon, 13 Jun 2016 00:03:52 +0000 (20:03 -0400)]
Clean up some more crashy pointer math

9 years agoReenable interpreter debugging in loader
chaoskagami [Sun, 12 Jun 2016 23:54:34 +0000 (19:54 -0400)]
Reenable interpreter debugging in loader

9 years agoSplit text/data/ro loading in @Wolfvak's code
chaoskagami [Sun, 12 Jun 2016 22:26:37 +0000 (18:26 -0400)]
Split text/data/ro loading in @Wolfvak's code

9 years agoMerge branch 'master' of github.com:chaoskagami/corbenik
chaoskagami [Sun, 12 Jun 2016 20:53:39 +0000 (16:53 -0400)]
Merge branch 'master' of github.com:chaoskagami/corbenik

9 years agoAdd string/utf16le string support to assembler
chaoskagami [Sun, 12 Jun 2016 20:49:02 +0000 (16:49 -0400)]
Add string/utf16le string support to assembler

9 years agoLogo now.
Jon Feldman [Sun, 12 Jun 2016 04:29:37 +0000 (00:29 -0400)]
Logo now.

9 years agoSwitch to markdown on README. It was about time, anyways.
chaoskagami [Sun, 12 Jun 2016 03:31:49 +0000 (23:31 -0400)]
Switch to markdown on README. It was about time, anyways.

9 years agoUpdate README v0.0.9
chaoskagami [Sun, 12 Jun 2016 02:33:50 +0000 (22:33 -0400)]
Update README

9 years agoPartially revert an interpreter change
chaoskagami [Sun, 12 Jun 2016 01:11:30 +0000 (21:11 -0400)]
Partially revert an interpreter change

9 years agoPartially revert making TWL dynamic
chaoskagami [Sun, 12 Jun 2016 01:05:43 +0000 (21:05 -0400)]
Partially revert making TWL dynamic

9 years agoReplace offset code like:
chaoskagami [Sun, 12 Jun 2016 00:49:51 +0000 (20:49 -0400)]
Replace offset code like:
  *(off)
with:
  off[0]
For some reason, this seems to trigger GCC to generate aligned
accesses when it should be doing unaligned accesses (which results
in the crashes on set)

I suspect this is a GCC bug, but until 6.0 this is a workaround.

TWL seems to broken (as dynamic, at least) and I may revert it
to how it was before since I found the cause now. AGB needs
no change since it isn't as in-depth.

9 years agoRemove hackish jmp syntax, add labels
chaoskagami [Sat, 11 Jun 2016 22:57:42 +0000 (18:57 -0400)]
Remove hackish jmp syntax, add labels

9 years agoImprove logging, make patch versions lockstep to the current release
chaoskagami [Sat, 11 Jun 2016 21:55:40 +0000 (17:55 -0400)]
Improve logging, make patch versions lockstep to the current release

9 years agoFlags not being reset could cause an issue (maybe)
chaoskagami [Sat, 11 Jun 2016 20:39:12 +0000 (16:39 -0400)]
Flags not being reset could cause an issue (maybe)

9 years agoI goofed when updating the find opcode, fix failure
chaoskagami [Sat, 11 Jun 2016 18:23:39 +0000 (14:23 -0400)]
I goofed when updating the find opcode, fix failure

9 years agoWhat the heck is a Siganture?
chaoskagami [Sat, 11 Jun 2016 18:08:14 +0000 (14:08 -0400)]
What the heck is a Siganture?

9 years agoSome research for future purposes.
chaoskagami [Sat, 11 Jun 2016 16:20:43 +0000 (12:20 -0400)]
Some research for future purposes.

9 years agoFix up a few bugs for something not yet exposed to the assembler, hopefully fix TWL...
chaoskagami [Sat, 11 Jun 2016 15:45:02 +0000 (11:45 -0400)]
Fix up a few bugs for something not yet exposed to the assembler, hopefully fix TWL patches

9 years agoMake find non-aborting. We need bytecode itself to decide when it has failed imo
chaoskagami [Sat, 11 Jun 2016 15:31:05 +0000 (11:31 -0400)]
Make find non-aborting. We need bytecode itself to decide when it has failed imo

9 years agoAGB patches should work now (needs testing)
chaoskagami [Sat, 11 Jun 2016 15:29:01 +0000 (11:29 -0400)]
AGB patches should work now (needs testing)

9 years agoStuff.
chaoskagami [Fri, 10 Jun 2016 17:27:13 +0000 (13:27 -0400)]
Stuff.

9 years agoApparently I had broken svcBackdoor back >50 commits (before stable-1) - so fix it... v0.0.8
chaoskagami [Fri, 10 Jun 2016 01:37:27 +0000 (21:37 -0400)]
Apparently I had broken svcBackdoor back >50 commits (before stable-1) - so fix it (and temporarily remove extra functionality)

9 years agoPrevent recaching every boot
chaoskagami [Thu, 9 Jun 2016 23:19:16 +0000 (19:19 -0400)]
Prevent recaching every boot

9 years agoMake saving configuration manually done (for my sanity's sake)
chaoskagami [Thu, 9 Jun 2016 22:38:44 +0000 (18:38 -0400)]
Make saving configuration manually done (for my sanity's sake)

9 years agoGuard against the (usually) empty fourth segment
chaoskagami [Thu, 9 Jun 2016 21:30:08 +0000 (17:30 -0400)]
Guard against the (usually) empty fourth segment

9 years agoMerge branch 'master' into resize
chaoskagami [Thu, 9 Jun 2016 21:14:28 +0000 (17:14 -0400)]
Merge branch 'master' into resize

9 years agoMake titleID cache properly (alignment issues on ARM with uint64_t apparently)
chaoskagami [Thu, 9 Jun 2016 20:03:18 +0000 (16:03 -0400)]
Make titleID cache properly (alignment issues on ARM with uint64_t apparently)

9 years agoWhoops. Typo of i vs len caused boot failure.
chaoskagami [Thu, 9 Jun 2016 19:54:33 +0000 (15:54 -0400)]
Whoops. Typo of i vs len caused boot failure.

9 years agoresizing sysmodule code
chaoskagami [Thu, 9 Jun 2016 19:55:52 +0000 (15:55 -0400)]
resizing sysmodule code

9 years agoWhoops.
root [Thu, 9 Jun 2016 19:54:33 +0000 (15:54 -0400)]
Whoops.

9 years agoRun reformat (again)
chaoskagami [Thu, 9 Jun 2016 17:56:57 +0000 (13:56 -0400)]
Run reformat (again)

9 years agoRemove all the hexdump implementations all over the place and use a common one
chaoskagami [Thu, 9 Jun 2016 17:54:41 +0000 (13:54 -0400)]
Remove all the hexdump implementations all over the place and use a common one

9 years agoREADME
chaoskagami [Thu, 9 Jun 2016 13:57:28 +0000 (09:57 -0400)]
README

9 years agoClean some remnants of a bygone era
chaoskagami [Thu, 9 Jun 2016 13:57:17 +0000 (09:57 -0400)]
Clean some remnants of a bygone era

9 years agospace
chaoskagami [Thu, 9 Jun 2016 13:56:56 +0000 (09:56 -0400)]
space

9 years agoGeneral cleanup on @Wolfvak's code segment loading
chaoskagami [Thu, 9 Jun 2016 13:55:04 +0000 (09:55 -0400)]
General cleanup on @Wolfvak's code segment loading

9 years agoMerge pull request #4 from Wolfvak/master
Jon Feldman [Thu, 9 Jun 2016 13:23:18 +0000 (09:23 -0400)]
Merge pull request #4 from Wolfvak/master

Added code section loading

9 years agoAdded code section loading 4/head
Wolfvak [Thu, 9 Jun 2016 00:22:10 +0000 (21:22 -0300)]
Added code section loading

9 years agoChanges here:
chaoskagami [Wed, 8 Jun 2016 23:15:15 +0000 (19:15 -0400)]
Changes here:
 * Split agb bootscreen from the signature fix
 * Merge twl patches for o3ds and n3ds
 * Automatically disable EmuNAND on AGB reboot to keep saves
 * Improve a few messages on langemu for debugging

9 years agoTypos. ;P
chaoskagami [Wed, 8 Jun 2016 15:40:24 +0000 (11:40 -0400)]
Typos. ;P

9 years agomid-kid verified TiniVi did the screen deinit code, so update accordingly
chaoskagami [Wed, 8 Jun 2016 13:11:14 +0000 (09:11 -0400)]
mid-kid verified TiniVi did the screen deinit code, so update accordingly

9 years agoUpdate the credits sections for accuracy, because apparently that's a thing. *shrugs*
chaoskagami [Wed, 8 Jun 2016 13:00:35 +0000 (09:00 -0400)]
Update the credits sections for accuracy, because apparently that's a thing. *shrugs*

9 years agoExpose system title dumping as optional (warning - super slow boot) v0.0.7
chaoskagami [Wed, 8 Jun 2016 02:10:09 +0000 (22:10 -0400)]
Expose system title dumping as optional (warning - super slow boot)

9 years agoMerge pull request #2 from Wolfvak/patch-1
Jon Feldman [Wed, 8 Jun 2016 01:31:03 +0000 (21:31 -0400)]
Merge pull request #2 from Wolfvak/patch-1

Forgot to close the file handle in loader

9 years agoForgot to close the file handle in loader 2/head
Wolfvak [Tue, 7 Jun 2016 23:28:28 +0000 (20:28 -0300)]
Forgot to close the file handle in loader

Warning: this was completely untested! Changes were made directly in the GitHub editor.

9 years agoMultiple changes (again)
chaoskagami [Tue, 7 Jun 2016 21:08:09 +0000 (17:08 -0400)]
Multiple changes (again)
 * Fix up patches. Specify rel in all of them for sanity purposes
 * Fix up some misc shit in the interpreter and add OP_N3DS (to check if N3DS, obviously)
 * Fix a bunch of bugs in the assembler.
 * Hide n3ds-only options on o3ds
 * Stability

9 years agoRemove testing code that has no place here
chaoskagami [Tue, 7 Jun 2016 17:34:53 +0000 (13:34 -0400)]
Remove testing code that has no place here

9 years agoI really need to stop forgetting to run make reformat v0.0.6
chaoskagami [Tue, 7 Jun 2016 16:07:33 +0000 (12:07 -0400)]
I really need to stop forgetting to run make reformat

9 years agoFix up some stuff. Again. A lot is going wrong here.
chaoskagami [Tue, 7 Jun 2016 16:03:19 +0000 (12:03 -0400)]
Fix up some stuff. Again. A lot is going wrong here.

9 years agoRelative bl is not a good search pattern, use before it instead.
chaoskagami [Tue, 7 Jun 2016 14:48:17 +0000 (10:48 -0400)]
Relative bl is not a good search pattern, use before it instead.

9 years agoStatic offset based twl/agb patches (some bits need more context for dynamic. Unless...
chaoskagami [Tue, 7 Jun 2016 14:47:38 +0000 (10:47 -0400)]
Static offset based twl/agb patches (some bits need more context for dynamic. Unless another update is pushed I may not bother)

9 years agoFixups to the VM for AGB/TWL
chaoskagami [Tue, 7 Jun 2016 14:46:37 +0000 (10:46 -0400)]
Fixups to the VM for AGB/TWL

9 years agoReboot code is working now (but evidently without patches of any sort)
chaoskagami [Tue, 7 Jun 2016 14:04:42 +0000 (10:04 -0400)]
Reboot code is working now (but evidently without patches of any sort)

9 years agoReboot WIP.
chaoskagami [Mon, 6 Jun 2016 22:08:31 +0000 (18:08 -0400)]
Reboot WIP.

This is inefficient and clearly a bastardization of Luma AND Cakes' reboot code, but it seems to work.

9 years agoA few tweaks to @Wolfvak's code and menu layout (loader options are now their own...
chaoskagami [Mon, 6 Jun 2016 16:26:21 +0000 (12:26 -0400)]
A few tweaks to @Wolfvak's code and menu layout (loader options are now their own section) and add Wolfvak to README

9 years agoMerge pull request #1 from Wolfvak/master
Jon Feldman [Mon, 6 Jun 2016 15:51:14 +0000 (11:51 -0400)]
Merge pull request #1 from Wolfvak/master

Add ability to dump code sections

9 years agoAdd ability to dump code sections 1/head
Wolfvak [Mon, 6 Jun 2016 14:29:17 +0000 (11:29 -0300)]
Add ability to dump code sections

Only for regular titles and demos, not for system titiles/modules

9 years agoDitch the weird test opcode in favor of conditional jmp variants. Much cleaner now. v0.0.5
chaoskagami [Mon, 6 Jun 2016 13:35:43 +0000 (09:35 -0400)]
Ditch the weird test opcode in favor of conditional jmp variants. Much cleaner now.

9 years agoUpdate README again, and Makefile should copy the LICENSE.txt to output folder when...
chaoskagami [Mon, 6 Jun 2016 11:48:33 +0000 (07:48 -0400)]
Update README again, and Makefile should copy the LICENSE.txt to output folder when running make full

9 years agoRe-add CETK decryption code, and make a few changes here and there
chaoskagami [Mon, 6 Jun 2016 11:39:42 +0000 (07:39 -0400)]
Re-add CETK decryption code, and make a few changes here and there

9 years agoSupport multiple emunands
chaoskagami [Mon, 6 Jun 2016 10:58:18 +0000 (06:58 -0400)]
Support multiple emunands

9 years agoMultiple things (again) v0.0.4
chaoskagami [Mon, 6 Jun 2016 08:00:02 +0000 (04:00 -0400)]
Multiple things (again)
 * EmuNAND support (only one right now, but all I need is a menu/option for more)
   * This is both normal layout (RedNAND) and gateway layout (header at back)
 * Loader now has three different rel options for text, data, and ro
 * Screeninit.

9 years agoMultiple things (again)
chaoskagami [Sun, 5 Jun 2016 07:10:41 +0000 (03:10 -0400)]
Multiple things (again)
 * Replace all instances of 'service' with 'svc' or 'svc call' to get my terminology straight
 * Make logging in loader toggleable, add boot logging, and add an option to the menu. Hopefully this will cut down on improper issue reporting.

9 years agoFix up langemu path (it changed) and make langemu data part of release builds rel3
chaoskagami [Sun, 5 Jun 2016 05:18:22 +0000 (01:18 -0400)]
Fix up langemu path (it changed) and make langemu data part of release builds

9 years agoMultiple bits here:
chaoskagami [Sun, 5 Jun 2016 04:53:56 +0000 (00:53 -0400)]
Multiple bits here:
 * service -> svc because I'm a dumbass
 * Added a few new opcodes: OP_OR, OP_XOR, OP_NOT, OP_VER
 * I'd make a joke about stability here, but meh.

9 years agoAdd or, xor, and not to the VM
chaoskagami [Sun, 5 Jun 2016 03:56:56 +0000 (23:56 -0400)]
Add or, xor, and not to the VM

9 years agoI need to break myself of the tabbing habit and remember to run make reformat
chaoskagami [Sun, 5 Jun 2016 03:35:44 +0000 (23:35 -0400)]
I need to break myself of the tabbing habit and remember to run make reformat

9 years agoFix a scoping issue with FIRM decrypt failure
chaoskagami [Sun, 5 Jun 2016 03:29:35 +0000 (23:29 -0400)]
Fix a scoping issue with FIRM decrypt failure

9 years agoRemove unneeded debug output dump from the bytecode assembler
chaoskagami [Sat, 4 Jun 2016 15:58:49 +0000 (11:58 -0400)]
Remove unneeded debug output dump from the bytecode assembler

9 years agoFix multiple bugs reported on GbaTemp. AGB and TWL are no longer required to boot... stable-2
chaoskagami [Sat, 4 Jun 2016 14:49:58 +0000 (10:49 -0400)]
Fix multiple bugs reported on GbaTemp. AGB and TWL are no longer required to boot and lack thereof shouldn't cause explosions.

9 years agoMoved docs to the github wiki. Easier that way.
chaoskagami [Sat, 4 Jun 2016 13:10:11 +0000 (09:10 -0400)]
Moved docs to the github wiki. Easier that way.

9 years agoRemove some irrelevant entries from todo
chaoskagami [Sat, 4 Jun 2016 09:31:43 +0000 (05:31 -0400)]
Remove some irrelevant entries from todo

9 years agoGithub isn't formatting stuff properly, and I edited em as plaintext anyways stable-1
chaoskagami [Sat, 4 Jun 2016 09:25:56 +0000 (05:25 -0400)]
Github isn't formatting stuff properly, and I edited em as plaintext anyways

9 years agoPatches are now dynamically loaded. Ready to release.
chaoskagami [Sat, 4 Jun 2016 09:17:59 +0000 (05:17 -0400)]
Patches are now dynamically loaded. Ready to release.

9 years agoSeparate menu logic from menu_options to allow reuse
chaoskagami [Sat, 4 Jun 2016 06:24:13 +0000 (02:24 -0400)]
Separate menu logic from menu_options to allow reuse

9 years agoUpdate README
chaoskagami [Fri, 3 Jun 2016 08:06:27 +0000 (04:06 -0400)]
Update README

9 years agoChanges, changes, it keeps getting fix'd up
chaoskagami [Fri, 3 Jun 2016 07:47:10 +0000 (03:47 -0400)]
Changes, changes, it keeps getting fix'd up
 * Updated fatfs/sdmmc code to the version in GodMode9's repo, sans NAND writes.
 * Fixed the damned cache issue, courtesy of GodMode9's directory removal function.
 * Added a cache for the menu itself to speed along autoboot.

9 years agoReformat shit
chaoskagami [Thu, 2 Jun 2016 20:36:43 +0000 (16:36 -0400)]
Reformat shit

9 years agoReformatting shite.
chaoskagami [Thu, 2 Jun 2016 20:34:54 +0000 (16:34 -0400)]
Reformatting shite.

9 years agoUpdate TODO
chaoskagami [Thu, 2 Jun 2016 20:27:12 +0000 (16:27 -0400)]
Update TODO

9 years agoLoader work
chaoskagami [Thu, 2 Jun 2016 20:13:37 +0000 (16:13 -0400)]
Loader work

Now loader doesn't care what bytecode it's running since it loads
from cache files generated during the bootup stage.

It's now back up to sane/tolerably slow speeds on boot.

Still a few kinks to iron out, though.

9 years agoOkay, all the patches *seem* to work now. Regionfree was wrong before
root [Thu, 2 Jun 2016 18:47:36 +0000 (14:47 -0400)]
Okay, all the patches *seem* to work now. Regionfree was wrong before

9 years agoLoader now uses externalized patches.
root [Thu, 2 Jun 2016 18:20:47 +0000 (14:20 -0400)]
Loader now uses externalized patches.

Aside from a few ones that involve complicated steps, of course.
It's STILL smaller than Nintendo's loader, incidentally!

(A few things need tweaking - namely, it is very slow to boot.
 I expect I need some kind of patch cache generated prior to boot.
 I also need to turn off the altmenu patch.)

9 years agoCan't be used yet (due to loader not yet loading patches) but courtesy
chaoskagami [Thu, 2 Jun 2016 16:26:58 +0000 (12:26 -0400)]
Can't be used yet (due to loader not yet loading patches) but courtesy
@Reisyukaku, an NS patch to force usage of TestMenu.

9 years agoUpdate attributions
chaoskagami [Thu, 2 Jun 2016 14:29:12 +0000 (10:29 -0400)]
Update attributions