Hi all,
I'm happy to announce that I've spent a night to make some patches to JJOS in
order to make jcurses to work, AND NOW I'M ABLE TO DISPLAY THE FIRST JJOS
WINDOW!
As I've made many modification to the code, I don't want update the CVS server
until Todd takes a look to the patches and approves my work.
Everyone who would like to test my work can download the sources from:
"ftp://alpha2.iit.unict.it/pub/JOS/jjos-w-curses.tgz"
This jcurses-enabled version works under grub and etherboot (also the host
build works well even if the window frame is not displayed correctly).
Here are the modifications:
- added setChar,setCursor,etc. to jjconsol.cc (host & i386)
- added console native methods to jvmbuiltins.cc and d_main.cc
- added getCurrentConsole() method to consoled.java
- ..... (some other little patches -- Todd please take a look at the source
code).
I've also found the following bugs in string management (maybe you already know
it):
- concatenation (s = s + "xxxx") generates a segmentation fault;
- method length() returns always zero;
- method charAt() does not work (for this reason, in init.java, I had to print
a message char-by-char).
--
======================================================
Eng. Corrado Santoro - PhD Student
Unversity of Catania - Engineering Faculty
Institute of Computer Science and Telecommunications
Viale A. Doria, 6 - 95125 CATANIA (ITALY)
Tel: +39 095 7382365 Fax: +39 095 7382397
EMail: [EMAIL PROTECTED]
Personal Home Page:
http://www.cdc.unict.it/~csanto
ARCA Mobile Agent Framework Home Page:
http://netra.cdc.unict.it/ARCA
======================================================
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel