Bochs: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Solar (talk | contribs)
→‎Compiling Bochs from Source: --with-acpi and --with-vbe deprecated. --with-x --with-x11 likely not appropriate for Windows.
Line 43: Line 43:
;Bochs wipes out its memory
;Bochs wipes out its memory
:In Bochs, memory is always filled with zero until you (or the BIOS) put something else. On a normal PC, uninitialized memory tends to contain garbage (most often all-ones) or traces of previous executions. Check your pointers, initialize them, print your code on paper if necessary.
:In Bochs, memory is always filled with zero until you (or the BIOS) put something else. On a normal PC, uninitialized memory tends to contain garbage (most often all-ones) or traces of previous executions. Check your pointers, initialize them, print your code on paper if necessary.

;Bochs does not properly emulate CPU cache/TLB
:Although Bochs does have these constructs, they do not work the same as regular CPU cache/TLB and do not change based on which CPU is being emulated. If you're not handling caching or TLB refreshes correctly, behavior may differ in Bochs vs. hardware (ie, it may work on Bochs but not on hardware, or vice versa).


;Bochs floppy has no errors
;Bochs floppy has no errors