News: 1643278391

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Hardware boffin is building a simulation of an entire IBM S/360 Model 50 mainframe

(2022/01/27)


Hardware guru Ken Shirriff is working on a [1]simulator for the IBM S/360 Model 50 mainframe, launched in April 1964. His program runs the original machine's microcode so it can control and be controlled by an original front panel.

Circuitry-wizard Ken has featured on The Reg quite a few times, from [2]reverse-engineering a Sinclair calculator to [3]rendering Mandelbrots on an IBM mainframe . His latest exploit is a microcode-level simulator for a mid-range System/360, [4]one of IBM's most significant machines ever .

This reporter wrote about [5]the importance of the S/360 a decade ago. It's the computer that introduced the idea of software compatibility, as well as the computer on which virtualisation was invented. It not only predates microprocessors, but also the minicomputers that influenced the first microcomputer OSes such as CP/M. 1960s big iron is seriously weird and different – all modern computers, from a Raspberry Pi to a rack full of x86-64 servers, are identical twins compared to these things. Still, even today their descendants manage your bank account and your airline bookings.

[6]

If you want to experiment with IBM S/360 operating systems and software – several of the old ones are freeware now – there is already a FOSS emulator called [7]Hercules . It runs on most things, and there's even a choice of [8]FOSS or [9]commercial GUIs for it. IBM tends to [10]frown upon commercial efforts , although [11]some have survived .

[12]Picking apart the circuits in the ARM1 – the ancestor of your smartphone's brain

[13]Chap mines Bitcoin with PUNCH CARDS and ancient mainframe

[14]Mature mainframe madness prints Mandlebrot fractal in TWELVE MINUTES

[15]Mine Bitcoins with PENCIL and PAPER

IBM sold a whole range of S/360s, from a [16]Model 30 , with about 8K of memory and which with great [17]effort can fit into a single truck, up to a huge Model 91. The big innovation of S/360 is that all models could run the same software. OSes talked to the microcode, which talked to the very different underlying architectures.

The microcode is what Shirriff's simulator runs. Hercules is compatible enough that you can [18]attach a real terminal to it, but Shirriff is emulating the lower-level 85-to-90-bit architecture (it depends how you count) of the Model 50, so that he can run IBM's original microcode… and control it using the original front panel, which has a formidable array of blinkenlights.

[19]

For now, the controls too are simulated in JavaScript, but the plan is ultimately to attach a real IBM operator's console to the emulator. Specifically, the console below. ®

[20]Youtube Video

Get our [21]Tech Resources



[1] https://www.righto.com/2022/01/ibm360model50.html

[2] https://www.theregister.com/2013/09/02/google_chap_reverse_engineers_sinclair_scientific_calculator/

[3] https://www.theregister.com/2015/03/23/got_a_vintage_mainframe_heres_your_very_own_mandelbrot_printing_program/

[4] https://www.theregister.com/2014/04/07/ibm_s_360_50_anniversary/

[5] https://www.theregister.com/2011/07/14/brief_history_of_virtualisation_part_2/

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_onprem/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YfJ7WeEIRnYx67bF@nt@LQAAAJA&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[7] https://sdl-hercules-390.github.io/html/

[8] https://hercstudio.sourceforge.io/

[9] http://www.softdevlabs.com/hercgui.html

[10] https://www.theregister.com/2010/03/26/ibm_turbohercules_response/

[11] https://www.theregister.com/2019/05/16/lzlabs_kills_swisscoms_mainframes/

[12] https://www.theregister.com/2016/02/09/arm1_reverse_engineered/

[13] https://www.theregister.com/2015/05/25/chap_mines_bitcoin_with_punch_cards_and_ancient_mainframe/

[14] https://www.theregister.com/2015/03/23/got_a_vintage_mainframe_heres_your_very_own_mandelbrot_printing_program/

[15] https://www.theregister.com/2014/09/30/mine_bitcoins_with_pencil_and_paper/

[16] http://www.ljw.me.uk/ibm360/

[17] https://ibms360.co.uk/

[18] https://www.rs-online.com/designspark/connecting-a-real-ibm-3270-terminal-to-an-emulated-mainframe-with-oec

[19] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_onprem/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YfJ7WeEIRnYx67bF@nt@LQAAAJA&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[20] https://www.youtube.com/watch?v=WS-WtjwAAO0

[21] https://whitepapers.theregister.com/



Wonderful!

Pen-y-gors

I cut my teeth on a 360/44 at St Andrews in the mid-seventies. Don't suppose there's an Algol-W or Fortran IV compiler available for the simulator?

Re: Wonderful!

Zippy´s Sausage Factory

I share your enthusiasm.... I've never used an IBM S/360 myself but I'm excited enough I want to download Hercules and see what I can make it do. (Spoiler: probably not much, if I'm honest)

Re: Wonderful!

Warm Braw

The [1]Hercules simulator has been around for a while (though it simulates S/370 and later, not S/360). However, since S/370 is a superset of S/360 it will boot both MVT as well as MVS along with a selection of other IBM OSs.

There's a list of available operating systems [2]here and a list of the compilers for MVS, MVT and others [3]here .

[1] http://www.hercules-390.org/

[2] https://www.ibiblio.org/jmaynard/

[3] http://www.jaymoseley.com/hercules/compilers/list_of.htm

Dev Tools?

Roland6

Just need someone to make available the S/360 development toolset; although it wouldn't surprise me if an El Reg reader posts a link to a site where they can be down loaded...

Doctor Syntax

1. It looked a bit unlikely until I saw just who the guru was.

2. About the link to https://ibms360.co.uk/ It's a bit worrying the website hasn't moved for nearly 2 years.

3. The original development of the software for the 360 was the inspiration for TMMM.

TMMM

TheProf

TMMM?

Teenage Mutant ? ?

How much does it cost to entice a dope-smoking UNIX system guru to Dayton?
-- Brian Boyle, UNIX/WORLD's First Annual Salary Survey