]> Chaos Git - corbenik/corbenik.git/log
corbenik/corbenik.git
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

9 years agoPrep for loader VM integration, etc
chaoskagami [Thu, 2 Jun 2016 14:23:04 +0000 (10:23 -0400)]
Prep for loader VM integration, etc

9 years agoAll of the basic patches now use the interpreter.
chaoskagami [Thu, 2 Jun 2016 12:33:09 +0000 (08:33 -0400)]
All of the basic patches now use the interpreter.

9 years agoSince the patcher VM works now, rewrite known functional patches to be stubs (until...
chaoskagami [Thu, 2 Jun 2016 10:50:22 +0000 (06:50 -0400)]
Since the patcher VM works now, rewrite known functional patches to be stubs (until we can dynamically load em)

9 years agoPartially implement the interpreter (works for sigs)
chaoskagami [Thu, 2 Jun 2016 10:38:27 +0000 (06:38 -0400)]
Partially implement the interpreter (works for sigs)

9 years agoMisc stuff.
chaoskagami [Thu, 2 Jun 2016 08:12:38 +0000 (04:12 -0400)]
Misc stuff.
 * More work prepping for bytecode.
 * Improve decidedly shitty putc buffer to just directly render. Old behavior kept around via -DBUFFER=1.
   * I need to reimplement scrollback still

9 years agoNow I just need to write the interpreter for the bytecode; I can assemble it, and...
chaoskagami [Thu, 2 Jun 2016 07:05:49 +0000 (03:05 -0400)]
Now I just need to write the interpreter for the bytecode; I can assemble it, and theoretically there's no flaws

9 years agoConvert relevant patches to bytecode (in headers)
chaoskagami [Wed, 1 Jun 2016 13:48:18 +0000 (09:48 -0400)]
Convert relevant patches to bytecode (in headers)

9 years agoFinalize bytecode specs
root [Wed, 1 Jun 2016 13:27:47 +0000 (09:27 -0400)]
Finalize bytecode specs

9 years agoImport (and correct) a few more bits from Luma3DS
root [Wed, 1 Jun 2016 12:45:59 +0000 (08:45 -0400)]
Import (and correct) a few more bits from Luma3DS

9 years agoDocs
chaoskagami [Tue, 31 May 2016 12:47:03 +0000 (08:47 -0400)]
Docs

9 years agoJust docs, basically.
chaoskagami [Tue, 31 May 2016 12:25:24 +0000 (08:25 -0400)]
Just docs, basically.

9 years agoImprove debug log output somewhat. Still one unit tinier than nintendo's loader.
chaoskagami [Tue, 31 May 2016 12:24:49 +0000 (08:24 -0400)]
Improve debug log output somewhat. Still one unit tinier than nintendo's loader.

9 years agoAdd logging to loader (yes, that means sdmc write support)
chaoskagami [Tue, 31 May 2016 11:53:37 +0000 (07:53 -0400)]
Add logging to loader (yes, that means sdmc write support)

9 years agoRemove unused garbage
chaoskagami [Tue, 31 May 2016 09:30:00 +0000 (05:30 -0400)]
Remove unused garbage

9 years agoComment out NYI stuff in menu
chaoskagami [Tue, 31 May 2016 09:27:38 +0000 (05:27 -0400)]
Comment out NYI stuff in menu

9 years agoRevert to the old locale system temporarily due to IFile removal
chaoskagami [Tue, 31 May 2016 09:26:55 +0000 (05:26 -0400)]
Revert to the old locale system temporarily due to IFile removal

9 years agoMisc shit
chaoskagami [Tue, 31 May 2016 08:17:11 +0000 (04:17 -0400)]
Misc shit

9 years agoRemove IFile from loader - it's just a wrapper, and uses up two pages for nothing...
chaoskagami [Tue, 31 May 2016 08:03:08 +0000 (04:03 -0400)]
Remove IFile from loader - it's just a wrapper, and uses up two pages for nothing useful

9 years agoRemove external modules, due to broken-ness. Someday, someday...
root [Tue, 31 May 2016 05:49:26 +0000 (01:49 -0400)]
Remove external modules, due to broken-ness. Someday, someday...

9 years agosymtab is created during build
root [Tue, 31 May 2016 02:14:41 +0000 (22:14 -0400)]
symtab is created during build

9 years agoFix linker (hopefully)
root [Tue, 31 May 2016 02:13:46 +0000 (22:13 -0400)]
Fix linker (hopefully)

9 years agoUpdate misc code
chaoskagami [Mon, 30 May 2016 22:17:08 +0000 (18:17 -0400)]
Update misc code

9 years agoMore menu stuff
chaoskagami [Sat, 28 May 2016 03:00:38 +0000 (23:00 -0400)]
More menu stuff

9 years agoImproved menu code
chaoskagami [Sat, 28 May 2016 02:51:18 +0000 (22:51 -0400)]
Improved menu code

9 years agoMultiple changes:
chaoskagami [Sat, 28 May 2016 02:25:45 +0000 (22:25 -0400)]
Multiple changes:
 - Menus now reference config #defines, so config entries can be out of order in file
 - Anti-anti-downgrade fix courtesy of Luma3DS (Thanks, @TuxSH!)

9 years agoImprove lazy load
chaoskagami [Tue, 24 May 2016 22:01:37 +0000 (18:01 -0400)]
Improve lazy load

9 years agoFIRM versions aren't known without loading; use lazy load of some sort
chaoskagami [Tue, 24 May 2016 21:44:35 +0000 (17:44 -0400)]
FIRM versions aren't known without loading; use lazy load of some sort

9 years agoLoad FIRM as late as possible
root [Tue, 24 May 2016 21:39:43 +0000 (17:39 -0400)]
Load FIRM as late as possible

9 years agoMinor naming change
chaoskagami [Tue, 24 May 2016 02:51:08 +0000 (22:51 -0400)]
Minor naming change

9 years agoClean up the menu code somewhat
chaoskagami [Tue, 24 May 2016 02:30:58 +0000 (22:30 -0400)]
Clean up the menu code somewhat

9 years agoGo away, #pragma once
chaoskagami [Tue, 24 May 2016 02:11:20 +0000 (22:11 -0400)]
Go away, #pragma once