Skip to content

Instantly share code, notes, and snippets.

View snyiu100's full-sized avatar

snyiu100

View GitHub Profile
@snyiu100
snyiu100 / usb_hid_keys.h
Created June 25, 2018 06:35 — forked from MightyPork/usb_hid_keys.h
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/
@snyiu100
snyiu100 / gist:b147b3175315b9e959e3a7a6281a82c1
Created May 10, 2018 02:28 — forked from letoh/gist:2790559
[筆記] 為什麼在 x86,MBR 會被載入到 0x7C00?(完全版)

原文 Assembler / なぜx86ではMBRが"0x7C00"にロードされるのか?(完全版)

感謝 descent 大大分享本文,隨便看隨便譯。本文不是逐句譯,同時也不是這方面的專家 (不管是語言或技術),用語不一或缺漏錯誤在所難免,歡迎自行 fork 修正指教

誰適合看本文?

對 x86 架構與組合語言有基礎認識,以及從 MBR 到載入 OS 這一段過程有興趣的人 (還有談到中斷向量或 INT xxx 時不會一臉茫然的人)

@snyiu100
snyiu100 / fds.py
Created February 20, 2017 06:55 — forked from murachue/fds.py
.fds file loader for IDA (IDAPython)
# IDA .fds Loader
# usage:
# 1. Place into $IDA/loader/
# 2. Open .fds file by IDA (select "Python FDS Loader")
# 3. "import fds; fds.add()" and select additional file
# Enjoy!
# reference:
# http://park19.wakwak.com/~fantasy/fds/