Questions tagged [x86-emulation]

38 questions
0
votes
0 answers

Bare Metal X86 assembly using Qemu

Could you help me understand the bootflow while using Qemu to load bins ? If we consider a simple program like writing ascii to VGA memory, where is bin loaded to when we call qemu-system-i386 -drive 'file=my_image.bin,format=raw' -serial mon:stdio…
RohitMat
  • 145
  • 1
  • 14
0
votes
1 answer

I am getting an error while running android studio ,also my haxm manager is not working

Emulator: emulator:ERROR: x86 emulation currently requires hardware acceleration! Here is the snapshot of haxm manager error
0
votes
1 answer

Does ARM start in 16 bit real mode

A little bg - I just started OS Dev and am developing my own OS in assembly. So as I have learned, x86 processors and others that emulate them(AMD?) start in 16 bit real mode for boot process and then can switch to protected mode to further…
vigilante_stark
  • 159
  • 1
  • 6
0
votes
1 answer

VMWare Workstation and x86 platform

I'm studying virtualization from the Tanenbaum's book ("Modern Operating Systems"). I have clearly in my mind all the basic concept of the virtualization, but i can't understand better how VMWare Workstation works. First, the VMWare Workstation has…
0
votes
1 answer

Can't find definition of compute_all_xxx functions in QEMU repository for i386 target?

I was reading the source code of Qemu and wonder how Qemu emulate eflags for x86 processor, in the target-i386/cc-helper.c file I found that functions like compute_all_addw do the job, I want to know how Qemu implements those functions but I can not…
Elinx
  • 1,196
  • 12
  • 20
0
votes
1 answer

Hook Int 10h cause the Window load fail

I try to write a very simple boot code that hook INT 10 as below: New_int10: Pushf Cli Call [CS:old_Int10] Iret The code work fine for all the cases, however when I try to boot to Window. The system hang. I debug in Bochs and notice the OS try to…
user3567728
  • 105
  • 1
  • 1
  • 7
0
votes
0 answers

Why there is a segmentaion fault in a simple32 bit linux assembly program?

First of all I want to start off by saying that I've read this, this and this question. Yet none of the answers provided on these questions were sufficient/had detailed enough information in order to answer my question. Moreover, they are all 4 - 6…
Elian Kamal
  • 532
  • 7
  • 20
0
votes
1 answer

Assembly, changing characters A-F into the decimal number

I've a problem with my assembly code.I want to convert the user input character between A-F into their respective decimal number. Sample output: Enter a character from A-F: B In decimal it is 11. I can't handle the conversion.please help…
hamxa rajput
  • 1
  • 1
  • 4
1 2
3