OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 18, 2024 11:40 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Do you need a full working gui, programs and compiler in it?
PostPosted: Thu Mar 16, 2017 7:00 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
I seen a lot of people who put a good working bootable kernel together that was able to input from keyboard and mouse, give out sound, or to raw access disks - and these people later sadly had to stop with developments, becouse they stuck at creating the gui.

putting a gui together is a very hard and pretty much a different type of work than doing the kernel.
it needs a totally different mind-set than googling x86/arm behaviors to have something to be accessed, it needs a different kind of work that most people cant afford to learn just for a kernel project.

Image

but i have a solution for you:

You can use Dawn operating system as a GUI!

viewtopic.php?f=2&p=272447

Lets combine our forces, and create something great!

1. Dawn operating system runs and works fully on SUBLEQ bytecode that is easy to emulate:
Code:
      unsigned long long * utasitaskezd=(unsigned long long*)&RAM[eip];
      long long A=bswap64(utasitaskezd[0]);
      long long B=bswap64(utasitaskezd[1]);
      long long B_ertek=bswap64(*(unsigned long long*)&RAM[B])-bswap64(*(unsigned long long*)&RAM[A]);
      *(long long*)&RAM[B]=bswap64(B_ertek);
      if(B_ertek<=0){
         eip=bswap64(utasitaskezd[2]);
      }else{
         eip+=24;
      }

Of couse if you want to have decent speed, you will have to do some tricks to do it faster (trying to execute more opcode in a loop, morphing the code to something else, cheating with bswaps, creating jit/dynarec) but its pretty much this, and the dawn operating system alreday runs and boots - WITHOUT even needing to add other hardware emulation!

2. Dawn is a fully working stand-alone operating system, its a complete operating system - this means you dont have to bother about memory management, task management, or file system.

3. Its easy to emulate dawn hardware needs, since dawn not requiring interrupts or DMA, it uses pollings on memory locations to access hardware, you can find all informations in start / help / hardware.txt

4. Dawn license does not ,,infects'' the license of your work in any ways, you can even use it in commercial projects and you can sell your work, it requires NO fee to pay (but of course its highly welcome), and it will display NO ads.

5. Dawn have a handful of programs built-in, ready to run: paint, text editor, sound player, file browser, and some games.

6. Dawn have its own compiler built in inside, that produces subleq binary executables, so you dont need to bother of instruction sets

7. Dawn will eat 180 mbyte of RAM including the binary code of the OS itself, this means it will run well with 256 mbyte RAM (you can carefully cache parts of it to disk if you plan to run it with less than 256 mbytes of RAM)

8. has SMP support up to basically unlimit cores. having all cpu cores emulated is not manditory, but will help dawn gui to be more responsive.

9. keyboard, joystick, mouse, sound, touchscreen, multitouch supported

10. dawn will not touch disks if there is no reason for that (it will not just start to read and write to disk than current os-es like windows or linux).

11. DAWN IS COMPLITELY GRAPHICSIAL - it have control panels for everything.

12. dawn can run on any resolution you specify, but going below 640x480 is not a good idea

13. Feel free to contact me any time, i will guide you and answer your questions.

14. To see how magically easy to handle dawn, just basically execute the cpu cycles with the code i pasted above, and paint the graphics from memory area location 256 mbyte with 1024x512 resolution rgb. IT WILL BOOT AND RUN! (you also need to implement mouse and keyboard however)

do not stop developing your kernel becouse you lack of a gui - you now have one to use.

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
 Post subject: Re: Do you need a full working gui, programs and compiler in
PostPosted: Fri Mar 17, 2017 2:17 am 
Offline
Member
Member

Joined: Wed Oct 26, 2011 12:00 pm
Posts: 202
What you have done is indeed impressive with your OISC - but damn, I would never want to emulate a cpu and run another OS on top of that simply to get a GUI - I'd much rather build it myself and then get stuck if that was to happen.

Why would I build an OS just to run another OS on top of it and almost neglect all I built myself?

_________________
mollenos | gracht (protocol library) | vioarr (window-manager) | bake (package manager)


Top
 Profile  
 
 Post subject: Re: Do you need a full working gui, programs and compiler in
PostPosted: Fri Mar 17, 2017 5:42 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
thanks. not everybody intended to put lot of energy into a gui, this is a very simple solution for them

_________________
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: JackScott and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group