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).
User avatar
PeyTy
Posts: 17
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
photo_2020-06-21_13-09-34.jpg
User avatar
PeyTy
Posts: 17
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
shot128.jpg
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?
User avatar
PeyTy
Posts: 17
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) {
	...
Post Reply