If you read most Raspberry Pi emulator tutorials, they usually concentrate on running other applications within Raspberry Pi. How about the other way round?
How to build a Raspberry Pi retrogaming emulation console
How about setting up a Raspberry Pi emulator in Windows? It is possible and it works quite well.
Why anyone would want to try to get Android or Windows 10 running on the limited hardware of a Raspberry Pi I do not know. Personally, I would much rather use a more powerful computer to run a more basic operating system rather than the other way around. There are two ways to set up a Raspberry Pi emulator in Windows. You can use the ready-made Microsoft Azure platform or set one up yourself with VirtualBox. Microsoft Azure has a downloadable Raspberry Pi emulator and also a neat client simulator online.
These two are easy ways to experiment with Raspberry Pi without buying the hardware. It is also a useful way to simulate your code purely in software before installing it onto hardware. This is a very simple way to play with Raspberry Pi. It works with most architecture types and most versions of Windows 10 so you should be fine. VirtualBox is free too. You need to make sure you download the correct version of VirtualBox for your computer but the rest is easy. It will ask to install some drivers, which are necessary so agree to the install and you should be up and running in a couple of minutes.
VirtualBox may take a few seconds to create the virtual machine. Once complete, it should appear in the left pane of the main VirtualBox window. You should now see the Raspberry Pi Desktop. We have almost completed the installation and have just a couple of configuration changes to make.
You now have a fully functional Raspberry Pi Desktop running on Windows.As the Raspberry Pi started to ship the Sinclair ZX Spectrum turned 30 years old, and comparisons were being made between the two and their role in providing access to affordable computer hardware.
Given the phenomenal advances in computing since the birth of the ZX Spectrum, I thought it might be fun to compare the Raspberry Pi with a computer that was closer to the state of the art at around that time, and to see if the Raspberry Pi could fill its shoes Introduced not long after the ZX Spectrum, the IBM processor was the workhorse of mainframe computer installations that could fill a data centre and support many thousands of users. Managing to do this with what may now seem to us like trivial resources:.
Actually, this comparison is more than a little unfair, in that metrics such as MIPS ratings are not that useful when comparing dissimilar architectures. But still, this does serve as a powerful indication of fundamental technological progress that has been made.
Well, it turns out that just as it's possible to use a Pi to emulate a ZX Spectrumone can be used to emulate a somewhat larger mainframe computer. This has been made possible by a piece of open source software called Herculesand next we'll cover the experience of running this under Debian Linux on a Raspberry Pi. First we install the hercules package from the Debian repository, and then create a configuration file which tells it to emulate a model machine with 16MB RAM and terminals and storage etc.
Hercules is then executed from the command line, and we run up an IBM terminal emulator from another machine on the network, providing it with the IP address of our Raspberry Pi and the port number specified in the Hercules configuration. A computer without software wouldn't be much use, and so Hercules was configured with virtual disk drives containing a very old public domain release of a mainframe operating system that still finds much use today, VM.
As the name suggests this provides virtual machines mainframes! With VM reporting that it has 16MB of memory available, of which K is being used for the operating system nucleus kernel.
After a short period of time start-up completes and VM provides the status of attached card punches and printers. Which are, of course, virtual and represented by files under the Linux filesystem. If we go back to the Hercules instance running on the Raspberry Pi we can hit ESC to toggle the view to a screen which displays a virtual hardware console. With register contents displayed in the left-hand side of the screen, and details of the peripherals on the right-hand side.
So, a Raspberry Pi can be used to emulate a mainframe which would have filled a large computer room, and to run the same software which it would have run. Of course, the only reason you would do this is for fun, learning or perhaps as part of computer conservation efforts, e. A modern mainframe would massively outperform a Raspberry Pi and offer many benefits beyond simple processing power.
Having configured a mainframe on a Raspberry Pi, it was time to try out a Raspberry Pi on a mainframe!
The image below shows the Pi sat on top centre of the CPU from an IBMwhich was recovered from a scrapped processor cabinet many years ago. The 21 blue modules are ZIF socketed ceramic IC packages with heatsinks, and apparently each contain a 6x6 array of chips that each dissipate up to 3. The whole assembly is analogous to the processor chip in a modern PC and was located inside a cabinet roughly the size of a wardrobe, along with a PSU, powerful fan supplying forced air cooling and support electronics.
The cabinet being just one of many in a mainframe installation, with others containing things such as disk drives and communications controllers. Now that would be something. It's funny you should ask about interfacing a real IBM terminal, as I've long wanted to do this and I believe it is possible using a controller, which can be picked up on eBay for not that much.
However, you'd need to check as to which one to use, although in terms of media interfaces it would obviously need to have twinax I imagine they all have this and 10BaseT or similar. I actually picked up two s for this reason, but I'm not certain they are the correct version and haven't looked into boot floppies yet.Wikipedia Mainframe Computer page defines Mainframe as following:.Meet the Mainframe - Meet My Mainframe
They are larger and have more processing power than some other classes of computers: minicomputers, servers, workstations, and personal computers.
As usual, I suggest adding from now to your favourite ecommerce shopping chart all needed hardware, so that at the end you will be able to evaluate overall costs and decide if continuing with the project or removing them from shopping chart. So, hardware will be only:. This guide will use an amazing MVS package available from wotho. From Raspberry PI type the following commands:. This launches an unattended startup.
At the end of load procedure, you will see the following screen:. Before all, a few description of main parts in Terminal Emulator. It is composed by 3 main parts:. Emulation screen usually gives in top section an Option filed where to select desired option to execute Return to execute in some terminal emulators, or CTRL in some other terminal emulator. Options are listed in following section, each line reporting option number and related action.
Function keys F1 to F12 have an important role in terminal, because each one is a shortcut to a specific function. For example, the most common and most used is F3, to go back in previous screen. A data set or dataset refer to Wikipedia for Data set description is a file with a record organization. It can be associated to a mix of more common Windows directories and files or Linux folders and files. To create the first dataset which will be a simple text datasetfrom TSO home page with option 2 select the RPF productivity tool.
All other parameters can be left with default values:. Now select option 1 to allocate the space the dataset. The terminal confirms that dataset have been allocated:. In a new environment, it will show the only one datased allocated:.
Now, the most common actions with a dataset are browse to view their contentedit to modify their content or delete to delete the entire dataset. An empty editor screen will appear. Select option 1 and press Return. Terminal will go back in dataset list, also confirming that your dataset have been edited:. This will start shutdown procedure.Go ahead, laugh at and learn from our mistakes.
Their ideal was inexpensive, easy to control with a gamepad, and capable of hooking into a TV set. Thanks to the Raspberry Pi 3 hobbyist platform and the RetroPie software distribution, that dream is finally possible.
All you need to do is buy a handful of components, put them together, and configure some software. To make this process easy, retrogaming enthusiasts have combined all the software programs we need into a free software package called RetroPie.
RetroPie includes among other programs a Linux operating system, a large suite of game system emulators, and an interface that makes it easy to use. It simulates the original console circuitry in software. Since most computers lack a slot to read data from old video game cartridges, hobbyists have copied video game data into software files called ROM images. A front-end interface is a program that displays a graphical menu that lists available games on the system, lets the user select the game of their choosing with a game controller, and then run the game on the appropriate emulator automatically.
In this case, the front-end program included in RetroPie is called EmulationStation. RetroPie supports many more platforms with varying levels of compatibility and user experience. You can find a full list of supported systems on the official RetroPie Wiki. The other, standalone emulators included with the RetroPie package produce mixed results that can be frustrating to configure.
Below is a rough breakdown of the cost of a RetroPie system as of April These prices come from Amazon. The actual cost of this system depends on how much gear you bring with you. But if you want to branch out, see our roundup of the best Raspberry Pi cases.
Regarding power, even though the Raspberry Pi 3 is powered through a micro USB port, it requires a 2. That much current is not supplied by most computer USB ports or adapters, so I consider it necessary to buy a special adapter for this purpose, and Amazon sells a good one from CanaKit. This SD card will hold the operating system, emulators, and game files. A bigger card means more room for games. If not, here are some good candidates:. If you want to go wireless, the Rii Mini is a very nice pocket-sized keyboard that can make changing system settings easy from a living room couch if you need to do so in the future.
The Pi 3 has Bluetooth built in, so wireless controllers are a good option, although they are tougher to set up. A versatile option is the 8Bitdo N30, a wireless Bluetooth controller with NES-stylings, dual analog sticks, and four shoulder buttons.
See our reviews of both the N30 and N30 Pro models to learn more. Alternately, the DualShock 4 works wonderfully for retro games because it has a very good D-pad, is wireless, and is comfortable to hold. With its analog sticks, it also can do double duty for more modern consoles such as the Nintendo 64 and the PlayStation.
This is the least expensive complete option, with just 16GB of SD card storage, a cheap USB keyboard which you will technically only need during setupand a lower-cost, but still good, wired USB game controller.
Again, prices are based on Amazon listings as of April If you have a little more money to spend, try this build that I use for a more comfortable setup:.
With a 64GB SD card 32GB is fine as wellyou have room for many more game ROMs especially newer games that take up much more spaceand with a wireless DualShock 4 and a miniature wireless keyboard, you have a complete wireless living room experience. Not too shabby. To get RetroPie, visit the official RetroPie download page.
Put this file somewhere you can easily find it, such as on your desktop. This file is a disk image that contains all the software including OS, emulators, etc. In a moment, we will be writing it to a microSD card using a special tool. Next we need to download a software tool that will write the RetroPie software disk image to an SD card.Hercules was created by Roger Bowler and is maintained by Jay Maynard. A dedicated crew of programmers is constantly at work implementing new features and fixing bugs.
If the required components are already present and the shortcuts are not needed on the target system, the self-extracting or. The required component for this build is the x86 version of the C runtime at level 8. Mac OS X: hercules Hercules is a marvelous tool.
My thanks to you all for a job very well done. Just seeing the IBM message prefixes, and responding to console messages again was a wonderful bit of nostalgia!
You won't believe what I felt when I saw the prompt. Congratulations, this is a terrific software. I really have not had such a fascinating and interesting time on my PC lately. Hercules is a fine piece of software! He had gotten all the information about how to do this from the Internet. When he complained about MVS console configuration and figuring out how to get it to work with VM, I knew he had felt all the pain he ever needed to feel about mainframes. The Hercules emulator is an amazing feat of engineering.
I just wanted to send my compliments to the team for an excellent job! Thanks much for making this product part of the open-source community! It does bring back some good memories.
My compliments go to the Hercules team. Thank you. To say that I am blown away is an understatement. I have a mainframe on my notebook!!!!!! Then suddenly, all mention of Hercules was mysteriously removed from the online edition of the book! Please note that this will get you the current development version of Hercules, which is not release quality and thus might not even work since it's still under development. If you want the current, stable, release version of Hercules i.
CVS included with the source for additional and updated instructions for building the development version. Bug reports together with your diagnosis of the fault, please may be sent to me, Jay Maynardat jmaynard conmicro. Other product names mentioned here are trademarks of other companies.These procedures using legacy tools GNU Autotools or makefile.
If you have not tried building Hercules using CMake, please do so. If you experienced difficulties using CMake to build Hercules, please create a github issue. If you have not used CMake to build Hercules, please do before using this legacy process. Note: By downloading this file you agree to the terms of the Q Public Licence.
Most projects that are built from source do so from the official distribution tarball which comes with its own pre-built. When you are building Hercules directly from the repository source code however, you will need to create or recreate it yourself. Also note you will need to re-run autogen. This means if you do a "git pull" to update your source with changes that were recently made to the repository, you may need to recreate your configure script again if either configure. Thus the safest course of action is to always run autogen.
By default, the configure script will attempt to guess appropriate compiler optimization flags for your system. For additional configuration options, run:.
Hercules Version 4. Download the source code. ZIP file from Github. Use these commands to unzip the distribution file: unzip hyperion-master. Build the executables: make make Optional Install the programs: as root: make install Important: You must use at least version 3. Refer to the Hercules Frequently-Asked Questions page for required compiler and other software levels. Navigate to the directory that will become the parent of the Hercules source and build directory.
If you opened an x86 Visual Studio command prompt, you will get a bit Hercules.
The Hercules System/370, ESA/390, and z/Architecture Emulator
Likewise, a bit Hercules will be built when an x64 command prompt is used. Hyperion 4. It includes zip'd Windows binaries and sources to build and install on open-source operating systems. Windows Binaries installation instructions: Install the binaries from the zip archive to the directory of your choice Change the Windows Path statement to include that directory.
Installable binaries are not yet available for UNIX-like systems. We hope to make them available for selected systems in the future.
Technical Support For technical support, please see our Technical Support web page.Forgot your password? By HabilisJune 13, in General Discussion. Well, enough of lifestories. After all, you would read a book, if you wanted a story.
Emulating MVS Mainframe on Raspberry PI
I will Invite some friends to gather feedback about their overall experience playing on the server hosted on RaspberryPi. Your install make me curious a lot because i want to try to install Hercules on a Raspberry Pi 3! And apparently you did it! First, congrats and second, can you explain every step you did to install Hercules on this and if you saw some errors etc I was trully surprised, why some guy strugled so much installing the Emulator on a RaspberryPi, on rAthena forum.
If i use a RPi, it's just for me and some friends for the moment. Thank you for the link too i'll check on this and maybe buy a RPi 3.
You convince me haha! For my RaspberryPi Related blog, will publish a version of it here. Did you run into any issues following the Debian guide?
There were a few syntax problems I ran into. Aside from fixing a few mistakes I made though, my Raspberry Pi 3 is running Hercules. Now to get my client functional on my gaming PC. I'd love to see your guide. I wrote down all the steps I took to build mine, but it's not perfect. One of the things I ran into was having to sudo up for a lot of things, despite the "hercuser" I created having the same permissions as the original "pi" user.
For instance, I had to use it to compile - "sudo. Thanks, I thought it was something to do with how I configured the database itself. I found sql-connection. I think the permission issues came from screwing around with the default pi user before creating the new user. I'll probably rebuild it all once I have a better grasp of how everything is working together. Soon I will write the article on how to setup Hercules on RaspberryPi.
Its also possible on a Raspberry Pi 1. I tried that a year ago Its kinda funny and it runs good, compiling took a while. You can post now and register later. If you have an account, sign in now to post with your account. Restore formatting. Only 75 emoji are allowed. Display as a link instead.