- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Wattana
-
Content Count
17 -
Joined
-
Last visited
Posts posted by Wattana
-
-
Made this because I wanted to use Makefiles to automate right inside of OpenOS. Thought other people might find it useful, too.
It currently only support macros, targets, dependencies(no file dependency as of yet) and some more basic features, but should be enough for most stuff you'd want to do.
GitHub repo: https://github.com/atirut-w/bake
Demo video: -
-
8 hours ago, Zen1th said:
i didn't understood?
Ok thanks you.
The game crashed with the Index Out Of Bound error
-
3 hours ago, Zen1th said:
Thanks for the reply, some days after asking the question i also found out that no, that's why for absolutely no reason at all i started OCCity to change this.
Ahhhh yes, Index out of bound
-
as far as i know, nope
-
-
15 hours ago, Zen1th said:
Due to how computers, in real life, so also in Lua works, it's logical, the number of bits to store on the number being also finite
Zoidburg once said something similar and blew my sanity lol
-
-
I am looking forward to adding this feature in my OCLinux kernel but I am not sure how to do it.
Just in case you need to take a look at the function that control filesystem components: https://github.com/WattanaGaming/OCLinux/blob/master/boot/kernel/OCLinux.lua#L83
-
I originally create this kernel as a small software to provide basic functions for reading file, control components, etc. so I can create my custom OS.
I decided to make it modular so it would be easy to debug and be like Linux. But I realized it can be used to make any custom OS I(or you)'d like.The kernel currently have few functions along with some useful variables.
The functions include:-
gpuInvoke()
Control the GPU and any attached displays. -
printStatus()/writeStatus()
Low-level print() and io.write(). -
fs()
Low-level filesystem controller. Can control any filesystem specified. -
readFile()
Return the content of the specified file -
execInit() and panic()
You probably know what these two does by now... - Some more
As you can see, it still doesn't have much function but it still get the job done.
Please note that there are two init.lua at different location and that they are not the same.
init.lua at the root directory are the bootloader, think of it as a OC version of GRUB
Another init.lua at /bin/ are the one that the kernel use.Get the kernel here: https://github.com/WattanaGaming/OCLinux
-
gpuInvoke()
-
-
I am making a custom Linux-like kernel named "OCLinux" many functionalities are still missing, such as loading file, etc.
How do I do this?Here is the kernel: https://github.com/WattanaGaming/OCLinux/blob/master/boot/kernel/OCLinux.lua
-
This is the image of my kernel(Loaded up using OpenLoader as init) booting successfully. The print function is the first thing I need to implement so I ripped the status() function and some other important parts from OpenLoader and rename status() to print(). The next thing I need to do is to load init or bash(same concept as Linux kernel) and handle if init or bash exits
-
1 hour ago, SpaceBeeGaming said:
https://ocdoc.cil.li/tutorial:custom_oses Here is some information regarding custom OS.
I already took a look at it but I have to clues how to implement some useful functions like print() or to run another program from init.lua. I am completely clueless
-
Assuming I need to write init.lua first, what should I put in for it to do something useful?
-
But how i can download as Directory???
OETF #1: Cross-Architecture Booting (draft)
in OpenEngineering Task Force
Posted
Hey! I would like to chime in since I am developing a custom OS on an architecture that uses CAB standard. Since some BIOSes, weirdly enough, do not support offset load start and only offer sector load start, wouldn't it be better to put everything into the first sector similar to FAT or MBR?