Debugging with 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.
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Debugging with Bochs

Post by stlw »

Even wrote:
stlw wrote:It works for also with

Code: Select all

romimage: file=$BXSHARE/BIOS-bochs-legacy
Hmmm... Yeap, it works. Thanks.
But why it doesn't work with "address=0xf0000" string like in an example in documentation? Bug?
Might be documentation bug.
For 512K example it requires to put address like:

Code: Select all

#romimage: file=mybios.bin, address=0xfff80000 # 512k at memory top
Might be the same address format is needed for other sizes as well.
I.e. I would try smth like address=0xffff0000 ...

Actually it also writes it in the log file after you run Bochs (for legacy BIOS):

Code: Select all

00000000000i[MEM0 ] rom at 0xffff0000/65536 ('bios/BIOS-bochs-legacy')
Post Reply