OSDev.org
https://forum.osdev.org/

GreenteaOS - aims to run .exe files
https://forum.osdev.org/viewtopic.php?f=2&t=36386
Page 4 of 4

Author:  PeyTy [ Sun Jun 21, 2020 2:11 pm ]
Post subject:  Re: GreenteaOS - aims to run .exe files

iProgramInCpp wrote:
VirtualBox, but I could also try it in VMware


One of our community member did tests on VMware. Seems ok. Thanks. Still, test on real hardware would be very useful :roll:

https://t.me/greenteaos_news/87
https://ci.appveyor.com/project/PeyTy/tofita/build/artifacts

Attachment:
photo_2020-06-21_13-09-34.jpg
photo_2020-06-21_13-09-34.jpg [ 107.14 KiB | Viewed 6782 times ]

Author:  PeyTy [ Fri Jun 23, 2023 1:20 pm ]
Post subject:  Re: GreenteaOS - aims to run .exe files

Hello osdevers! I'm still working on this super ambitious project of building a next generation grass-touching operating system.

This time kernel is now fully in the custom programming language Hexa (except for some tiny parts). Hexa improved my productivity by a lot.

I've made some prototypes of .exe support in C++ which I'm still porting to the new kernel (like PEB, etc), but it mostly kind of resembles what you expect from Win32 API (event loop, window handles, ntdll as entry point, PE32 loader). Note that I'm not strictly following the Windows architecture here, and seems like this will not cause compatibility problems.

GUI was really improved so there is finally something to play with (and a buggy clock, of course).

Next step is to heavily invest into Ghidra reversing and fill the PEB gaps to support MSVC CRT properly, and play some Crysis or maybe even Minesweeper.

Everyone is welcome to participate! VSHexa extension will be updated ASAP for your convenience.

I also made a video https://www.youtube.com/watch?v=dpUHIY0q2tw

Screenshot in full resolution can be found here
Attachment:
shot128.jpg
shot128.jpg [ 126.75 KiB | Viewed 5408 times ]

Author:  azblue [ Fri Jun 30, 2023 10:02 am ]
Post subject:  Re: GreenteaOS - aims to run .exe files

PeyTy wrote:
Hello osdevers! I'm still working on this super ambitious project of building a next generation grass-touching operating system.

This time kernel is now fully in the custom programming language Hexa (except for some tiny parts). Hexa improved my productivity by a lot.


Where can I read more about Hexa?

Author:  PeyTy [ Tue Jul 04, 2023 2:50 pm ]
Post subject:  Re: GreenteaOS - aims to run .exe files

Sure! Here is github https://github.com/hexalang/hexa
And some info on native interop https://hexalang.github.io/book/c-n-ting-your-code ooh I should add some info on inverted memory model (compared to C)
You may want to join chats http://discord.gg/SsAWf9M and https://t.me/hexalang
I've recently updated the vscode extension and there is a lot of room for improvements.

Syntax is a simple mix of TypeScript and Swift, with some Go-lang bits:

Code:
let viewers [Viewer] = []
class Viewer {
   var window OverlappedWindow
   var picture Bitmap32

   new (file String, displayName String) {
   ...

Page 4 of 4 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/