Emulation by Gerald Fitton
Total Page:16
File Type:pdf, Size:1020Kb
Emulation by Gerald Fitton Lust, thro’ some certain strainers well refin’d, Is gentle love, and charms all womankind: Envy, to which th’ ignoble mind’s a slave, Is emulation in the learn’d or brave: Nor virtue, male or female, can we name, But what will grow on pride, or grow on shame. Alexander Pope (1688 - 1744) An Essay on Man: Epistle II (1733) Alexander Pope Alexander Pope was an 18th-century English poet, best known for his satirical verse and for his translation of Homer. In his Essay on Man he suggests that, rather than feel envious of someone else’s superior abilities or their situation, we should regard them as an example to be emulated. Through emulation rather than envy there are times when the pupil overtakes their master to become better than the person whom, initially, they were seeking to emulate. Is this what has happened to RISC OS? Building a Computer I am sure that, like me, many of you will have built a Windows Desktop computer from parts. I have a vague recollection of reading a series of articles in Archive describing how to do it. The components are: a tower, usually complete with power supply and control buttons; a motherboard usually complete with a CPU, heatsink, fan, ports for ethernet, mouse, keyboard and USB connections; 2 or 4 strips of RAM which are plugged into the motherboard; often, but not always, there is a separate graphics card and, less often these days, a separate sound card; the component list is completed with a DVD writer, one or more hard drives and, rarely these days, a floppy disc drive. I have lost track of the number of Windows Desktop machines I have built from components but it must be about a dozen starting sometime around 1995. What happens in my case is that I build a new one, sometimes just for fun but more usually because I want to know how the latest ‘kit’ (hardware) works; my current machine then gets relegated to being my backup machine and my backup machine (sometimes in modified form) nearly always is given to one of my four grandchildren. Eventually, the grandchild’s machine become irreparable or too out of date for the purposes for which they want to use it; then I salvage useful parts such as the hard drive or DVD writer and use them as spare parts for friends and neighbours who either want to expand their machine (e.g. an extra hard drive) or need a ‘swop out’ to discover a faulty component. In addition to my Windows Desktop machinery I have a genuine RiscPC which must be getting on for 20 years old but still working well. I think it was in 1996 that I upgraded it to a StrongArm machine. Since then I have replaced a few parts (e.g. hard drive) in order to keep it alive, but gradually, since about 2002, my use of this reliable piece of hardware has reduced until now it is more than a year since I switched it on! RISC OS Emulators So what is it that have I used since 2002 to run my favourite pieces of RISC OS software such as PipeDream, Fireworkz, etc? Well, the answer to that question for the ‘noughties’ is that I installed a Red Squirrel Emulator on my Windows Desktop machinery. Currently I have 3 different ‘in use’ RISC OS Emulators on my Windows 8 machine and, in my next few articles, I shall tell you something about each of them. The 3 StrongArm emulators which I have are Red Squirrel (installed 2002), RPCEmu and VirtualRPC-SA. The Operating System for all of them is RISC OS 4.02. Also I have a copy of VA5000. Building a RISC OS Computer Just as it is possible to build a hardware Desktop machine from component parts, so it is possible to built a RISC OS Emulator from its components parts. Building a RISC OS emulator is just as much fun as building a Windows desktop but it is considerably cheaper! At most it will cost you £5 to build a D-I-Y RISC OS 4.02 Emulator which runs on a Windows machine. The cost of a RISC OS 3.70 Emulator is zero! Whilst there used to be a considerable financial advantage in building a Windows Desktop machine rather than buying a ready built one, today that is not true. Nowadays the principal advantage of building it yourself is that you know of what it consists so that, if something dies, then the chances are that you can repair it much more cost effectively than if you were to take it to a computer specialist to get it fixed. Furthermore, if you want to improve its performance then you can buy, for example, a higher specification graphics card and thus process your latest video much more quickly. There are similar advantages to building a RISC OS Emulator yourself rather than buying a ready made one. For example, I keep more than one fully working copy of my emulators on my machine so that, if I do something stupid and break it then I can restore the broken emulator from my backup. Having built it I know which files to restore from the backup. The three principal components of a RISC OS emulator are: the machine emulation, the operating system ROMs and what I shall call the Boot Resources. Of course, in addition to these three components you do need Application software such as !SparkPlug, !Paint, !Edit, !PipeDream, !Impression, !Ovation Pro, etc. The set of operating system ROMs I have in all three of my working emulators is RISC OS 4.02 and my Boot Resources software is pretty much the same in all three. Only the hardware emulation is different. Red Squirrel This month I shall concentrate on Red Squirrel partly because that is the hardware emulator which I have used for the longest time and about which I know the most. The software for the Red Squirrel hardware emulator was developed by Graeme Barnes as a machine emulator for many Arm based platforms including the ArmLinux, NetBSD, RiscIX, etc. It is the precursor of all the Virtual Acorn emulators from the Virtual A5000 (introduced in 2002 and discontinued in 2004), to the still supported VirtualRPC series. If you have a VirtualRPC and you want another emulator then, because of the similarity of the user interface between Red Squirrel and VirtualRPC, you may find that the Red Squirrel emulator will suit you best. Perhaps you have a second Windows machine on which you want to run RISC OS but you don’t think you can justify the cost of buying a second copy of VirtualRPC. In this case I suggest that building a Red Squirrel emulator is something that you might enjoy and from which you will ultimately benefit. To my surprise I found that the Red Squirrel website still exists but in a form frozen on the 17th January 2004. You will find it at: http://www.redsquirrel.fsnet.co.uk/redsquirrel.html. The reply to Question 23 of the Frequently Asked Questions (click on the calculator icon on the right hand side of the task bar of the Red Squirrel website) includes a promise by Graeme that, “Whatever happens there will always be a freeware version of Red Squirrel for personal use”. The version which I run is the most recent version; it is Version 0.6, last updated on the 28th October 2002; Graeme has fulfilled his promise that it will always be available. ROMs and Boot Resources The ROM images and the Boot Resources can be found on the website which you’ll find at: http://www.4corn.co.uk. These are available free of charge. Resources On your Windows machine, somewhere within My Documents create a New Folder and call it ‘RedSquirrel’. Inside ‘RedSquirrel’ create a New Folder and call it ‘Resources’. Go to the Red Squirrel website http://www.redsquirrel.fsnet.co.uk/redsquirrel.html and click on the ‘downloads’ icon. This ‘downloads’ icon is the floppy disc icon on the left hand side of the icon bar. Alternatively click on ‘downloads’ which you’ll find alongside the date 28/10/2002. You will be redirected to a page from which you can download version 0.6 (the last available free version) by clicking on the link ‘RedSquirrel0.6.zip’. Save this zip archive within your ‘Resources’ folder. Go to: http://www.4corn.co.uk/cgi/download.php?sFName=/roms/riscos3_70.zip where you will find that you can download the set of 4 RISC OS 3.70 ROMs contained within a zip archive called ‘riscos3_70.zip’. Save this zip archive within ‘Resources’. Finally, http://www.4corn.co.uk/_archive/acornftp/riscos/releases/UniBoot/uniboot.zip is where you will find the Boot Resources that you will need. Save the zip archive called ‘uniboot.zip’ in your ‘Resources’ folder. Then, for reasons which will become clear later, rename this as ‘unibootR.zip’. In case you are wondering, the ‘R’ stands for RISC OS; later I shall refer to a zip archive called ‘unibootW.zip’ in which the ‘W’ stands for Windows. I wish to distinguish between ‘unibootR.zip’ and ‘unibootW.zip’. Hardware Emulator From within your RedSquirrel folder create another New Folder and call it ‘TestBuild-01’. This will contain your first attempt to build yourself a RISC OS 3.70 Emulator. Stay in the Windows environment, unzip ‘RedSquirrel0.6.zip’ to reveal a sub folder called ‘RedSquirrel Release’. Open ‘RedSquirrel Release’ and save the contents within your ‘TestBuild-01’ folder.