Detecting RAM in 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
PrzemekG_

Detecting RAM in Bochs

Post by PrzemekG_ »

Bochs have a small problem with mem size detection. int15 C7 doesn't work, CMOS always return 32MB eaven if in config file I gave him 16MB.

Do you know how to make the proper call to get the size of ram??

Oh, and the time in CMOS goes a little fast for me, 1 min, takes 20 seconds on my PC with bochs.
neil

RE:Detecting RAM in Bochs

Post by neil »

Read some others threads in this board (eg. direct memory probing).
I think, you may use the CLOCK field in the .bochsrc configuration file:
Maybe:
clock: sync=realtime, time0=local
ltos

RE:Detecting RAM in Bochs

Post by ltos »

I think Bochs has a minimum RAM size of 32MB

p.s. enabling the PIT in your .bochsrc should help with the time problem
Post Reply