int CartCommand(char cmd, int data1, int data2)
{
CARDCMD_0 = cmd;
CARDCMD_1 = BYTE3(data1);
CARDCMD_2 = (unsigned int)(data1 << 8) >> 24;
CARDCMD_3 = (unsigned int)(data1 << 16) >> 24;
CARDCMD_4 = data1;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
import zipfile | |
import io | |
import sys | |
# Global variable containing repositories and settings for download | |
REPOSITORIES = [ | |
{ | |
"repo": "LumaTeam/Luma3DS", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var res = sc.ipcMsg(600).datau64(0x40000000, 0x40000).sendTo('fatal:u').assertOk(); | |
var addr = [res.data[0], res.data[1]]; | |
var sz = [res.data[2], res.data[3]]; | |
utils.log('IRAM at: '+utils.paddr(addr)+', size: '+utils.paddr(sz)); | |
sc.iramAddr = addr; | |
iramWrite4 = function(val, ofs) { | |
sc.ipcMsg(503).datau64(val, utils.add2(sc.iramAddr, ofs)).sendTo('fatal:u').assertOk(); | |
} |
These are misspellings of Plailect's name. All of these were done by other users.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hexdump( src, length=16, sep='.' ): | |
''' | |
@brief Return {src} in hex dump. | |
@param[in] length {Int} Nb Bytes by row. | |
@param[in] sep {Char} For the text part, {sep} will be used for non ASCII char. | |
@return {Str} The hexdump | |
@note Full support for python2 and python3 ! | |
''' | |
result = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use LWP::UserAgent; | |
use HTTP::Request; | |
# Message ID | |
my $msg_id = "13198105123219138"; | |
# Device ID | |
my $dev_id = "4362227770"; |