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
" light-pen cursor move test program | |
" $ doctorwkt/pdp7-unix/tools/as7 -f rim -o a.rim dpy.s | |
" $ open-simh/simh/BIN/.../pdp7 | |
" sim> se g2out disa | |
" sim> se dpy ena | |
" sim> load a.rim 100 | |
" sim> g 100 | |
" press LMB (light-pen) around cursor and move slowly... fun! | |
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
# coding: utf-8 | |
import idaapi | |
import struct | |
class Struct(object): | |
def __init__(self, endian): | |
self._fmt = endian + "".join([w for w,_ in self._struct]) | |
self._size = struct.calcsize(self._fmt) | |
def read(self, li): |
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
meta: | |
id: mub | |
title: openmucom88 binary format (supports only one song) | |
file-extension: mub | |
endian: le | |
doc-ref: https://github.com/onitama/mucom88/blob/99d0dad6d3234848876739b5775149ff0af3a782/src/cmucom.h#L118 | |
seq: | |
- id: magic | |
contents: "MUC8" | |
- id: dataoff |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<compiler_spec> | |
<global> | |
<range space="RAM"/> | |
</global> | |
<stackpointer register="r15" space="RAM" growth="negative"/> | |
<returnaddress> | |
<register name="pr"/> | |
</returnaddress> |
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
//copy the selected bytes into new address (you'll be prompted). | |
// note: you can copy small area by copy "Byte String" and paste. (this script is for large (>~150KB) area that can't copy-paste) | |
// note: this script does not support large area such as over 1GB. | |
// note: you can make "same view" by defining memory map "byte mapped". (this script is for "mutable" copy, emulating memcpy) | |
//@author murachue | |
//@category Memory | |
//@keybinding | |
//@menupath | |
//@toolbar |
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
kernel_text=0x800010b0 edata=0x8024f9f0 end=0x80260518 sp=0x80001070 | |
mips_fixup_stubs: 4957 fixups done in 5187515 cycles | |
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | |
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, | |
2018, 2019 The NetBSD Foundation, Inc. All rights reserved. | |
Copyright (c) 1982, 1986, 1989, 1991, 1993 | |
The Regents of the University of California. All rights reserved. | |
NetBSD 8.0_STABLE (GENERIC) #43: Wed Feb 13 00:05:32 JST 2019 | |
user@host:/home/user/netbsd_src/sys/arch/nintendo64/compile/obj/GENERIC |
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
kernel_text=0x800011f0 edata=0x8024fbd0 end=0x80260718 sp=0x800011b0 | |
mips_fixup_stubs: 4957 fixups done in 5189168 cycles | |
pid 0(system): trap: cpu0, reserved instruction in kernel mode | |
status=0x20000002, cause=0x28, epc=0x80001164, vaddr=0xffffffff | |
tf=0x80001138 ksp=0x800011d8 ra=0x800012d4 ppl=0 | |
panic: trap | |
System halted. Hit any key to reboot. |
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
$ cargo init --bin rust-fuse-hello | |
$ curl -Lv https://raw.githubusercontent.com/zargony/rust-fuse/0.3.0/examples/hello.rs -o rust-fuse-hello/src/main.rs | |
## note: newer version ( c9167ce06e8897fc3558a25b8f1685f39cd2dd98 or later ) may not compile with 0.3.0 due to https://github.com/zargony/rust-fuse/pull/84 | |
$ cd rust-fuse-hello | |
$ $EDITOR Cargo.toml | |
## edit some... | |
$ cargo build | |
## target/debug/rust-fuse-hello is ready to run! |
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
// mkpsxexe.c | |
// Copyright 2016 Murachue | |
// License: CC-BY | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <inttypes.h> | |
#include <stdlib.h> | |
size_t fwriteu32(uint32_t val, FILE *fp) { |
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
// mkpsximg.rs | |
// Copyright 2016 Murachue | |
// License: CC-BY | |
use std::fs::File; | |
use std::io; | |
use std::io::{Read, Write}; | |
struct Edc { | |
edc_table: [u32; 256], |
NewerOlder