Ghost Kernel

Terminal upgraded for GUI mode (Canvas fixed) 2016/08/19, 20:27:34

After debugging for many hours, I finally got the canvas implementation to work nicely. It is now possible to perform drawing on a free canvas from any application. This is implemented using shared memory between applications and the window server.

The new canvas implementation finally allowed me to add a GUI mode for the terminal!

Here's a little video of it in action. It's still a bit laggy though :o)

Comments

Write a comment...
  • Marco Cicognani 2016/11/21, 20:08:40

    Bello Max, i have a question for you...why vesa driver Can apply only 4:3 resolution?

    Thanks for the answer

    • Max 2016/11/24, 16:35:26

      Hello Marco,

      the VESA driver can only choose one of the available video modes. It chooses from the list of VBE video modes that the BIOS interface returns and selects the one that is closest to the configuration.

      Greets!

  • Hamidreza 2016/10/20, 08:23:30

    hi

    how do I open terminal at GUI ?

    I can only open a calculator to GUI

    Thank....

    • Hamidreza 2016/10/24, 14:35:27

      I do enter command "launch /system/launch/launch-ui"

    • Max 2016/11/02, 13:41:52

      Hello Hamidreza! In the current demo you can't start the terminal from the UI unfortunately. You would have to write your own script and put it on the ramdisk. A newer version will contain a script to let you do this though!

  • Marco Cicognani 2016/08/26, 13:11:10

    you are the best Max!! When you upload Canvas implementation?

    • Nicolò Altamura 2016/08/26, 18:43:21

      Hello Marco, I always follow this project on github:

      https://github.com/maxdev1/ghost

      I hope It helps you

    • Max 2016/08/28, 14:58:48

      Hello Marco and Nicolo!

      Aw, thanks a lot for your motivation. :)

      The canvas implementation consists of two, parts. The client side: https://github.com/maxdev1/ghost/blob/master/libuser/src/ghostuser/ui/canvas.cpp

      And the server side: https://github.com/maxdev1/ghost/blob/master/applications/windowserver/src/components/canvas.cpp

      Those two pieces of code work together to create the canvas.

    • Marco Cicognani 2016/08/29, 20:47:08

      I've seen the update, thanks, but the new windowserver don't start, and i've seen in the winsv code that requires new file for cursor from ramdisk...but you haven't updated the sysroot file.

      keep it up Max, you are the best

    • Max 2016/08/31, 23:19:51

      Oh! You're right, sorry for that. I just pushed the sysroot repository with the new files!

      Just curious: are you actually building Ghost on your own computer?

    • Marco Cicognani 2016/09/01, 10:19:46

      Hi Max, thank, i solved

Cancel