• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Mac Classic with a Pi & USB-C

woodapples

Active member
Finally, after the troubles i had in this thread, I'm now able to power the early Mac Classic's analog board with USB Type C!
(Right now im using its fixed up logic board that is also powered by USB Type C for demonstration purposes).

Final aim is to make it like what they did here. But with a Raspberry Pi 4.

View attachment IMG4747.mov
 

woodapples

Active member
I'm using a custom build of minivmac beta, running on SDL2 and renders dirctly on gpu accelerated framebuffer without Xorg
 

woodapples

Active member
Can't believe I forgot to post it but here's my config.txt for the rpi 4 if anyone wants to replicate:

kernel=rpi4-u-boot.bin dtoverlay=upstream-pi4 arm_boost=1 dtoverlay=vc4-kms-v3d-pi4 dtoverlay=cma,cma-256 max_framebuffers=2 arm_64bit=1 gpu_mem=16 boot_delay=0 force_eeprom_read=0 initial_turbo=15 disable_splash=1 enable_uart=0 enable_dpi_lcd=1 display_default_lcd=1 dtoverlay=vc4-kms-dpi-generic dtparam=hactive=512,hsync-invert dtparam=hfp=12,hsync=178,hbp=2 dtparam=vactive=342,vsync-invert dtparam=vfp=1,vsync=4,vbp=24 dtparam=clock-frequency=15628800,rgb888
 

woodapples

Active member
Also the analog board voltage hooks schematic buried in the previous thread:

WARNING: If you don't know how to deal with high voltage stuff, please stay away from this thread. I am not liable for any lethal/non-lethal injuries or damages resulting from the use of this information.
 

Attachments

  • Macintosh_Classic_Early_Analog_Board_Schematic copy.png
    Macintosh_Classic_Early_Analog_Board_Schematic copy.png
    3.6 MB · Views: 64

woodapples

Active member
I've modified `dtparam=vactive=342,vsync-invert` from 342 to 384 to have a proper 4:3 aspect ratio. After adjusting the vertical size potentiometer it seems to work well!

1711963884546.png
 
Last edited:
Top