Skip to content

Instantly share code, notes, and snippets.

View pinkforest's full-sized avatar
🦀
💁 cuttin' some 💾

pinkforest(she/her) pinkforest

🦀
💁 cuttin' some 💾
View GitHub Profile
@pinkforest
pinkforest / amx.h
Created September 3, 2023 04:37 — forked from dougallj/amx.h
amx simulator and hardware tests
#pragma once
#include <stdint.h>
// TODO: is it possible to not go via x0? I'm guessing not without messing with
// the compile process, but still, kinda ugly. might at least be possible to
// force the compiler to get the value in x0 itself
// TODO: do I need memory as an input?
#define AMX_LDX(V) \

I was ready to throw it away, I opened it up and didn't find anything wrong with it. After a quick Google Search, turns out Apple fucked up their users (again) and locked this drive to only one laptop : the MacBook Air.

Bellow is the tweak (found online) to make it usable on Linux

# Debian/linux only - Linux SCSI generic driver
sudo apt install sg3-utils -y