First post, by HappyGuy7
Hi,
I am trying to boot a disk image created using Qemu tools. But this doesn't go beyond the message "Booting from drive C...". Please find the details below :
I am able to mount using the command :
imgmount c j:\downloads\pintos\as.dsk
Following I execute the command :
boot -l c
This starts to boot with the message "Booting from drive C...". There after, the dosbox hangs and does nothing.
I also could figure out the fragment of the DosBox code which tries to boot my disk image :
WriteOut(MSG_Get("PROGRAM_BOOT_BOOT"), drive);
for(i=0;i<512;i++) real_writeb(0, 0x7c00 + i, bootarea.rawdata);
/* revector some dos-allocated interrupts */
real_writed(0,0x01*4,0xf000ff53);
real_writed(0,0x03*4,0xf000ff53);
When I tried to debug this behavior, I guess while performing the disk read/write operations some thing is going wrong. But still, beyond this I am unable to understand the reason for this problem.
In fact, after executing the below assembler instructions the DosBox hangs :
mov sp, 0400 <---- debug boot -l c
mov bx, 0040
mov ah, 4A
int 21
callback 0006 <---- Hangs here....
And here is my DosBox specific details :
* DosBox Version : 0.73
* DosBox Config : Default Config.
* Processor type and speed --- Intel Dual Core - 2.8Ghz
* Amount and type of RAM --- 1GB - DDR2
* Operating system and version --- Windows XP professional, 2002 service pack 1.
* Reproducibility of problem --- always
And I am attaching the snapshots of my problem - Non-debug and debug. Please have a look if it can give a clue about the problem.
Thanks and any help would be of great appreciation 😀
Misc Info : The raw disk image is of a custom OS. This OS takes a maximum of 65MB RAM. This has been successfully tested on VMware and Qemu and on bare hardware as well.