Chatroom
 

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Bad Astronomy and Universe Today Forum > General > Off-Topic Babbling
Register FAQ Members List Calendar Mark Forums Read

   

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 29-July-2008, 05:59 PM
publius's Avatar
publius publius is online now
Senior Member
 
Join Date: Sep 2005
Posts: 4,827
Default Big Iron inside your PC.

I just stumbled across this,

http://www.hercules-390.org/

This is an emulator for the old S/370 (and other) IBM mainframes that runs on a PC under Windows and Linux (may be a Mac version in there as well). Turns out that some of the older IBM mainframe OSes are in the public domain now (I didn't know that at all), so you can have a ball running your own little virtual mainframe. The FAQs go into detail on just what is actually legal to run under Hercules.

It will be as much fun for me to compile and build the sucker from source as it will be to run it. It's been a long time since I messed around with a mainframe system -- goes way to my college days.

The amazing thing is that this PC emulator will be faster than some of the original 70s era hardware. Moore's Law in action.

-Richard
Reply With Quote
  #2 (permalink)  
Old 29-July-2008, 06:05 PM
NEOWatcher's Avatar
NEOWatcher NEOWatcher is offline
Senior Member
 
Join Date: May 2005
Location: the E(e)rie coast
Posts: 7,692
Default

Quote:
Originally Posted by publius View Post
This is an emulator for the old S/370 (and other) IBM mainframes ... this PC emulator will be faster than some of the original 70s era hardware. Moore's Law in action.
Yep; We've got a VMS emulator. As the VAXs are getting un-fixable, we are moving some of our applications to virtual VAXs. They work great.
__________________
Numbers are not case sensitive. (me)
Reply With Quote
  #3 (permalink)  
Old 29-July-2008, 07:22 PM
Swift's Avatar
Swift Swift is offline
Senior Member
 
Join Date: Sep 2003
Location: The beautiful north coast (Ohio)
Posts: 11,898
Default

Can I program them on virtual punchcards and mount virtual tapes? And can I get my output on virtual green and white stripped paper?
__________________
At night the stars put on a show for free (Carole King)

One Earth, One Sky - IYA 2009
Reply With Quote
  #4 (permalink)  
Old 29-July-2008, 07:41 PM
mugaliens's Avatar
mugaliens mugaliens is offline
Senior Member
 
Join Date: Dec 2005
Location: Germany
Posts: 7,937
Default

Wow. My first graphics card was a Hercules. When everyone else was doing eight colors, it could do sixteen! Sixteen colors!

Can you believe it??!!!

Of course, it may not be the same company that did the emulator...

I wish Microsoft had kept backwards compatability with DOS. I used to have close to a hundred little utilities I'd written from scratch. Most of them died with NT 4.0.
__________________
I am Mugs, of the Alien clan of Usa, Nordamerica, a Terran, of Sol. Human.

Whoever says "perception is reality" is daft. It's merely an abstraction, and often not a very good one.
Reply With Quote
  #5 (permalink)  
Old 29-July-2008, 08:21 PM
publius's Avatar
publius publius is online now
Senior Member
 
Join Date: Sep 2005
Posts: 4,827
Default

Quote:
Originally Posted by mugaliens View Post
Wow. My first graphics card was a Hercules. When everyone else was doing eight colors, it could do sixteen! Sixteen colors!

Can you believe it??!!!

Of course, it may not be the same company that did the emulator...

I wish Microsoft had kept backwards compatability with DOS. I used to have close to a hundred little utilities I'd written from scratch. Most of them died with NT 4.0.
Hercules is the name of the emulator, not a company and it's open source and free. The only question is the status of whatever OS and app software you'd run under it.

32-bit XP and Vista still have NTVDM which runs DOS and old Win-16 programs. I still run a lot of DOS programs under it and most of them run fine. The only problem is programs that try to mess around with hardware that NTVDM doesn't virtualize (it virtualizes the display, COM ports, and other common things -- most all DOS programs wrote directly to video memory so it would be worthless if you didn't virtualize that).

The Windows DDK still includes documentation on building NT .VDD drivers (very different from Win9x VxDs) which plug into NTVDM and allow you to trap and virtualize any behavior of your DOS programs you like. Well, it was still documented in the Win2K3 SP1 DDK -- don't know about the latest Vista and Win2K8 kits.

The x64 versions of XP and Vista dropped NTVDM because the x64 CPUs dropped V86 mode under the 32-bit compatibility mode of 64-bit native mode. It's still there in 32-bit mode, just not available when running in full 64-bit mode. IIRC, it would be possible to run 16-bit protected mode programs under that 32-bit compability mode (the 16 vs 32 bit segment selectors still work as normal), but the Win3.x environment depended on DOS being underneath. Without V86 mode, you can't run a virtual DOS underneath.

However, Virtual PC, VMWare and similiar (such as DOS Box) are the solution there, and since it provides a full virtual machine, emulating basic PC hardware, many programs that mess with the hardware in various ways incompatible with NTVDM will run. I run a DOS 6.22 virtual machine with Windows for Workgroups 3.11 on top just for fun under the 64-bit version of Virtual PC under the x64 version of XP.

-Richard
Reply With Quote
  #6 (permalink)  
Old 29-July-2008, 08:26 PM
Celestial Mechanic's Avatar
Celestial Mechanic Celestial Mechanic is offline
Senior Member
 
Join Date: Jun 2002
Location: Milwaukee, WI
Posts: 4,156
Default

Quote:
Originally Posted by mugaliens View Post
[Snip!] I wish Microsoft had kept backwards compatability with DOS. I used to have close to a hundred little utilities I'd written from scratch. Most of them died with NT 4.0.
IBM's OS/2 (now distributed as eComStation by Serenity Systems) has kept its compatibility with DOS all along. I still run a few Windows 92 (er, Windows 3.1) programs with it.

There is also a provision for running DOS from floppy drive A: under OS/2 for particularly fussy programs requiring particular drivers. One interesting use that I made of this feature recently was to run MikeOS 1.0 from a floppy in such a box. MikeOS is a very small and limited real-mode operating system that is small enough to serve as a teaching example.

eComStation is now up to versions 1.2 (current retail) and 2.0-RC5 (soon to be released as the next retail version). A little pricey, but worth it if Microsoft means nothing to you.
__________________
Microsoft is over if you want it.

The bar has been lowered for the promotion of ATM ideas; the bar for the acceptance of ATM ideas must remain high.
Reply With Quote
  #7 (permalink)  
Old 29-July-2008, 08:47 PM
publius's Avatar
publius publius is online now
Senior Member
 
Join Date: Sep 2005
Posts: 4,827
Default

Quote:
Originally Posted by Celestial Mechanic View Post
There is also a provision for running DOS from floppy drive A: under OS/2 for particularly fussy programs requiring particular drivers. One interesting use that I made of this feature recently was to run MikeOS 1.0 from a floppy in such a box. MikeOS is a very small and limited real-mode operating system that is small enough to serve as a teaching example.
Ah yes. OS/2 2.x - 4.x run well under Virtual PC and I have virtual machines set up running Warp 3 and 4. Playing around, I re-discovered the "DOS from Drive A:" option, which loads a real copy of DOS (or as you mention, any compatible 16-bit real mode OS) into a virtual real mode machine which runs under V86 mode and is virtualized at the BIOS level.

So I did that to play around (used MS-DOS 3.3, IIRC), and thought it was funny. I was running a virtual machine under a virtual machine (and you carry that to more levels sometimes).

Unfortunately, OS/2 1.x will not run under Virtual PC (I don't know about VMWare or some of the others). Virtual PC doesn't emulate some of the old 286 "black magic" instructions (some of that was infamously undocumented by Intel, and only the major Intel allowed in the inner circle knew about it) required for it to run. It does real mode and 32-bit mode fine, just doesn't bother with the 286-only level.


-Richard
Reply With Quote
  #8 (permalink)  
Old 29-July-2008, 08:51 PM
JustAFriend JustAFriend is offline
Senior Member
 
Join Date: Sep 2005
Posts: 760
Default

Wow.... I could get out all my old COBOL and assembler programs from my ancient college days..

;-)
Reply With Quote
  #9 (permalink)  
Old 29-July-2008, 09:00 PM
Van Rijn's Avatar
Van Rijn Van Rijn is offline
Senior Member
 
Join Date: Mar 2004
Posts: 10,648
Default

Quote:
Originally Posted by publius View Post
The amazing thing is that this PC emulator will be faster than some of the original 70s era hardware. Moore's Law in action.

-Richard
Yes, I've seen things like that. I still have access to the real thing (modern IBM mainframes), but am happy when I don't need to use it, so I don't think I'll run to try this on a home computer.

Back in '89, I went on a tour of a huge data center. One thing I remember specifically was a room that reminded me of the warehouse scene at the end of Raiders of the Lost Ark. Row upon row of dishwasher sized hard drive units filled the somewhat darkened room. The guide smiled with pride as he told us the capacity of those drives: Two gigabytes each, and with a total of about 300 units, they could store an amazing 600 gigabytes in that room.

Today, I have over 1,400 gigabytes on my home computer.

Where the IBM mainframe excels is dealing with large amounts of data. CPU speed isn't too astonishing, and forget serious graphics, but if you have a lot of data to be accessed by a lot of people, it does a good job.
__________________
I say there is an invisible elf in my backyard. How do you prove that I am wrong?

Disclaimer: Avatar is not an official NASA image and does not imply any specific interplanetary or interstellar capability.

The Leif Ericson Cruiser
Reply With Quote
  #10 (permalink)  
Old 29-July-2008, 09:13 PM
tofu tofu is offline
Senior Member
 
Join Date: Nov 2003
Location: florida, USA
Posts: 2,390
Default

I'm pretty sure that I've got textbooks at home on JCL and CICS. I learned COBOL in college on an IBM mainframe. I'll never forget how the professor (who had been a Kingfisher pilot in WWII) called variables "buckets"

Good times, good times.
Reply With Quote
  #11 (permalink)  
Old 29-July-2008, 09:24 PM
publius's Avatar
publius publius is online now
Senior Member
 
Join Date: Sep 2005
Posts: 4,827
Default

Well, the source code is 11.9MB in ~470 files. The whole thing is written in C (not C++, mind you, plain old C, right up my alley). The specifically avoided dropping down to assembler to keep the thing as cross-platform compatible as possible.

I'm going to have fun turning Intel's highly optimizing compiler loose on this thing.....

Most of my dinky little programs aren't enough for it to get warmed up.


-Richard
Reply With Quote
  #12 (permalink)  
Old 29-July-2008, 11:26 PM
publius's Avatar
publius publius is online now
Senior Member
 
Join Date: Sep 2005
Posts: 4,827
Default

Well, shoot, that wasn't too much fun. The whole thing compiled under VC 2005 in 5:08 minutes (and added another 90MB of binaries). They're Linux/UNIX geeks (of course) so they use makefiles, which means it will take a bit of tweaking to use Intel's compiler. But not much.


-Richard
Reply With Quote
  #13 (permalink)  
Old 30-July-2008, 03:38 AM
Veeger's Avatar
Veeger Veeger is online now
Senior Member
 
Join Date: Dec 2007
Location: Ohio, USA
Posts: 854
Default

Quote:
Originally Posted by NEOWatcher View Post
Yep; We've got a VMS emulator. As the VAXs are getting un-fixable, we are moving some of our applications to virtual VAXs. They work great.
Curious. I assume you mean PC based VAX emulators. If they require windows, it seems a little weird to take one of the more robust operating systems, VMS, and run it under one of the most vulnerable.

Speaking of VMS, I assume the virtual vax machine runs VMS as well. For us, we are replacing our vax machines not due to hardware (which is a problem at times) but more due to VMS being a dead-end. For example we can't upgrade Oracle on the vax machines because the new versions won't run on VMS.
Reply With Quote
  #14 (permalink)  
Old 30-July-2008, 12:58 PM
NEOWatcher's Avatar
NEOWatcher NEOWatcher is offline
Senior Member
 
Join Date: May 2005
Location: the E(e)rie coast
Posts: 7,692
Default

Quote:
Originally Posted by Veeger View Post
Curious. I assume you mean PC based VAX emulators.
Yes... VAX not Alpha.
Quote:
Originally Posted by Veeger View Post
If they require windows, it seems a little weird to take one of the more robust operating systems, VMS, and run it under one of the most vulnerable.
Well; when you have the core software of a billion dollar business running on VAXs, it's kind of hard to move everything to a new platform. Until we are up and running on new software, we are stuck with it for a while.
All our ancillary systems have migrated to other platforms though.

We have a joke around here that when the big bomb hits, the only things that will survive are cockroaches and our VAX systems.
__________________
Numbers are not case sensitive. (me)
Reply With Quote
  #15 (permalink)  
Old 01-August-2008, 11:42 PM
publiusr publiusr is offline
Senior Member
 
Join Date: Feb 2005
Posts: 4,292
Default

I wonder if nano-tube rope memory exists
Reply With Quote
  #16 (permalink)  
Old 02-August-2008, 05:27 AM
mike alexander's Avatar
mike alexander mike alexander is offline
Senior Member
 
Join Date: Jul 2003
Location: McMinnville, Oregon
Posts: 7,087
Default

Quote:
MikeOS is a very small and limited real-mode operating system that is small enough to serve as a teaching example.
I always knew I was good for something.
__________________
The Devil offered me power. I told him I preferred aperture.
Reply With Quote
  #17 (permalink)  
Old 02-August-2008, 09:40 PM
mugaliens's Avatar
mugaliens mugaliens is offline
Senior Member
 
Join Date: Dec 2005
Location: Germany
Posts: 7,937
Default

Quote:
Originally Posted by publius View Post
Hercules is the name of the emulator, not a company

...

I run a DOS 6.22 virtual machine with Windows for Workgroups 3.11 on top just for fun under the 64-bit version of Virtual PC under the x64 version of XP.

-Richard
Wow, Publius! I had no idea you were so well-versed in the inner workings of computers!

I knew that from NT on the DOS was VM'd. In my opinion, 95/98/ME tanked a lot because it tried to be two things at once, rather than being a good platform with an emulator for the earlier programs.

Thanks for refreshing my memory... I never installed the non-volatile stuff!
__________________
I am Mugs, of the Alien clan of Usa, Nordamerica, a Terran, of Sol. Human.

Whoever says "perception is reality" is daft. It's merely an abstraction, and often not a very good one.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
9/11 was an inside job David C Conspiracy Theories 32 15-January-2007 12:59 AM
Tutankhamen's Dagger Blob General Science 2 13-August-2006 04:36 PM
"Cooler" (iron) core of Sun (snowflakeuniverse idea) snowflakeuniverse Against the Mainstream 60 14-July-2006 10:11 AM
Did our sun blow up 5 billion years ago? snowflakeuniverse Against the Mainstream 118 27-September-2005 04:16 AM
Testing Astrophysical conditions on Earth dgruss23 Against the Mainstream 59 14-March-2005 03:32 PM


All times are GMT. The time now is 04:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
©  2006 Bad Astronomy and Universe Today