From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10805142348v50e40761td44098be91d54bdf@mail.gmail.com> Date: Wed, 14 May 2008 23:48:25 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <1327d98d45151d8fe78cc4ffe34d9317@quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080513234023.GA4195@oenone.smgl.fr.eu.org> <1327d98d45151d8fe78cc4ffe34d9317@quanstro.net> Subject: Re: [9fans] running in AMDs simnow Topicbox-Message-UUID: a8b70c76-ead3-11e9-9d60-3106f5b1d025 I love it. 9load is dying in real mode on: 1000:012C B80800 mov ax,0008 1000:012F 8ED8 mov ds,ax ^^^^^^^^^^^^^^^^^^^ takes a triple fault, which is interesting, as vm is not on. But this is kind of intriguing because that's not how I recall setting up the ds etc. when I've done it. So I looked at how we did it long ago in coreboot (a.k.a. LinuxBIOS). And we don't do this at all. We set up cs, jump to protected mode, then set up ds etc. But 9load works. On real hardware. Just not on the sim ... well, I moved the ds set past the 32-bit mode point and it's back to not reading all of disk again. off to bed. ron