Re: linux



Bill Cunningham <spam@xxxxxxxxx> wrote:

Yes I have run several of the software kits. The VAX needs an executable
bios loaded first before the sim will work. The rest of the kits don't seem
to use it. Maybe these architecture from bygone ddidn't use a bios.

Ok, you don't need a bios, but you do need to know the computer and the
processor inside and out. Your own emulation code covers the bootstrapping and
the service calls provided by the bios.

You need to be a wizard at assembly language programming, and familiar with
the machine code instructions and behaviour, because an emulator mimics a
machine at processor instruction level.

Your emulation code needs to cover the processor instructions, the disk
handling, mapping instructions to manipulate the physical disk to your virtual
disk device, a video display handler, keyboard input, system and clock
interrupts, memory mapping, and printer and network services if you are
providing these.

You may want to look at a virtual machine project, and see how it all works.

You also need a good method of debugging, so that when code within the
emulator does not run, you can look at the instructions leading to the crash,
and trace them to parts of your emulator that cannot handle them.

Emulation is a big project. You need lots of existing code, and a good
development system.

You will enjoy doing it though, I am sure.

Good Luck!

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

.



Relevant Pages

  • Re: i686 quirk for AMD Geode
    ... CMOV but I was very rarely hit, so I did not bother extending the ... providing the 486 emulation in their kernel. ... But what I can say is that after emulating those instructions, ... Although it's highly preferable that you only execute programs targetted ...
    (Linux-Kernel)
  • Re: Graphic options for DS10L
    ... I take it the BIOS is made up of binary 8086 architecture code? ... That could be IA-32e instructions, or it could be the decades-old 8086 instructions. ... As Fred indicates in the following, the controller itself will very likely have the minimal instruction set in the firmware, and just needed to get the controller active in VGA mode. ... The EFI byte code and the byte code engine is intended to avoid having x86 instructions in the card, to allow the firmware to be more portable across platforms -- space in the controller firmware storage area is obviously limited, which is why systems not based on x86 presently have a way to process the x86 instructions out on the controller storage. ...
    (comp.os.vms)
  • Re: I need Help. "No Safe Mode" and...? Possibly an opportunity to recover.
    ... "For someone who knows what they're doing, changing the bios to boot from ... but clear instructions are in the MSKB or link I give them ... Also having experienced the boot to windows problem early on as a beginner, ... Anyone can think of dozens of hardware related reasons why someone can't get ...
    (microsoft.public.windowsxp.basics)
  • Re: i8042 access timings
    ... >>SMM emulation lazily synchronizes with the real HW, ... linux USB drivers also do it, only later), the BIOS owns the USB ...
    (Linux-Kernel)
  • Re: 66H and 67H override prefixes.
    ... This permits the use of 16-bit instructions in 32-bit mode (protected ... Somebody has called it "unreal mode". ... to continue using the BIOS for those things the BIOS does (may save having ... PMode operation, it is a good idea to remap the IRQ interrupts and similar, ...
    (alt.lang.asm)