Using BOCHS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
pepito

Using BOCHS

Post by pepito »

I know it is possible to use BOCHS to debug NASM code.

Could somebody say me how, or where can I get information about?

Thank you,

pepito
darklife

RE:Using BOCHS

Post by darklife »

Google it? I use bochs all the time. Normally I write my binary directly to floppy using the dd
program in linux. You can load binaries directly into bochs also. Read the docs that comes
with bochs and if you still need help then I'll be here.
pepito

RE:Using BOCHS

Post by pepito »

Maybe I don't make well my question.

I know how use Bochs yet, I use it often. But I like to view the state of the CPU (eax, ebx, ecx, edx, esi, edi, flags, etc.) at some time. Like some integrated development environment let do.

Is this possible with Bochs 2.0?

again, thank you.
OSNewbie

RE:Using BOCHS

Post by OSNewbie »

bochs comes with a debugger, it is a separate file you need to run, bochsdbg.exe i believe, and set that up, and then use the commands like 'c', 's', 'vb', 'info reg', 'dump_cpu' and stuff (check the documentation that comes with bochs for the commands) to view registers and memory and set break points and stuff...

hope that helps
Dima

RE:Using BOCHS

Post by Dima »

>I know how use Bochs yet, I use it often. But I like to view the state of the CPU (eax, ebx, >ecx, edx, esi, edi, flags, etc.) at some time. Like some integrated development environment >let do.
>
>Is this possible with Bochs 2.0?

  Try to find on google so named BFE - it's user interface to the bochs 1.xxx
pepito

RE:Using BOCHS

Post by pepito »

Thank you...
Post Reply