BOCHS BIOS ROM ERROR

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
ashken
Posts: 6
Joined: Tue Aug 03, 2010 2:33 pm

BOCHS BIOS ROM ERROR

Post by ashken »

am using Bochs 2.4.5 and i get the error "ROM: System BIOS must end at 0xfffff" i did subtract the size of the file in bytes from 0xfffff
here is my bochsrc file

Code: Select all

megs: 32
romimage:    file=BIOS-bochs-latest, address=0xdffff
vgaromimage: file=VGABIOS-lgpl-latest 
 
floppya: 1_44=a:, status=inserted  

log:         OSDev.log  
     
User avatar
phredreeck
Member
Member
Posts: 312
Joined: Mon Jun 15, 2009 10:01 am
Location: France

Re: BOCHS BIOS ROM ERROR

Post by phredreeck »

In your bochsrc file, you tell Bochs to load the ROM BIOS at address 0xDFFFF. The ROM BIOS size is 64 Kb, it ends at address 0xEFFFF. That's why you get this error. To fix that, you need to remove the "address=0xDFFFF" setting.
ashken
Posts: 6
Joined: Tue Aug 03, 2010 2:33 pm

Re: BOCHS BIOS ROM ERROR

Post by ashken »

thanks Tommy, it worked :D
Post Reply