LisaList2

Advanced search  

News:

2022.06.03 added links to LisaList1 and LisaFAQ to the General Category

Pages: [1]   Go Down

Author Topic: Yet another Raspberry Pi Lisa case, but this one has the STLs!  (Read 7514 times)

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Yet another Raspberry Pi Lisa case, but this one has the STLs!
« on: February 02, 2020, 05:46:47 pm »

Found this today: https://www.youtube.com/watch?v=1KlLikJLRA0 and in the description it has a link to the STL files, incase you have a 3D printer and would like to build your own: https://www.stlfinder.com/model/apple-lisa-raspberry-pi-case-ungrouped-8UXkdL1z/7784189/
As a bonus, here's a Mac version from Adafruit: https://www.youtube.com/watch?v=D_duo8Wogsw and https://www.thingiverse.com/thing:441583 (but there's more parts needed as listed in the video description).
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

Lisa2

  • Administrator
  • Sr. Member
  • *****
  • Karma: +64/-0
  • Offline Offline
  • Posts: 153
  • See why 1983 was more like Y2K...
    • Lisa2.com
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #1 on: February 03, 2020, 08:17:38 pm »

Yes this is great, I might try printing one myself.

I don't get why the creator when to all the trouble to simulate the LOS when he could have used LisaEm and ran the real code.....

Logged

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #2 on: February 07, 2020, 09:41:51 pm »

Found this today: https://www.youtube.com/watch?v=1KlLikJLRA0 and in the description it has a link to the STL files, incase you have a 3D printer and would like to build your own: https://www.stlfinder.com/model/apple-lisa-raspberry-pi-case-ungrouped-8UXkdL1z/7784189/
As a bonus, here's a Mac version from Adafruit: https://www.youtube.com/watch?v=D_duo8Wogsw and https://www.thingiverse.com/thing:441583 (but there's more parts needed as listed in the video description).

That was my 3D rpi

Ive been trying to get the code running on Raspberry (this video had the rpi 4; I since returned it in Amazon and bought a rpi3; to try and create a real Apple Lisa emulation. 

Been working with Ray (thanks Ray and thanks for helping find this site)

Having a Lisa would be great but__ they are expensive and NO place to put her (I think she would be a ''her'' haha), so I created a mini version that I was hoping to fiddle with. 

I also created a rpi4 NeXTcube that is successfully running Previous (NeXT emulation)
Logged

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #3 on: February 08, 2020, 12:44:22 am »

Found this today: https://www.youtube.com/watch?v=1KlLikJLRA0 and in the description it has a link to the STL files, incase you have a 3D printer and would like to build your own: https://www.stlfinder.com/model/apple-lisa-raspberry-pi-case-ungrouped-8UXkdL1z/7784189/
As a bonus, here's a Mac version from Adafruit: https://www.youtube.com/watch?v=D_duo8Wogsw and https://www.thingiverse.com/thing:441583 (but there's more parts needed as listed in the video description).

I finally was able to get the Apple Lisa up and running.  I had a copy of it a while back and put the book of Proverbs on it.  I ended up just using that image on the Raspberry Pi, so I can make changes on a big iMac screen, and then copy the profile file over to the rpi.

whoo hoo, Now I just need to figure out how to minimize the bezel and maximize the screen.  Taking the skin off doesn't work, it just centres the screen.
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #4 on: February 08, 2020, 10:51:57 am »

Hi @berskyboy, welcome and thank you for the bug report on github.

I would say, please wait a few weeks maybe a couple of months until I shake out all the bugs in LisaEm 1.2.7, as this version has a few very useful features for use on a raspberry pi. For one thing, it adds a command line option interface, so when it launches you can have it turn on immediately and go full screen and go skinless, so you could setup Raspbian to auto start with LisaEm on power on.

The trouble is, skinless modes right now have some sizing and mouse location issues, but I've also found and fixed a few memory leaks and I'm tracking down another memory clobber issue that I have to fix before I can go back to fixing the display issues.

Does the display you use report that it's much larger than it is? Does centering in skinless mode break things?

I don't want to steal the conversation away from your RPi case and build to LisaEm, and I know you've mentioned some of the build stuff on your links off youtube, but could you tell us a bit more here? Like what display did you use for your RPi, and does it need any drivers? Anything else you had to do to prep the case for 3D printing and any post printing processes?

This is a pretty common use case for an RPi and I'm sure lots of folks are interested in building their own, myself included, though, I do own one of the ones made by Charles Mangin ( https://retroconnector.com/?s=pixl&submit=Search ) However in my case I couldn't get the display to work, it just shows a white background and nothing else, perhaps I need to install a driver or something, so right now I just keep it powered off a shelf display.

[Actually I do know some of the answers to these questions, but this more to get this conversation started and more people involved, I'm sneaky that way.]
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

Lisa2

  • Administrator
  • Sr. Member
  • *****
  • Karma: +64/-0
  • Offline Offline
  • Posts: 153
  • See why 1983 was more like Y2K...
    • Lisa2.com
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #5 on: February 08, 2020, 07:34:05 pm »

I finally was able to get the Apple Lisa up and running.  I had a copy of it a while back and put the book of Proverbs on it.  I ended up just using that image on the Raspberry Pi...

Fantastic!  Great Job!  Bravo! 

Rick
Logged

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #6 on: February 15, 2020, 11:22:40 am »

Found this today: https://www.youtube.com/watch?v=1KlLikJLRA0 and in the description it has a link to the STL files, incase you have a 3D printer and would like to build your own: https://www.stlfinder.com/model/apple-lisa-raspberry-pi-case-ungrouped-8UXkdL1z/7784189/
As a bonus, here's a Mac version from Adafruit: https://www.youtube.com/watch?v=D_duo8Wogsw and https://www.thingiverse.com/thing:441583 (but there's more parts needed as listed in the video description).

SUCCESS!!!!
I got it to fill the screen with and ALT-Click movement and yes Lisa or LisaEm on the Raspberry Pi 3!

Check it out...

https://youtu.be/WKF2a7eErkI

Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #7 on: February 15, 2020, 01:59:54 pm »

SUCCESS!!!!
I got it to fill the screen with and ALT-Click movement and yes Lisa or LisaEm on the Raspberry Pi 3!

Check it out...

https://youtu.be/WKF2a7eErkI



Congrats! looks very neat! A couple of questions:

1. So I'm guessing the proverbs were typed in LisaWrite? Or did someone write a bible app for the Lisa that we're not aware of? If I had to guess, it would be copying the text and pasting with the paste command?

2. I'm guessing the alt-click is some shortcut in raspbian I'm not aware of? I suppose it's this: https://superuser.com/questions/428974/how-to-enable-dragging-windows-with-alt-click-in-gnome-3-gnome-shell ?

Sadly that looks like only 1/4th the display of the Lisa video output, I guess this is less of a question than it is a gripe. I wish those RPi LCD screens had higher resolution - I think they're 320x240. Ideally a 1024x768 display would be perfection, though an 800x600 should work with raw mode, but it will be squished a bit vertically. Sadly I only see 7" displays that have at least that resolution which, I suppose you could build a much larger case for.


I think you'll like 1.2.7 on the next push to github as I've added an option to turn off centering in skinless mode. I've got something like two dozen bugs to fix though... it also has the ability to scale down to 50% size, though I'm not sure how bad that will look on that display - likely a 50% reduction will fit the entire Lisa display perfectly, but the resolution will be very poor.
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #8 on: February 15, 2020, 04:55:06 pm »

Hi @berskyboy, welcome and thank you for the bug report on github.

I would say, please wait a few weeks maybe a couple of months until I shake out all the bugs in LisaEm 1.2.7, as this version has a few very useful features for use on a raspberry pi. For one thing, it adds a command line option interface, so when it launches you can have it turn on immediately and go full screen and go skinless, so you could setup Raspbian to auto start with LisaEm on power on.

The trouble is, skinless modes right now have some sizing and mouse location issues, but I've also found and fixed a few memory leaks and I'm tracking down another memory clobber issue that I have to fix before I can go back to fixing the display issues.

Does the display you use report that it's much larger than it is? Does centering in skinless mode break things?

I don't want to steal the conversation away from your RPi case and build to LisaEm, and I know you've mentioned some of the build stuff on your links off youtube, but could you tell us a bit more here? Like what display did you use for your RPi, and does it need any drivers? Anything else you had to do to prep the case for 3D printing and any post printing processes?

This is a pretty common use case for an RPi and I'm sure lots of folks are interested in building their own, myself included, though, I do own one of the ones made by Charles Mangin ( https://retroconnector.com/?s=pixl&submit=Search ) However in my case I couldn't get the display to work, it just shows a white background and nothing else, perhaps I need to install a driver or something, so right now I just keep it powered off a shelf display.

[Actually I do know some of the answers to these questions, but this more to get this conversation started and more people involved, I'm sneaky that way.]

Hi Ray,

Here's a list of steps and materials:

Raspberry Pi 3 (the 4 had some issues)
LCD Screen:  https://www.amazon.ca/gp/product/B01IGBDT02/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1
Driver = http://www.lcdwiki.com/zh/3.5inch_RPi_Display
Some cables, and stuff:  https://www.amazon.ca/gp/product/B07QNSJQFN/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1
https://www.amazon.ca/gp/product/B07BZHMTZ4/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1
LCD to rip connectors: https://www.amazon.ca/gp/product/B01LZF1ZSZ/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1


3D printing of these SLT:https://www.thingiverse.com/thing:2514288
You need to print them UN-grouped, then glue or tape / connect them together.  The Library that I did mine said they needed if all in pieces to print them.

Yes Ray, I would love if it would just boot up to Lisa, wow what a dream. 

Also by the way there was a way, the best way I found to get a usable LisaEm hard drive and programs, etc was to build it on the OS X and adding the Lisa Office Files, then I used this method to add stuff from the clipboard. (it was a utility that let you take text and put it into the clipboard buffer, then when in LisaEm you could click paste, so I could populate the Books of Proverbs, or what ever stuff to read you want,

Here's a link to the LisaEmProfile file:
https://www.dropbox.com/preview/Public/lisaem-profile.dc42?role=personal

enjoy.  Looking forward to your solution Ray!

Mark



Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #9 on: February 16, 2020, 10:41:55 am »

Quote
Yes Ray, I would love if it would just boot up to Lisa, wow what a dream.

So, on the next push, which is like two dozen bugfixes away, you should be able to add a line to ~/.config/lxsession/LXDE-pi/autostart with the line
Code: [Select]
/usr/local/bin/lisaem --kiosk to enable that.

One recent change, and sorry for pain, but if sound doesn't work with 1.2.6 on the pi and you want it to work, you'll need to install the libsdl2-dev package and rebuild wxWidgets passing --with-sdl like this (this is part of the next version of the build-wx3.1.2-gtk script:

Code: [Select]
  export CFLAGS="-fPIC" CXXFLAGS="-fPIC"
  ../configure --with-gtk --enable-unicode --disable-debug --disable-shared --without-expat  --disable-richtext  \
               --with-libpng=builtin --with-libjpeg=builtin --with-libtiff=builtin --with-libxpm=builtin \
               --prefix=/usr/local/wx${VER}-${TYPE} \
               --with-libxpm=builtin  --prefix=/usr/local/wx${VER}-${TYPE} \
               --with-sdl \
               && make && $SUDO make install || exit 2

Unfortunately wxWidgets sound no longer works, even with osspd-pulseaudio installed with recent releases of GTK and the wxDevs haven't yet started to support pulseaudio yet. see: https://trac.wxwidgets.org/ticket/18000 and https://trac.wxwidgets.org/ticket/14899

On LisaEm power on you should hear the speaker click, then if you boot off a floppy you should hear the insert floppy sound and the motor spin. If you don't, it's broken.
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #10 on: February 23, 2020, 09:37:09 am »

Hey Mark,

I pushed some new code last night to https://github.com/rayarachelian/lisaem.git (master branch) - there are still windowing bugs, but perhaps this has enough fixes to solve your issues on the Rpi.

Hope it helps.
Cheers,
--Ray
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #11 on: March 02, 2020, 06:40:35 pm »

Hey Mark,

I pushed some new code last night to https://github.com/rayarachelian/lisaem.git (master branch) - there are still windowing bugs, but perhaps this has enough fixes to solve your issues on the Rpi.

Hope it helps.
Cheers,
--Ray

Hi Ray,

Do I need to compile the widgets again?  If so, is there a way to copy (archive off) the version that works.  Like thru SBM?  I did use the Raspian SD card copy feature to copy the SD card, but I was wondering if there is a way to compile or work in "Development" as it were, while having a working LisaEm copy?

Thanks,
Mark
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #12 on: March 03, 2020, 11:48:08 am »

Quote
Do I need to compile the widgets again?  If so, is there a way to copy (archive off) the version that works.  Like thru SBM?  I did use the Raspian SD card copy feature to copy the SD card, but I was wondering if there is a way to compile or work in "Development" as it were, while having a working LisaEm copy?

You only need to do that if something on the GTK side has changed - this will usually only happen when you upgrade the OS - but usually only on a major version, or if you haven't already compiled it with SDL and wish to enable sound.

Once you get a good known version of LisaEm that you're happy with, you can do
Code: [Select]
sudo ./build.sh clean build install and that will then install it to /usr/local/bin/lisaem.

You can then do
Code: [Select]
git pull; ./build.sh clean build to test updated versions, and if you like the changes and don't notice any issues, you can repeat the install. But note that
Code: [Select]
sudo ./build.sh may change ownership of the object and binaries to root, so you may need to do something like
Code: [Select]
sudo chown -R pi ./lisaem from the directory above it to fix it.

Also note that I'm close to doing another push to github in a few days, likely before Monday. Your patience might be rewarded, or not, depending on how many old bugs I fix vs new ones I intoduce. :-D
« Last Edit: March 03, 2020, 11:49:58 am by rayarachelian »
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

berskyboy

  • Jr. Member
  • **
  • Karma: +6/-0
  • Offline Offline
  • Posts: 11
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #13 on: May 21, 2020, 11:02:44 am »

Hi Ray,

I'm back looking at this post and wanted to enable sound on the Raspberry Pi.  Do I need to rebuild the GTK files again?  I also wanted to know if there was a way to archive the work I've done (like I have it working), I did do a SD Card duplication which should be good backup, and you had mentioned doing an install clean build to my usr/local/bin/lisaem directory.  I guess my question really is, how does UNIX work with builds, can you have different builds in different directories? 

How do I tell my LisaEm version?  (I found it in the About box = LisaEm 1.2.7-ALPHA_2019.11.11)

I wish I knew a bit more about UNIX, but this is a good time during COVID to learn a few things.

thanks for all your help.

Mark
« Last Edit: May 21, 2020, 11:56:09 am by berskyboy »
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +101/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Yet another Raspberry Pi Lisa case, but this one has the STLs!
« Reply #14 on: May 21, 2020, 12:03:33 pm »

I'm back looking at this post and wanted to enable sound on the Raspberry Pi.  Do I need to rebuild the GTK files again? 

Unfortunately so, it appears that for GTK, you should recompile wxWidgets 3.x --with-sdl and install the sdl libs and developer packages before you do so. I found a somewhat obscure note about this. Originally it worked just fine by adding the pulseaudio proxy, but not with 3.x.  Meh.

I also wanted to know if there was a way to archive the work I've done (like I have it working), I did do a SD Card duplication which should be good backup, and you had mentioned doing an install clean build to my usr/local/bin/lisaem directory.  I guess my question really is, how does UNIX work with builds, can you have different builds in different directories? 

Absolutely. You can backup any directory on linux using the tar command. There are other tools such as zip and rar and 7z, but tar is preferred. i.e.

Code: [Select]
tar cpJvf archivename.tar.xz directory-to-backup
To get a listing of what's inside the archive, you'd do:
Code: [Select]
tar tJvf archivename.tar.xz | moreAnd to restore, you'd simply do:
Code: [Select]
tar xpJvf archivename.tar.xz
The options to tar are c=create, t=table of contents (listing) x=extract, p=store permissions, v=verbose, J=use xz compression (note uppercase J here), f=next parameter is the name of the archive file. Instead of J you could use j=bzip2 compression - slower and lower ratio use the .bz2 extension, z=gzip compression - faster, but far lower compression, use the .gz extension.

To get more details about any unix command, use man. i.e.
Code: [Select]
man tar
How do I tell my LisaEm version?

If you've obtained it from github, the current version is a beta of 1.2.7. When you run
Code: [Select]
./build.sh --help it will print the version in the banner.

I wish I knew a bit more about UNIX, but this is a good time during COVID to learn a few things.

Give this a try: https://www.tldp.org/LDP/intro-linux/html/
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code
Pages: [1]   Go Up