This file contains 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
FROM archlinux:base-devel-20210228.0.16308 | |
ENV YAUL_INSTALL_ROOT=/opt/tool-chains/sh2eb-elf/ | |
ENV YAUL_PROG_SH_PREFIX= | |
ENV YAUL_ARCH_SH_PREFIX=sh2eb-elf | |
ENV YAUL_ARCH_M68K_PREFIX=m68keb-elf | |
ENV YAUL_BUILD_ROOT=${HOME}/libyaul | |
ENV YAUL_BUILD=build | |
ENV YAUL_CDB=1 | |
ENV YAUL_OPTION_DEV_CARTRIDGE=0 |
This file contains 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
/* Copyright 2014 Theo Berkau | |
This file is part of PseudoSaturn. | |
PseudoSaturn is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. | |
PseudoSaturn is distributed in the hope that it will be useful, |
This file contains 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
//TODO write a description for this script | |
//@author | |
//@category _NEW_ | |
//@keybinding | |
//@menupath | |
//@toolbar | |
import ghidra.app.script.GhidraScript; | |
import ghidra.program.model.util.*; | |
import ghidra.program.model.reloc.*; |
This file contains 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
FROM ubuntu:20.04 | |
ARG DEBIAN_FRONTEND=noninteractive | |
ARG BUILD_OPTION_DEV_CARTRIDGE=0 | |
ARG BUILD_OPTION_MALLOC_IMPL="tlsf" | |
ARG BUILD_OPTION_SPIN_ON_ABORT=1 | |
ARG BUILD_CDB=1 | |
ENV YAUL_INSTALL_ROOT=/opt/tool-chains/sh-elf |
This file contains 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
sed -i -re 's/\/usr\/share\/games\/nes\/kachikachi/\/var\/lib\/hakchi\/rootfs\/usr\/share\/games/g' /var/lib/hakchi/rootfs/etc/preinit.d/b0000_defines | |
rm /var/lib/hakchi/rootfs/usr/share/games/nes -R | |
cp /usr/share/games/* /var/lib/hakchi/rootfs/usr/share/games -R |
This file contains 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
#include <vector> | |
#include <iostream> | |
#include <string.h> | |
#include <string> | |
#include <stdio.h> | |
#include <boost/asio.hpp> | |
#include <boost/thread.hpp> | |
#include <boost/program_options.hpp> | |
#define PORT_COM "COM4" |
This file contains 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
#define N_ADDR_PIN 20 | |
#define N_DATA_PIN 16 | |
typedef unsigned long uint32_t; | |
typedef unsigned long addr_t; | |
typedef unsigned short data_t; | |
typedef struct { | |
byte addr_pin[N_ADDR_PIN]; | |
byte data_pin[N_DATA_PIN]; |