Re: Simulator for x486




"Ben Peddell" <spamtrap@xxxxxxxxxx> wrote in message news:g0ucsj$1fa0$1@xxxxxxxxxxxxxxxxxxxxxxx
I am working at a boot loader for a x486 CPU. The CPU starts from Flash in 8086 real mode initializes the GDT, jumps to protected mode and sets up the chip set, DRAM controller etc.

Is there any simulator where I can single step the opcodes out of the flash rom image? Host operating system ist Windows XP, Linux would be possible but harder to set up.


BOCHS <bochs.sourceforge.net>

Ben, thanks for reply. I found in chapter four of the Bochs manual

These are the minimum requirements for running an OS inside of Bochs:


a.. the Bochs executable

b.. the BIOS image (usually called BIOS-bochs-latest)

c.. the VGA BIOS image (e.g. VGABIOS-lgpl-latest or VGABIOS-elpin-2.40)

d.. at least one bootable media, either as disk image (floppy, hard disk or CD-ROM) or physical disk (floppy or CD-ROM)


Unfortunately I only have some bytes that should be fetched from the flash device. Are you sure you can convince Bochs to skip the VGA and the boot media? Can you give a hint?

Best regards,
Helge

.



Relevant Pages

  • Re: PC boot block programming madness
    ... BootSignature DW 0xAA55; boot signature, to make BIOS detect my disk ... VMWare and real world computers won't output any visible text. ... Bochs outputs the text just as I would expect it to be ...
    (comp.lang.asm.x86)
  • bochs and Win2000
    ... I have been playing with bochs since I saw it mentioned here. ... When I would tell the install to ... When I try to reboot to disk after running the CD portion of the setup, ... Do you like to spend all of your free time pissing into the ...
    (alt.os.linux.suse)
  • FreeBSD on Bochs
    ... I'm interesting to build owner Freebsd scratch. ... I want to run this scratch on Bochs. ... 00505152373iSET FEATURES subcommand 0xaa not supported by disk. ...
    (freebsd-questions)
  • FreeBSD on Bochs
    ... I'm interesting to build owner Freebsd scratch. ... I want to run this scratch on Bochs. ... 00505152373iSET FEATURES subcommand 0xaa not supported by disk. ...
    (freebsd-hackers)