---------- > From: Todd L. Miller <[EMAIL PROTECTED]> > To: John Morrison <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: monitors in decaf > Date: Sunday, May 30, 1999 12:12 AM > Matt: this is to let you know that the latest stuff in CVS > supports everything but throws (recognizes them and complains) and > instanceof / checkcast, where the function that compares classes to each > other (checkcast()) isn't completely finished yet -- it, by default, will > let casts go through; in general, avoid writing something that depends on > exceptions to work properly. -- That list is, of course, not gaurenteed > to be complete. As you see above, large chunks of the java class library > can behave erratically. > > This might suggest it would be wise, for the time being, NOT to > use the AWT KeyEvent, but clone it / expand jos.system.event.KeyEvent to > do the things the AWT's KeyEvent does. (Most importantly, offer all three > event types, and (unicode) character and keycode information with each > message.) I'm re-working the CVSed Java files "in my own image", so that I can actually do some testing. Also, I've cut-n-paste out the java.awt.KeyEvent into jos.system.event.KeyEvent to make a clone of it. In my view that makes us a bit more stable than depending on a bunch of awt stuff, which has no place in the kernel. > > As you can probably tell from looking at the source, > jos/platform/driver should contain the software that converts from the > hardware (i.e. jos.system.KeyEvent events generated by the > jos.system.keyboard abstraction -- which, perhaps, should be moved to the > driver class?) into the JOS platform (i.e. the virtualized hardware used > to interface w/ the O/S). This particular division also suggests moving > jos.system.interrupts, InterruptHandler, InterruptDispatcher, machine, and > keyboard to jos.platform, leaving console and consoled in jos.system, but > I'm not picky and I'm pretty sure the tree doesn't match what's posted as > the 'standard' on the WikiWeb anyway. Once we get the scancode->character > stuff working, it might be worthwhile to move things around. I'll try that out in my mucking around. -Matt _______________________________________________ Kernel maillist - [EMAIL PROTECTED] http://jos.org/mailman/listinfo/kernel