Hi All;
Hopefully, one can now both read and write 8, 16, and 32-bit quantities from
Java using read8, write8, and their sibling routines in class
jos.system.machine. Using these methods, I managed to write blinking-attribute
text to the VGA framebuffer from init.java.
Files touched include: interp.cc (where the built-ins get defined) and
machine.java (which declares the routines from the Java side). I also made a
cosmetic change to class_loader.h/cc (making a member var "protected") which
necessitated a change to d_main.cc.
As I said before on this list, we should probably start using the much more
comprehensive IBM "JavaOS for Business" APIs, which solve this particular
problem in a much prettier, more systematic, and much more labor-intensive way
(for me, anyways).
As usual, if there are any problems with the sources as I have just committed
them to CVS, please be so kind as to let me know.
-jm
--
==== John Morrison ==== MaK Technologies, Inc.
==== Chief Technology Officer ==== 185 Alewife Brook Pkwy, Cambridge, MA 02138
==== [EMAIL PROTECTED] ==== http://www.mak.com/welcome.html
==== vox:617-876-8085 x115 ==== fax:617-876-9208
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel