Added HLT instruction
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1053
This commit is contained in:
parent
94ea572dc1
commit
5794ebcb0e
4 changed files with 10 additions and 2 deletions
|
@ -103,7 +103,7 @@ bool CPU_IRET(bool use32);
|
|||
bool CPU_SetSegGeneral(SegNames seg,Bitu value);
|
||||
|
||||
void CPU_CPUID(void);
|
||||
|
||||
void CPU_HLT(void);
|
||||
|
||||
//Flag Handling
|
||||
Bitu get_CF(void);
|
||||
|
@ -386,6 +386,9 @@ struct CPUBlock {
|
|||
struct {
|
||||
Bitu prefix,entry;
|
||||
} full;
|
||||
struct {
|
||||
Bitu eip,cs;
|
||||
} hlt;
|
||||
};
|
||||
|
||||
extern CPUBlock cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue