From: Adam L. <ag...@li...> - 2000-03-18 09:32:27
|
On Thu, Mar 16, 2000 at 10:08:35AM +0100, Kasper Verdich Lund wrote: > To > define a filesystem applications upload a function 'owns()' -- written > in a simple assembly-like language Ok the simple 'assembly-like language': A 32-bit virtual machine with 16 general purpose registers. 32-bit 'segment= '=20 selector and 32-bit offset into each segment. The segments are disk blocks = (the owns() might need to read in other disk blocks). The VM can write to a reserved segment (0xffffffff). it puts the block list into here. It has all the boolean op's, ADD, SUB, conditional tests and jum= ps (but can only jump to consant values). The compiler is half-written. An interpreter will be written first but there is no reason why a EPC->i386 Machine Code translator couldn't be written (E= PC-> Exo-kernel PseudoCode) I post when things are finished and then people can destroy it as needed ;) AGL --=20 Smoking is one of the leading causes of statistics. |