Previous for Raspberry Pi?

NeXT Computer, Inc. -> Emulation / Virtualization

Title: Previous for Raspberry Pi?
Post by: itomato on August 29, 2015, 12:39:52 AM
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.
Title: Previous for Raspberry Pi?
Post by: Noth on August 29, 2015, 07:07:14 PM
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!
Title: Previous for Raspberry Pi?
Post by: pergamon on August 30, 2015, 04:21:01 PM
Whoa, really?  That's crazy and awesome.  I will do this.
Title: Previous for Raspberry Pi?
Post by: jvernet on August 31, 2015, 04:05:35 PM
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...
Title: Previous for Raspberry Pi?
Post by: bobo68 on November 03, 2016, 01:03:10 PM
Has somebody got NeXTstep/Previous to work on a Raspberry Pi? I'd like to run it on a new 3B model.
Title: Previous for Raspberry Pi?
Post by: pitz on November 04, 2016, 12:07:16 PM
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%.
Title: Previous for Raspberry Pi?
Post by: bobo68 on November 04, 2016, 12:23:26 PM
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
Title: Previous for Raspberry Pi?
Post by: bobo68 on November 05, 2016, 08:01:13 AM
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.
Title: Previous for Raspberry Pi?
Post by: eagle on November 05, 2016, 07:56:10 PM
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!
Title: Previous for Raspberry Pi?
Post by: pitz on November 05, 2016, 10:53:52 PM
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.

http%3A%2F%2Fpeterwong.net%2Fimages%2FRPi_Previous.jpg
Title: Previous for Raspberry Pi?
Post by: bobo68 on November 06, 2016, 06:25:40 AM
Ok. Have you tried building SDL so that it directly renders into the frame buffer (no X-Window)? Should be faster.
Title: Re: Previous for Raspberry Pi?
Post by: berskyboy on October 06, 2019, 09:51:07 AM
Quote from: pitz on November 05, 2016, 10:53:52 PMMainly 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.

http%3A%2F%2Fpeterwong.net%2Fimages%2FRPi_Previous.jpg

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?
Title: Re: Previous for Raspberry Pi?
Post by: berskyboy on October 07, 2019, 12:20:25 AM
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.

Title: Re: Previous for Raspberry Pi?
Post by: itomato on October 23, 2019, 05:24:33 PM
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
Title: Re: Previous for Raspberry Pi?
Post by: dimbulb on December 26, 2019, 07:53:49 PM
Was that using X, or was it using SDL2's rpi backend?  That was the next thing I was going to try last time I played with Previous on an rpi, but I was using arch linux at the time.

Might save some cycles.
Title: Re: Previous for Raspberry Pi?
Post by: nuss on December 16, 2020, 01:38:43 PM
FYI: Here you'll find a related thread: http://www.nextcomputers.org/forums/index.php?topic=4469.0
Title: Re: Previous for Raspberry Pi?
Post by: pomosapien on September 10, 2021, 09:54:18 AM
Re: http://www.nextcomputers.org/forums/index.php?topic=4469.0

which is partially about running on the Pi console without X, you'll get image tearing.  I have a fix for that and the result is pretty good. Pi 4, Pi 3B is still too slow.
Title: Re: Previous for Raspberry Pi?
Post by: pomosapien on October 27, 2021, 09:11:42 AM
A build for Pi 4 running 32-bit RaspiOS:

http://next.haleblian.com/emu/Previous-r1077-rpi4-raspios32.tar.gz

and helpful support files:

http://next.haleblian.com/emu/Previous-33-images.tar.gz

You'll need to run in X11, using the console probably won't work.

Go to top  Forum index