PaulDotCom mailing list archives

Re: debug x86 custom OS


From: Danilo Nascimento <danilonc () bugnotfound com>
Date: Tue, 17 Sep 2013 20:30:48 -0300

Did You try to run it on qemu?
Qemu has the -s switch that may do what you want.

Em terça-feira, 17 de setembro de 2013, Chris Campbell escreveu:

If it runs on Intel can you not run it in VMware with debugging turned on?

http://wiki.osdev.org/VMware

--
Chris Campbell

On 17 September 2013 at 19:48:50, HaQue (admin () smartwave-wireless com<javascript:_e({}, 'cvml', 'admin () 
smartwave-wireless com');>)
wrote:

Hi all,

Long time listener, first time caller.

The hint to post here came from Intern Mikes great talk at B-Sides.

I am hoping that someone here can give me some pointers on how to
debug/monitor a custom OS that runs on a standard Intel mainboard.
Basically it boots up and used the hardware directly, the Intel chipset
and integrated video. Doesn't run on DOS, windows or Linux, is not a
Linux or DOS "derivative or clone. It does use hardware interrupts, and
I believe BIOS routines.

Obviously this means custom drivers and executables (which are very
few).

IDA sees the driver files as "MS-DOS SYS-file(perhaps device
driver)[dos.ldw]" and I get some coherent code mentioning interrupts,
such as Strategy_Routine, Interrupt_Routine but nothing to really speak
of.

I Initially thought to hook up to the serial port and monitor with
another PC, similar to what you would do in an embedded system, though
quickly realised that this output of dmesg Is programmed into Linux, and
no such functionality exists in my case.

Short of JTAG on the CPU or video, is there anything anyone could
suggest to figure out the routines?

Is there anything on a standard Intel PC motherboard that can help?

All the embedded hardware hacking I have done doesn't seem to transfer
to this, and though ripping apart the software is kind of helpful to see
the overall picture of how the system works, I don't see how to use the
info to interact with the OS aside from the basic, intended
functionality.

Any tips or links to sites that may help would be great.

Cheers,

HaQue

-----------------------------------------------------------
Is "Gone in 60 Seconds" a movie about Warranty Stickers?
_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com <javascript:_e({}, 'cvml',
'Pauldotcom () mail pauldotcom com');>
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com



-- 
[]'s Danilo Nascimento
_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Current thread: