This is an old revision of the document!


Game Boy Zero

Parts List

Button Prep

  • Open SNES Controller and remove PCB

  • Cut PCB to a smaller size

Cut buttons holes

LCD Setup

wget http://www.waveshare.com/w/upload/2/24/LCD-show-160520.tar.gz
tar xvf LCD-show-YYMMDD.tar.gz
cd LCD-show/
sudo ./LCD35-show

Back to hdmi out:

cd LCD-show/
sudo ./LCD-hdmi

http://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)#Programming_the_image_file

https://www.raspberrypi.org/forums/viewtopic.php?f=45&t=137149

dtparam=spi=on
dtoverlay=waveshare35a
fbcon=map:1
dtparam=i2c_arm=on
hdmi_force_hotplug=1
hdmi_cvt=320 240 60 1 0 0 0
hdmi_group=2
hdmi_mode=87
 
dtoverlay=waveshare35a:rotate=270,swapxy=1,speed=41000000,fps=50
SUBSYSTEM=="input", KERNEL=="event[0-9]*", ATTRS{name}=="ADS7846*", SYMLINK+="input/touchscreen"
-26 -8689 33949688 -5739 -126 22326060 65536
Section "Device"
  Identifier "myfb"
  Driver "fbdev"
  Option "fbdev" "/dev/fb1"
EndSection
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "3932 300 294 3801"
        Option  "SwapAxes"      "1"
EndSection
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~