RaspARI - an ATARI in credit-card format

WinSTon, Nostalgia, MSA Converter, FloImg, Makedisk and all the others.

Moderators: Mug UK, Moderator Team

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

RaspARI - an ATARI in credit-card format

Postby ardi » Thu May 08, 2014 12:32 pm

Hallo,

I have written a new Emulator for the Raspberry Pi.
The development is still in a very early stage but it will run very fast.

Features:
  • m68000 cpu
  • MMU and 4MB Ram
  • a little bit MFP
  • Keyboard ACIA
  • Falcon Videl-Shifter
  • mount HardDisk image
  • rtc

Create HardDisk-Image:
To create an image "mkfs.dos" / "mkfs.vfat" is needed. If not installed, then install it with

Code: Select all

sudo apt-get install dosfstools

Now create the image.

Code: Select all

dd if=/dev/zero of=scsi.img bs=1M count=10
mkdosfs -A scsi.img
mkdir scsi
sudo mount -o loop scsi.img scsi

Now the image "scsi.img" (with 10MB) is created and mountet to "scsi/". To change the size of the HD change "count=...".

Simple copy files to /scsi to fill the image.

Starting RaspARI:before you start RaspARI you mußt unmount the scsi.img

Code: Select all

sudo umount scsi.img

Now start RaspARI

Code: Select all

sudo ./raspari.elf


ardi
You do not have the required permissions to view the files attached to this post.
Last edited by ardi on Sun May 25, 2014 4:40 pm, edited 3 times in total.

wietze
Captain Atari
Captain Atari
Posts: 183
Joined: Fri Mar 01, 2013 10:52 pm

Re: RaspARI - an ATARI in credit-card format

Postby wietze » Thu May 08, 2014 1:27 pm

This sounds nice, if I would want to try this what would the steps be to do this?

Where can I download the raspari.elf ? Does the default raspian have support for elf format files?

Regards

User avatar
troed
Atari God
Atari God
Posts: 1147
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: RaspARI - an ATARI in credit-card format

Postby troed » Thu May 08, 2014 1:44 pm

ardi wrote:The development is still in a very early stage but it will run very fast.

Features:
  • m68000 cpu
  • MMU and 4MB Ram
  • a little bit MFP
  • Keyboard ACIA
  • STE Shifter
  • mount HardDisk image
  • rtc


PLEASE implement GLUE/MMU/SHIFTER properly :D

http://atari-forum.com/wiki/index.php?t ... _Scanlines

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Thu May 08, 2014 7:02 pm

wietze wrote:This sounds nice, if I would want to try this what would the steps be to do this?
Where can I download the raspari.elf ? Does the default raspian have support for elf format files?
Regards


I have a download attached to the first post

troed wrote:PLEASE implement GLUE/MMU/SHIFTER properly :D
http://atari-forum.com/wiki/index.php?t ... _Scanlines

the goal if RaspARI is not a hardware-compatible st.
The goal is a fast emulator for "clean" GEM-App's

ardi

joska
Hardware Guru
Hardware Guru
Posts: 3504
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby joska » Fri May 09, 2014 8:34 am

This is a great idea :) It looks like the emulator runs under Linux - it would be even better if the Pi could boot the emulator directly. Is this realistic? That would make it more of a real computer than an emulator IMO, and also a lot simpler to maintain for the user as you only have to relate to the "Atari" and not an underlying OS.
Jo Even

Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

ctirad
Captain Atari
Captain Atari
Posts: 216
Joined: Sun Jul 15, 2012 9:44 pm

Re: RaspARI - an ATARI in credit-card format

Postby ctirad » Fri May 09, 2014 8:38 am

There are already efforts to port Aranym to ARM platform including JIT 68k compilation. So why to write something similar from scratch?

joska
Hardware Guru
Hardware Guru
Posts: 3504
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby joska » Fri May 09, 2014 8:43 am

ctirad wrote:So why to write something similar from scratch?


Because he can. Seriously.
Jo Even

Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Fri May 09, 2014 8:51 am

ctirad wrote:Because he can. Seriously.

:thumbs:

User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1026
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby MasterOfGizmo » Fri May 09, 2014 10:41 am

joska wrote:This is a great idea :) It looks like the emulator runs under Linux - it would be even better if the Pi could boot the emulator directly. Is this realistic?


Doing a "bare metal" version would require you to implement all drivers etc inside your binary. The only example for something like that which comes to mind is u-boot. You could in theory include 99% of uboot into your own app and boot that instead of uboot. But you'd still miss minor parts like video :D

Imho the only feasible approach is to run it directly on top of the linux kernel by replacing init with your app. This is pretty much how android works. You could then strip the kernel down to the bare minimum. And if you compile the required modules into the kernel you end up with pretty short boot times. You might still miss things like sd card auto mounting etc, but that's not nearly as complicated as running directly on the hardware.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki

Hippy Dave
Atari Super Hero
Atari Super Hero
Posts: 515
Joined: Sat Jan 10, 2009 5:40 am

Re: RaspARI - an ATARI in credit-card format

Postby Hippy Dave » Fri May 09, 2014 7:38 pm

joska wrote:This is a great idea :) It looks like the emulator runs under Linux - it would be even better if the Pi could boot the emulator directly. Is this realistic? That would make it more of a real computer than an emulator IMO, and also a lot simpler to maintain for the user as you only have to relate to the "Atari" and not an underlying OS.

I think of the underlying OS as a JTAG interface that loads the code. The emulator is not very dependent on the OS, it is dependent on the foreign hardware however. One could make an emulator kernel module. AFAIK Hatariod is a library *.so the next step is *.ko . I agree that a realistic Atari computer must have the distractions removed (os applications games etc.) that detract from the Atari ST experience. I also believe that higher emulation quality and access to hardware features are the most important.

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Mon May 19, 2014 10:12 pm

Benchmark
You do not have the required permissions to view the files attached to this post.

User avatar
Omikronman
Atari Super Hero
Atari Super Hero
Posts: 518
Joined: Wed Dec 01, 2004 12:13 am
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby Omikronman » Tue May 20, 2014 8:42 am

Nice project. :) Please keep in mind that GEM has nothing to do with "clean". :wink:

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Sun May 25, 2014 4:22 pm

Hi

RaspARI 0.3 is out.

Now with falcon-videl-shifter (16bit currently not supported).
The build-in EmuTOS-VDI-part is pimped a little bit (see new benchmark)

The download is attached at the first post of this thread.

ardi
You do not have the required permissions to view the files attached to this post.

User avatar
jayminer
Atariator
Atariator
Posts: 21
Joined: Sat May 17, 2014 5:15 pm
Location: Umeå, Sweden

Re: RaspARI - an ATARI in credit-card format

Postby jayminer » Sun May 25, 2014 7:35 pm

Wow!

I love these kind of projects! Gonna try this out on my Raspberry right now!

Are there any plans to emulate more of the Atari hardware in the future? Perhaps make it possible to run games and "hardware-banging" stuff?

*edit*
I should learn to read, just noticed that you said the goal was to be able to run clean GEM-apps, still extremely cool!

User avatar
jayminer
Atariator
Atariator
Posts: 21
Joined: Sat May 17, 2014 5:15 pm
Location: Umeå, Sweden

Re: RaspARI - an ATARI in credit-card format

Postby jayminer » Sun May 25, 2014 8:48 pm

Okay, I just tried this and it felt very fast, but I haven't really tried anything yet except for what you get without a "harddrive" attached. Is there anyway to get the bundled EmuTOS into english?

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Sun May 25, 2014 10:50 pm

jayminer wrote:Okay, I just tried this and it felt very fast, but I haven't really tried anything yet except for what you get without a "harddrive" attached. Is there anyway to get the bundled EmuTOS into english?

try ./raspari.elf -c us
or ./raspari.elf --country=us
see ./raspari.elf --help

ardi

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11787
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby wongck » Mon May 26, 2014 1:07 pm

ardi wrote:Now with falcon-videl-shifter (16bit currently not supported).

Wow, looking good.
So it can do 800 x 600 like using Videl inside ?
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

BlankVector
Captain Atari
Captain Atari
Posts: 389
Joined: Wed Oct 24, 2007 7:52 pm
Location: Paris, France
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby BlankVector » Tue May 27, 2014 12:32 pm

ardi wrote:The build-in EmuTOS-VDI-part is pimped a little bit (see new benchmark)

Very good project.

Important note: EmuTOS is a GPL project. So if you redistribute modified EmuTOS binaries (are they ?) then you must make the modified sources available, too.

BTW, could you please tell us a bit more about EmuTOS usage in the RaspARI project?

User avatar
ardi
Atarian
Atarian
Posts: 7
Joined: Tue Apr 29, 2014 12:54 pm
Location: Germany
Contact:

Re: RaspARI - an ATARI in credit-card format

Postby ardi » Tue May 27, 2014 1:31 pm

BlankVector wrote:
ardi wrote:The build-in EmuTOS-VDI-part is pimped a little bit (see new benchmark)

Very good project.

Important note: EmuTOS is a GPL project. So if you redistribute modified EmuTOS binaries (are they ?) then you must make the modified sources available, too.

BTW, could you please tell us a bit more about EmuTOS usage in the RaspARI project?


RaspARI use a normal EmuTOS only configured with localconf.h
The only changes i have made, i have hooked some VDI-functions to run a native-arm-function to do the same think (but faster) as the hooked m68k-funktion.
RaspARI has currently only a build-in EmuTOS because the Emulator is not perfect and runs only with a small amount of hardware aktivatet in EmuTOS.
A normal full-featured EmuTOS will currently not run.
The emulated m68k cpu currenty don't support Bus- or Adress-Error-Exceptions, important for Hardwaredetection.


ardi

User avatar
Eero Tamminen
Atari God
Atari God
Posts: 1497
Joined: Sun Jul 31, 2011 1:11 pm

Re: RaspARI - an ATARI in credit-card format

Postby Eero Tamminen » Tue May 27, 2014 9:59 pm

BlankVector wrote:Important note: EmuTOS is a GPL project. So if you redistribute modified EmuTOS binaries (are they ?) then you must make the modified sources available, too.


Or if the emulator itself uses EmuTOS code e.g. for the ARM accelerated VDI functionality...

itaboy
Captain Atari
Captain Atari
Posts: 166
Joined: Sun May 04, 2014 6:24 pm

Re: RaspARI - an ATARI in credit-card format

Postby itaboy » Sun Jul 13, 2014 6:45 pm

This project is very promising! I am quite interested. Are there any developments?


Social Media

     

Return to “Other emulators & tools”

Who is online

Users browsing this forum: No registered users and 1 guest