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
# SPDX-License-Identifier: MIT | |
import sys | |
import io | |
def read_items(in_bytes=None, in_items=None, in_dic=None, in_byteorder="little"): | |
total_offset = 0 | |
for x in in_items: | |
item_name = x[0] |
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
# PPC440x AUX instructions to dcread instructions | |
from idaapi import * | |
from idautils import * | |
def main(): | |
# Loop through all the segments and scan any marked as code. | |
seg = ida_segment.get_first_seg() | |
while seg is not None: |
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
cmake_minimum_required(VERSION 3.0) | |
project(csvParser) | |
list(APPEND SOURCES | |
Main.cpp | |
Krkr2DrawDeviceWrapper.cpp | |
BasicDrawDevice.cpp | |
) | |
list(APPEND INCFLAGS |
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
# SPDX-License-Identifier: MIT | |
# Decompress linux_p7.daz from SCPN-60160 | |
import zlib | |
import sys | |
import io | |
with open(sys.argv[1], "rb") as f: | |
iobj = zlib.decompressobj() | |
f.seek(0, 2) | |
sz = f.tell() |
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
enum | |
{ | |
_rSpuInit = 0x0001, | |
rSpuSetCore = 0x0002, | |
rSpuSetKey = 0x0005, | |
rSpuSetReverb = 0x0006, | |
rSpuClearReverbWorkArea = 0x0007, | |
rSpuSetReverbEndAddr = 0x0008, | |
rSpuSetReverbModeDepth = 0x000A, | |
rSpuSetReverbVoice = 0x000B, |
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
/* Macros to set ADSR: i=increment, d=decrement */ | |
enum | |
{ | |
SD_ADSR_AR_LINEARi = 0, | |
SD_ADSR_AR_EXPi = 1, | |
}; | |
enum | |
{ |
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
#if 0 | |
if ( !has_symtab ) | |
{ | |
// Some modules have missing symtab/strtab section, so make our own | |
elf_syment **symp; | |
elf_section *sp_y; | |
unsigned int shdr_entrise = elf->ehp->e_shnum; | |
sp_y = (elf_section *)calloc(1, sizeof(elf_section)); | |
sp_y->shr.sh_size = shdr_entrise * sizeof(Elf32_Sym); | |
sp_y->shr.sh_entsize = sizeof(Elf32_Sym); |
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
loginctl enable-linger | |
podman run --name crystite-test -dit --network=host \ | |
-v /mnt/data/crystite/var/lib/crystite:/var/lib/crystite:rw \ | |
-v /mnt/data/crystite/etc/crystite:/etc/crystite:rw \ | |
-v /mnt/data/crystite/data:/mnt/data:rw \ | |
public.ecr.aws/docker/library/debian:12 /bin/bash -c 'trap : TERM INT; coproc { exec >&-; read; }; eval exec "${COPROC[0]}<&-"; wait' | |
podman exec -it crystite-test /bin/bash | |
apt-get update | |
apt-get install -y sudo wget screen |
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
* PS2 IOP software base modules RE/reimplementation | |
[spoiler=status] | |
CDVDFSV - done | |
CDVDMAN - done | |
CLEARSPU - done | |
DMACMAN - done | |
EESYNC - done | |
EXCEPMAN - done | |
FILEIO - done | |
HEAPLIB - done |
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
00 -> x | |
01 -> x | |
02 -> x | |
03=sio2man_1() -> x | |
04 sio2_ctrl_set() -> x | |
05 sio2_ctrl_get() -> x | |
06 sio2_stat6c_get() -> x | |
07 sio2_portN_ctrl1_set() -> x | |
08 sio2_portN_ctrl1_get() -> x | |
09 sio2_portN_ctrl2_set() -> x |
NewerOlder