PaulDotCom mailing list archives
Re: debug x86 custom OS
From: HaQue <admin () smartwave-wireless com>
Date: Thu, 19 Sep 2013 09:27:49 +1100
Thank you to all the responses so far. I will be looking at Qemu today.The hardware this system runs on is Intel 810e,815, 845 based motherboards only. basically PentiumIII and 4. It is very specifically written to access this hardware directly, with no bloat whatsoever.
This is why emulation and virtualisation is so tricky. Unless I can get the VM/emu to mimick these exact mainboards, Its going to crash.
On 2013-09-18 10:30, Danilo Nascimento wrote:
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 [3] -- Chris Campbell On 17 September 2013 at 19:48:50, HaQue (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 http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom [1] Main Web Site: http://pauldotcom.com [2]-- []'s Danilo Nascimento Links: ------ [1] http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom [2] http://pauldotcom.com [3] http://wiki.osdev.org/VMware _______________________________________________ Pauldotcom mailing list Pauldotcom () mail pauldotcom com http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom Main Web Site: http://pauldotcom.com
-- ----------------------------------------------------------- Is "Gone in 60 Seconds" a movie about Warranty Stickers? _______________________________________________ Pauldotcom mailing list Pauldotcom () mail pauldotcom com http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom Main Web Site: http://pauldotcom.com
Current thread:
- debug x86 custom OS HaQue (Sep 17)
- Re: debug x86 custom OS Chris Campbell (Sep 17)
- Re: debug x86 custom OS Blibbet (Sep 18)
- Re: debug x86 custom OS Conrad Constantine (Sep 18)
- Re: debug x86 custom OS Danilo Nascimento (Sep 18)
- Re: debug x86 custom OS HaQue (Sep 19)
- Re: debug x86 custom OS Jim Halfpenny (Sep 24)
- Re: debug x86 custom OS Chris Campbell (Sep 17)
- <Possible follow-ups>
- Re: debug x86 custom OS Matt Summers (Sep 18)