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

9 years agoSwitch corbenik to use same memfind as loader
chaoskagami [Tue, 24 May 2016 02:00:01 +0000 (22:00 -0400)]
Switch corbenik to use same memfind as loader

9 years agoTODO update
chaoskagami [Tue, 24 May 2016 01:46:49 +0000 (21:46 -0400)]
TODO update

9 years agoCoding standard info
chaoskagami [Tue, 24 May 2016 00:30:03 +0000 (20:30 -0400)]
Coding standard info

9 years agoReformat
chaoskagami [Mon, 23 May 2016 23:59:13 +0000 (19:59 -0400)]
Reformat

9 years agoReformat all the source code
chaoskagami [Mon, 23 May 2016 23:56:49 +0000 (19:56 -0400)]
Reformat all the source code

9 years agoExperimental single-file locale emu with comment support. No clue whether it will...
chaoskagami [Mon, 23 May 2016 23:44:20 +0000 (19:44 -0400)]
Experimental single-file locale emu with comment support. No clue whether it will work yet

9 years agoAdd syscall
chaoskagami [Mon, 23 May 2016 20:31:46 +0000 (16:31 -0400)]
Add syscall

9 years agoRename the 0282builder ID and split out lzss
chaoskagami [Mon, 23 May 2016 20:12:21 +0000 (16:12 -0400)]
Rename the 0282builder ID and split out lzss

9 years agoExperimental shite.
chaoskagami [Mon, 23 May 2016 17:56:57 +0000 (13:56 -0400)]
Experimental shite.

The kernel doesn't get passed CPU flags from the functions called here.
Assuming the kernel doesn't seek backwards from the exheader pointer,
the CPU state should already have been set by AM, which means loader
can override what was previously set.

That being the case, if I am correct, setting the CPU speed from
loader should technically persist to application launch. This needs
testing, obviously, but I believe granular CPU speed control is
possible from here.

9 years agoRename vco -> modules
chaoskagami [Mon, 23 May 2016 07:04:18 +0000 (03:04 -0400)]
Rename vco -> modules

9 years agoMore docs
chaoskagami [Mon, 23 May 2016 07:00:47 +0000 (03:00 -0400)]
More docs

9 years agoUgh, minor hiccup when porting TuxSH's changes. Basically, we would svcbreak every...
chaoskagami [Mon, 23 May 2016 06:51:15 +0000 (02:51 -0400)]
Ugh, minor hiccup when porting TuxSH's changes. Basically, we would svcbreak every time due to a merge error on my part

9 years agoMultiple changes
chaoskagami [Mon, 23 May 2016 06:07:25 +0000 (02:07 -0400)]
Multiple changes
 - Update loader to latest ctrulib (FS_Archive changed quite a bit, broke API and ABI, ugh)
 - Clean up some patch handling code for future

9 years agoDocs
chaoskagami [Sun, 22 May 2016 07:12:08 +0000 (03:12 -0400)]
Docs

9 years agoDocs commit
chaoskagami [Sun, 22 May 2016 07:11:15 +0000 (03:11 -0400)]
Docs commit

9 years agoFix an oversight in the menu code
chaoskagami [Sun, 22 May 2016 07:10:22 +0000 (03:10 -0400)]
Fix an oversight in the menu code

9 years agoOkay, I understand how to fix the sysmodule size to grow now. Ugh.
chaoskagami [Fri, 20 May 2016 20:07:13 +0000 (16:07 -0400)]
Okay, I understand how to fix the sysmodule size to grow now. Ugh.

9 years agoSplit out patches from patcher in loader
root [Thu, 19 May 2016 22:51:27 +0000 (18:51 -0400)]
Split out patches from patcher in loader

9 years agoMore changes and code restructure. Just the usual, etc.
chaoskagami [Thu, 19 May 2016 22:22:33 +0000 (18:22 -0400)]
More changes and code restructure. Just the usual, etc.

9 years agoMany changes here.
chaoskagami [Thu, 19 May 2016 19:26:23 +0000 (15:26 -0400)]
Many changes here.
- Make services assembled from .s files in external/services
- Arbitrary service loading now, including a NULL safety toggle
- Drop armips for clever gnu as usage
- Loader can (theoretically) resize segments now, so one step closer
  to building a romfs overlay into loader
- Split function for patches into text, data, ro patches
- Stub IFile_Write - Hopefully I implement it soon, I'd like logging.
- Other misc changes. I forget whether this was the previous commit,
  but I added @TuxSH's RO patch.

9 years agoChanges etc
chaoskagami [Wed, 18 May 2016 05:11:47 +0000 (01:11 -0400)]
Changes etc

9 years agoUpdate docs, misc shit in place to attempt overlays
chaoskagami [Wed, 18 May 2016 01:52:38 +0000 (21:52 -0400)]
Update docs, misc shit in place to attempt overlays

9 years agoFix loader config, minor adjustments, etc
chaoskagami [Tue, 17 May 2016 21:27:03 +0000 (17:27 -0400)]
Fix loader config, minor adjustments, etc

9 years agoNow we have injector. Good night, cakes.
root [Tue, 17 May 2016 20:17:05 +0000 (16:17 -0400)]
Now we have injector. Good night, cakes.

9 years agoAdd another awesome person to credits.
chaoskagami [Tue, 17 May 2016 08:46:19 +0000 (04:46 -0400)]
Add another awesome person to credits.

9 years agoMinor update to misc stuff
chaoskagami [Tue, 17 May 2016 07:23:37 +0000 (03:23 -0400)]
Minor update to misc stuff

9 years agoFix 0x21 key handling (wow me)
root [Tue, 17 May 2016 06:45:10 +0000 (02:45 -0400)]
Fix 0x21 key handling (wow me)

9 years agoSvc patcher? Yeah, svc patcher.
root [Tue, 17 May 2016 05:52:06 +0000 (01:52 -0400)]
Svc patcher? Yeah, svc patcher.

9 years agoLoader? loader.
root [Tue, 17 May 2016 05:17:33 +0000 (01:17 -0400)]
Loader? loader.

9 years agoShuffle stuff around to allow working on it in abscense of external patches
root [Tue, 17 May 2016 04:20:22 +0000 (00:20 -0400)]
Shuffle stuff around to allow working on it in abscense of external patches

9 years agoRelocation is sort-of-working, but sigpatch is broken due to (maybe) compiler black...
root [Tue, 17 May 2016 02:27:28 +0000 (22:27 -0400)]
Relocation is sort-of-working, but sigpatch is broken due to (maybe) compiler black magic or arm icache

9 years agoDocs, docs, more docs
root [Sun, 15 May 2016 06:41:44 +0000 (02:41 -0400)]
Docs, docs, more docs

9 years agoWorking on dynamic linker thing for patches (why not?)
root [Sun, 15 May 2016 04:53:27 +0000 (00:53 -0400)]
Working on dynamic linker thing for patches (why not?)

9 years agoAdded firmprot patcher
chaoskagami [Sat, 14 May 2016 23:43:38 +0000 (19:43 -0400)]
Added firmprot patcher

9 years agoSo, we now are capable of signature patches.
root [Sat, 14 May 2016 23:11:28 +0000 (19:11 -0400)]
So, we now are capable of signature patches.

9 years agoAdd menu file?
chaoskagami [Mon, 9 May 2016 19:10:05 +0000 (15:10 -0400)]
Add menu file?

9 years agoUpdate Makefile versioning
chaoskagami [Tue, 3 May 2016 05:32:18 +0000 (01:32 -0400)]
Update Makefile versioning

9 years agoLots of misc menu work, proc9 search added
chaoskagami [Tue, 3 May 2016 05:31:49 +0000 (01:31 -0400)]
Lots of misc menu work, proc9 search added

9 years agoUpdate help text
chaoskagami [Fri, 29 Apr 2016 08:36:34 +0000 (04:36 -0400)]
Update help text

9 years agoUpdate color handling code to separate top/botom and allow 1b[0m
chaoskagami [Fri, 29 Apr 2016 08:34:12 +0000 (04:34 -0400)]
Update color handling code to separate top/botom and allow 1b[0m

9 years agoFix off coloring
root [Fri, 29 Apr 2016 08:02:33 +0000 (04:02 -0400)]
Fix off coloring