Skip to content

Instantly share code, notes, and snippets.

View henrikenblom's full-sized avatar

Henrik Enblom henrikenblom

  • Stockholm, Sweden
View GitHub Profile
@henrikenblom
henrikenblom / awssh.sh
Last active June 5, 2018 10:00
Connect to running AWS instances using tag names
#!/bin/bash
####################################################
# Connect to running AWS instances using tag names #
# Author: [email protected] #
####################################################
PEM_FILE="$HOME/.ssh/aws.pem";
DEFAULT_USERNAME="ubuntu";
@henrikenblom
henrikenblom / BMC64 Waveshare 3.5 DPI settings
Created March 19, 2023 09:35
BMC64 settings with timing parameters for the Waveshare 3.5inch 640x480 DPI display
[C64/NTSC/DPI/VICE [email protected]]
enable_dpi=true
machine_timing=ntsc-custom
cycles_per_second=1023164
enable_dpi_lcd=1
display_default_lcd=1
gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2
dtoverlay=dpi18
@henrikenblom
henrikenblom / ZJ050NA-08C settings
Last active February 20, 2024 22:10
Raspberry Pi/BMC64 custom video settings for the InnoLux ZJ050NA-08C 5" LCD
extra_transpose_buffer=2
dtoverlay=dpi18
enable_dpi_lcd=1
display_rotate=0x10000 # "Fix" for possible misconfig of pin 39/40! They are pulled down, instead of up.
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x70015
dpi_timings=640 0 114 4 42 480 0 266 3 31 0 0 0 50 0 31276000 1 # 50.1166667Hz cycles_per_second: 985093
[C64/PAL/DPI/VICE [email protected]]
disable_overscan=1
enable_dpi=true
machine_timing=pal-custom
cycles_per_second=983487
enable_dpi_lcd=1
display_default_lcd=1
gpio=0-9=a2
gpio=12-17=a2
gpio=20-25=a2