Skip to content

Instantly share code, notes, and snippets.

View CodeAsm's full-sized avatar
🌏
Doing my coding thingies

CodeAsm CodeAsm

🌏
Doing my coding thingies
View GitHub Profile
@CodeAsm
CodeAsm / notes.md
Last active November 28, 2020 16:12
Notes on MacOS for the PPC Powermac G5 I own.

Personal Notes on Installing software on a Powermac G5

Ive recently acquired a Powermac G5 from a friend/org, it did not come with any discs nor harddisks. The Graphics card glitching and battery flat. The PPC is a intresting architecture I plan on exploring. First things first, get an OS working on this beast of a heavy aluminium thing.

These are personal notes, I dont plan on writing a tutorial or a 1-2-3 step. Most commonly one need to get a Install medium of some sorts and boot this. an Target medium for holding the final OS would be handy, one could go for an empty SATA harddrive, wich is my plan.

Sadly, either pirates are dumb, or I cant find the correct disk to ressurect this thing. Found upgrade disks and disks that wont boot. My personal collection of disks wont help and the only thing sofar legally booting is a copy of a G4 harddisk I have. maybe ill try some magic with that. Buying the real thing is also a bit weird, a previous owner paid for the OS, why would i need to repay someone some of t

@CodeAsm
CodeAsm / NAStest.sh
Created July 30, 2020 22:00
testing freenas
#!/bin/bash
#
# Copyright CodeAsm. 2020
#
cd /home/codeasm/Projects/Emulation/NAS
sudo qemu-system-x86_64 -enable-kvm -m size=8G \
@CodeAsm
CodeAsm / Higher then Hope.txt
Created July 17, 2020 14:12
Higher then Hope webgame from old days, Copyrighted and owned by Sayne aka Joost Kulker. send to me by someone, for publication. lost over time, recently found again.
_ _ _ _____ _ _ _____ _____ _____ _ _ _____ __ _ _ _ _____ _____ _____
| | | | | | / ___| | | | | | ____| | _ \ |_ _| | | | | | ____| | \ | | | | | | / _ \ | _ \ | ____|
| |_| | | | | | | |_| | | |__ | |_| | | | | |_| | | |__ | \| | | |_| | | | | | | |_| | | |__
| _ | | | | | _ | _ | | __| | _ / | | | _ | | __| | |\ | | _ | | | | | | ___/ | __|
| | | | | | | |_| | | | | | | |___ | | \ \ | | | | | | | |___ | | \ | | | | | | |_| | | | | |___
|_| |_| |_| \_____/ |_| |_| |_____| |_| \_\ |_| |_| |_| |_____| |_| \_| |_| |_| \_____/ |_| |_____|
www.higherthenhope.tk
The text based MMORPG
@CodeAsm
CodeAsm / main.c
Created July 4, 2020 10:55
Xbox eeprom dump and writer, buggy, donot use if not reading code
#include <hal/debug.h>
#include <hal/video.h>
#include <nxdk/mount.h>
#include <stdio.h>
#include <windows.h>
#include <stdbool.h>
/// Bunnie Huang eeprom
char array[] = {
0xE3, 0x1C, 0x5C, 0x23, 0x6A, 0x58, 0x68, 0x37,
0xB7, 0x12, 0x26, 0x6C, 0x99, 0x11, 0x30, 0xD1,
0x00-05 unkown SHA/3DES ?
0x06 unkown 0x09 TAB - Horizontal Tabulation?
0x1C flag 0x01/0x00 pincode
0x20-23 pincode [01 left trigger, 02 right trigger, (03 A, 04 B), 05 X, 06 Y, ]
0x24-2B Domain xbox.com Domain
0x38-43 K Realm PASSPORT.NET Kerberos Realm
0x50-5F unkown SHA/3DES ?*
0x60-63 unkown Same as on HDD and XMU(Angul)
0x64-6B unkown SHA/3DES ?*
@CodeAsm
CodeAsm / main.c
Last active May 21, 2020 11:03
testing for dev kernel on xbox or not, use nxdk, based on Luke Ushers code example and nxdk hello sample.
#include <hal/debug.h>
#include <hal/video.h>
#include <hal/xbox.h>
#include <nxdk/mount.h>
#include <windows.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
@CodeAsm
CodeAsm / Samsung UE32D6500 VSXXN Research
Last active May 10, 2020 21:55
Samsung UE32D6500 VSXXN Research into hardware and revisions.
Parrent main
BN91-07775K
BN94-05035A
ASSY PCB MAIN;UE32D6500VSXXN
BN94-04968A
€208,57
BN94-05035A

Keybase proof

I hereby claim:

  • I am CodeAsm on github.
  • I am codeasm (https://keybase.io/codeasm) on keybase.
  • I have a public key whose fingerprint is 856B 734D AF9B 84B6 666B 6684 EDF0 ACEF 94E5 20EC

To claim this, I am signing this object:

@CodeAsm
CodeAsm / xqemu.sh
Last active August 1, 2019 17:08
My latest Xqemu start script, does need a little bit of love and im sure someone could write a tidier and better one. Hey, im learning. Tweet or mail me your ideas or find me on some discord/fb or forum with ideas or how you solved it. Besides, I am very well aware of some GUI made menu's. but they depend on staying uptodate with Xqemu, and the …
#!/bin/bash
cd /home/codeasm/xbox/
while [[ $# -gt 0 ]]
do
key="$1"
case $key in
-cd|--cdrom)
CD="$2"
shift; shift # past argument and value
;;-bios|-kernel|-k)
@CodeAsm
CodeAsm / PRIMOSDK.H
Created May 15, 2019 09:22
A header file found in a Lenovo recovery image. "CD and DVD mastering API" by Sonic Solutions
//-----------------------------------------------------------------------------
// primosdk.h
// Copyright (c) 2002 - 2004, Sonic Solutions. All rights reserved.
//-----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////
// //
// //
// P r i m o S D K //