HP Forums

Full Version: emulated or virtual?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

A nice finding from an other list I'd like to share with the emulator adicted here:

Does this run on the CPU or on the blades? (Beware; some pedants insist on distinguishing the terms "emulated" and "virtual".)

(Subject was z86VM)


In that case, there is a huge difference between emulation and virtualization.

Emulation is emulation of the entire system including CPU (which z86VM appears to do, emulating an x86 CPU on an ESA/390 ARCHLVL2 CPU), virtualization is emulation of the peripherals but not the CPU (by trapping calls to I/O devices and such, along with some trickery to make privilege levels work right, and emulating that).

Realy? But - I assume you know z/VM or VM/ESA - there I may define virtual CPUs just to test MP systems without having one. And if I have a program that runs the OS of an HP41, is that an emulator?


VM (no matter the version, all the way back to CP-40/CMS) is virtualizing - code directly runs on the native CPU, but I/O is trapped and emulated.

And, yes, programs to run the HP-41 OS are emulators. They're emulating the CPU.

I see, you are one of those who clarly distinct between 'emulated' and 'virtual'. With the time I have adopted an other point of view: My program "emulating" a Nut-CPU (for HP41 and all Voyagers) is just a firmware-interpreter. Even Eric Smith calls his 2nd to none Nonpareil 'a simulation'.


BTW: There are emulators out there, Emu71, Emu42, Emu48, to name just a few. ;)

Emulation vs. simulation is a fuzzier line, although I've occasionally heard simulation being used to describe transistor-level emulation.

(Simulation in that sense is very rare except during development of hardware, although there is a 6502 emulator that is transistor-level: http://visual6502.org/)

As far as I know, Nonpareil definitely isn't doing that, but like I said, the emu vs. sim line is far more blurred, and sometimes simulator is used as a synonym of emulator.

"... and virtual _is_ real."

(Paradigm – George Clinton featuring Prince, on 'How Late Do U Have 2BB4UR Absent?')

Ciao.....Mike ;)