Page 4 of 4

Re: GreenteaOS - aims to run .exe files

Posted: Sun Jun 21, 2020 2:11 pm
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

Re: GreenteaOS - aims to run .exe files

Posted: Fri Jun 23, 2023 1:20 pm
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

Re: GreenteaOS - aims to run .exe files

Posted: Fri Jun 30, 2023 10:02 am
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?

Re: GreenteaOS - aims to run .exe files

Posted: Tue Jul 04, 2023 2:50 pm
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) {
	...