GreenteaOS - aims to run .exe files

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
51 posts
PeyTy
Posts: 19
Joined: Mon Dec 23, 2019 1:38 am

Re: GreenteaOS - aims to run .exe files

Post by PeyTy »

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/t ... /artifacts
PeyTy
Posts: 19
Joined: Mon Dec 23, 2019 1:38 am

Re: GreenteaOS - aims to run .exe files

Post by PeyTy »

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
azblue
Member
Member
Posts: 147
Joined: Sat Feb 27, 2010 8:55 pm

Re: GreenteaOS - aims to run .exe files

Post by azblue »

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?
PeyTy
Posts: 19
Joined: Mon Dec 23, 2019 1:38 am

Re: GreenteaOS - aims to run .exe files

Post by PeyTy »

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: Select all

let viewers [Viewer] = []
class Viewer {
	var window OverlappedWindow
	var picture Bitmap32
	new (file String, displayName String) {
	...
PeyTy
Posts: 19
Joined: Mon Dec 23, 2019 1:38 am

Re: GreenteaOS - aims to run .exe files

Post by PeyTy »

Greentea OS now runs some cool apps! Including the Windows XP's original Minesweeper

Demo: https://www.youtube.com/watch?v=vh-icbJuQgg

I also drafted a manifesto, it has some interesting reads for ya: https://gist.github.com/PeyTy/1f56368d3 ... n-the-vibe

People are confused why Greentea repo has no code, well because the code is currently resides in the Tofita and Caramel repos at https://github.com/GreenteaOS

Sample apps were taken from ReactOS builds (32 and 64 bits, GCC and MSVC). When new apps will replace them, they will go into the Greentea repo.

I'd like to hear what you think!
PeyTy
Posts: 19
Joined: Mon Dec 23, 2019 1:38 am

Re: GreenteaOS - aims to run .exe files

Post by PeyTy »

Try it yourself on VM and HW (some HW fails due to some known UEFI bootloader implementation bugs :roll: ): https://github.com/GreenteaOS/Greentea/ ... /2025.7.29

Image
Post Reply

51 posts

Return to "Announcements, Test Requests, & Job openings"