Previous for Raspberry Pi?

Started by itomato, August 29, 2015, 05:39:52 am

Previous topic - Next topic

itomato

Has anyone tried cross compiling? Seems like an excellent use for a Pi 2, ADB keybiard converter and one of Rob's hollow slab cases.
-itomato

Noth

Last time I tried, back when gfx started working, it compiled fine natively, no run to crosscompile. Give it a go, it's not hard!
NeXT Cube 040 (NeXTSTEP 3.3), SUN SparcStation5 (NeXTSTEP 3.3), SGI Indigo2 R10000 (IRIX 6.5.22), SGI VSW320 (Windows 2000/Slakware 9.1)

pergamon

Whoa, really?  That's crazy and awesome.  I will do this.

jvernet

Hatari run on the PI, but Falcon emulation is unusable, even on a overclocked PI. Too slow...

ST emulation work fine, so I think Previous will be too slow, but may work...
--
Apple & NeXT

bobo68

Has somebody got NeXTstep/Previous to work on a Raspberry Pi? I'd like to run it on a new 3B model.

pitz

Quote from: "bobo68"Has somebody got NeXTstep/Previous to work on a Raspberry Pi? I'd like to run it on a new 3B model.


Yes on the RPi2: http://www.nextcomputers.org/forums/viewtopic.php?t=3847
But it was only able to run to about 33% of real hardware speed.  The RPi3 might be able to boost it up to around 50%.

bobo68

Thanks for the link. I'd like to do the same with a 3D printed Cube enclosure I bought on eBay.

Can you give me a few hints about what has to be done to compile Previous on the Pi? I used toi be a developer but that is long ago...

TIA
bobo68

bobo68

Was asked about the 3D printed Cube enclosure. It's a guy from the UK, you can buy it on eBay: http://www.ebay.com/itm/NeXT-Cube-Raspberry-Pi-Case-/131977820271.

It seems to have some rough edges but let's see how it looks in person.

eagle

Quote from: "bobo68"Was asked about the 3D printed Cube enclosure. It's a guy from the UK, you can buy it on eBay: http://www.ebay.com/itm/NeXT-Cube-Raspberry-Pi-Case-/131977820271.

It seems to have some rough edges but let's see how it looks in person.


Wow, that's really neato!  If I get a raspi I'll definitely need to get that case!

Thanks!
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

pitz

Quote from: "bobo68"Thanks for the link. I'd like to do the same with a 3D printed Cube enclosure I bought on eBay.

Can you give me a few hints about what has to be done to compile Previous on the Pi? I used toi be a developer but that is long ago...

TIA
bobo68


Mainly followed gilles' instructions from the main forum thread for Previous, linking to his site: http://previous.alternative-system.com/index.php/build

For Raspbian, the packages you would need to build are cmake and libsdl2-dev (SDL).  The latest Raspbian stable package repository already has SDL 2.0.4.  If you need to make use of the new audio stuff that's only available with SDL 2.0.5, you'd need to add Debian's sid/unstable package repository to your package sources.  Or maybe build SDL 2.0.5 directly from sources.


bobo68

Ok. Have you tried building SDL so that it directly renders into the frame buffer (no X-Window)? Should be faster.

berskyboy

Quote from: pitz on November 06, 2016, 03:53:52 amMainly followed gilles' instructions from the main forum thread for Previous, linking to his site: http://previous.alternative-system.com/index.php/build

For Raspbian, the packages you would need to build are cmake and libsdl2-dev (SDL).  The latest Raspbian stable package repository already has SDL 2.0.4.  If you need to make use of the new audio stuff that's only available with SDL 2.0.5, you'd need to add Debian's sid/unstable package repository to your package sources.  Or maybe build SDL 2.0.5 directly from sources.



This is great!  I was able to get a version of NeXTstep running in ubuntu, but had no sound, and the mouse was really NOT nice (this could have to do that I'm using a VirtualBox to run Ubutu.). I'm going to try running it with Raspberry Pi.


Any tips on the sound or getting it working on Rasberry Pi?  like what OS, should I load onto NOOBS?
NeXTStation Mono Turbo

berskyboy

I did get it running on the Raspberry 3, but it runs toooo slow, so I'll return the and try it with a 4.  The more I use NeXTStep the more I find how BRILLIANT an OS it was/is.

NeXTStation Mono Turbo

itomato

A few years back, I dove into building Previous 1.5 as part of an embedded Linux image for Raspberry Pi.

Despite tweaks and a platform-specific kernel, it was painfully slow.

I did the same packaging with Raspbian.

Binaries: http://redwood.juddy.org/redwood.rpi2/

Sources: https://github.com/itomato/redwood
-itomato