Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Making cool stuff!

Peter Gallagher pjgpetecodes

💭
Making cool stuff!
View GitHub Profile
View install.sh
#!/bin/bash
echo -e "\e[1m----------------------------------------"
echo -e "\e[1m .NET Installer"
echo -e "\e[1m----------------------------------------"
echo ""
echo -e "\e[1mPete Codes / PJG Creations 2021"
echo ""
echo -e "Latest update 04/01/2021"
echo ""
View gist:a4f34a3963a7628ba1ebd302d5fcc913
#!/bin/bash
echo -e "\e[1m----------------------------------------"
echo -e "\e[1m Dot Net 5 Installer"
echo -e "\e[1m----------------------------------------"
echo ""
echo -e "\e[1mPete Codes / PJG Creations 2020"
echo ""
echo -e "Latest update 11/11/2020"
echo ""
@pjgpetecodes
pjgpetecodes / install.sh
Last active Oct 11, 2020
Install Dot Net Core 3 on the Raspberry Pi
View install.sh
#!/bin/bash
echo -e "\e[1m----------------------------------------"
echo -e "\e[1m Dot Net Core Installer"
echo -e "\e[1m----------------------------------------"
echo ""
echo -e "\e[1mPete Codes / PJG Creations 2020"
echo ""
echo -e "Latest update 30/04/2020"
echo ""
@pjgpetecodes
pjgpetecodes / instructions.txt
Last active Jan 14, 2021 — forked from shawty/rpi_install_instructions.txt
Instructions on how to get the latest dotnet core 3 and Blazor running on a Raspberry PI
View instructions.txt
This is a fork of Shawty's original instructions simply updated to use the release version of Dot Net Core.
First things first, make sure your Raspberry PI has the latest updates for Raspbian on by running
sudo apt-get -y update
sudo apt-get -y upgrade
Also make sure that your running this on a version 2 raspberry PI or higher (I tested this on a Quad Core V3 B+, and a V2 PI Zero)
This will NOT WORK on any PI model that's older, I tried it on an original V1 and to say it wasn't happy, was an understatement :-)
@pjgpetecodes
pjgpetecodes / Sprites0.asm
Last active Nov 10, 2017
Sam Coupe Sprite Tutorial - Part 0
View Sprites0.asm
;
; -----------------------------------------------------------------------------------
; | |
; | Program: SAM Coupe Sprites Tutorial 1 - Part 0 |
; | Filename: Sprites0.asm |
; | Version: 1.0 |
; | Date: 12/10/2017 |
; | Author: Pete Gallagher - PJG Creations Ltd |
; | |
; -----------------------------------------------------------------------------------
@pjgpetecodes
pjgpetecodes / sprites3.asm
Last active Oct 12, 2017
Sam Coupe Sprite Tutorial - Part 3
View sprites3.asm
;
; -----------------------------------------------------------------------------------
; | |
; | Program: SAM Coupe Sprites Tutorial 3 |
; | Filename: Sprites3.asm |
; | Version: 1.1 |
; | Date: 12/10/2017 |
; | Author: Pete Gallagher - PJG Creations Ltd |
; | |
; -----------------------------------------------------------------------------------
@pjgpetecodes
pjgpetecodes / sprites2.asm
Last active Nov 13, 2017
Sam Coupe Sprite Tutorial - Part 3 - A full 32x32 Sprite
View sprites2.asm
;
; -----------------------------------------------------------------------------------
; | |
; | Program: SAM Coupe Sprites Tutorial 2 |
; | Filename: Sprites2.asm |
; | Version: 1.0 |
; | Date: 12/10/2017 |
; | Author: Pete Gallagher - PJG Creations Ltd |
; | |
; -----------------------------------------------------------------------------------
@pjgpetecodes
pjgpetecodes / sprite1_2.asm
Last active Nov 10, 2017
Sam Coupe Sprite Tutorial - Part 2 - Stack Pointer Resolution
View sprite1_2.asm
;
; -----------------------------------------------------------------------------------
; | |
; | Program: SAM Coupe Sprites Tutorial 1 - Part 2 |
; | Filename: Sprites1_2.asm |
; | Version: 1.2 |
; | Date: 12/10/2017 |
; | Author: Pete Gallagher - PJG Creations Ltd |
; | |
; -----------------------------------------------------------------------------------
@pjgpetecodes
pjgpetecodes / sprite1.asm
Last active Nov 10, 2017
Sam Coupe Sprite Tutorial - Part 1
View sprite1.asm
;
; -----------------------------------------------------------------------------------
; | |
; | Program: SAM Coupe Sprites Tutorial 1 - Part 1 |
; | Filename: Sprites1.asm |
; | Version: 1.0 |
; | Date: 12/10/2017 |
; | Author: Pete Gallagher - PJG Creations Ltd |
; | |
; -----------------------------------------------------------------------------------
@pjgpetecodes
pjgpetecodes / Hello World.asm
Last active Sep 24, 2017 — forked from anonymous/Hello World.asm
Commented Z80 Hello World
View Hello World.asm
autoexec ; Automatically Execute the Program
ORG 32768 ; Store the program in User Address Space
;
; Print an ASCII Table with 96 Characters
;
print_test: LD B,96 ; We want 96 characters in our ASCII Tabe
LD A,32 ; 32 is the ASCII code for space
loop2: LD C,A ; Temp store for the A Register as it's zeroed by the RST 16 call below
RST 16 ; Output A to current stream (Print the character in the A Register)