author | title | |
---|---|---|
|
Playstation Emulation Guide |
This is my attempt at documenting my implementation of a PlayStation
type Instruction func(opcode uint32, arm *ARM7TDMI) | |
func DecodeARMInstruction(opcode uint32) Instruction { | |
switch { | |
case IsBranchAndBranchExchange(opcode): | |
return BranchAndBranchExchange; | |
case IsBlockDataTransfer(opcode): | |
return BlockDataTransfer; |
App configuration in environment variables: for and against | |
For (some of these as per the 12 factor principles) | |
1) they are are easy to change between deploys without changing any code | |
2) unlike config files, there is little chance of them being checked | |
into the code repo accidentally | |
3) unlike custom config files, or other config mechanisms such as Java |