Commit Graph

43 Commits

Author SHA1 Message Date
ab563f3db9 Add shell commands wait_for_os_idle, wait_for_window 2023-02-13 23:48:48 +00:00
cbcb3e1ddb Initialize default boot vars from umka_init 2023-02-12 19:02:31 +00:00
905628d96d [umka_shell] Add commands wait_for_idle and csleep 2023-02-12 16:52:01 +00:00
8883b1c5de [umka_os] Add a command console in a separate thread 2023-02-10 22:33:22 +00:00
e71791c0ab Implement vnet_null device
Such device don't need new threads and files but are valid ethernet
devices for the kernel. Convenient for testing.
2023-02-07 04:32:32 +00:00
9d54898197 Use isocline instead of bestline for portability
Something more lightweight is definitely required.
2023-02-05 07:53:19 +00:00
297b58a4d5 Use em_inflate instead of miniz
Move dependencies to deps directory.
2023-02-04 23:42:57 +00:00
ff1db047ff Fix more compiler warnings (gcc and clang) 2023-02-04 21:15:27 +00:00
12442c72a7 Get rid of getopt, use Optparse
Well, I thought I had done this before. P for portability.
2023-02-02 16:25:20 +00:00
987095fdef Fix network, ping works again 2023-02-02 00:59:40 +00:00
be21f83af2 Split vnet driver to generic vnet part, tap and file interfaces
Fix most compilation issues of umka_shell on Windows(R)(TM), not all
of them.
2023-02-01 18:55:20 +00:00
d16177c36d Implement common command buffer for the shell and os 2023-01-31 02:38:48 +00:00
e03ae18548 Support different framebuffer formats, add tests 2023-01-30 06:24:23 +00:00
b5a345ad5f Merge lfbview to umka_os 2023-01-28 02:57:08 +00:00
94ebe02739 Switch to the wall clock timer, communicate via shared memory 2023-01-21 07:49:13 +00:00
76c7819882 Split I/O code to generic io* and platform specific io_async* 2023-01-18 08:32:17 +00:00
53683cf146 umka_os: route virtual device IRQs via IDT 2023-01-18 02:58:09 +00:00
da8f029e5d Move static variables to context structures 2023-01-17 00:58:28 +00:00
99c50bd258 Make umka_os use a start up script, don't hardcode 2023-01-16 02:51:46 +00:00
102dad1daf Compile in core/sys32.inc 2023-01-12 21:24:06 +00:00
715c181582 Wrap kos_osloop, add a test for resizing cursors 2022-06-28 20:13:41 +04:00
155df83d73 Clean up vnet, update README 2022-06-28 12:23:14 +04:00
7f88bbf11c Update copyright headers and years 2022-06-27 21:36:56 +04:00
f0f8cb8e37 Get rid of umka_ping hack! Use vnet_init 2022-06-27 16:41:29 +04:00
ac151ef588 [umka_os/linux] Simulate hw interrupts via signals 2022-06-26 23:57:02 +04:00
566de74194 Configure tap via C code. No shell commands needed 2022-06-26 12:44:16 +04:00
d82c5530ed Wrap fs_execute, works for umka_os tool! 2022-06-25 02:41:23 +04:00
cfc0102d28 Use optparse library 2022-05-29 19:17:00 +04:00
d479f8a121 umka_os: Load very basic userspace KolibriOS app 2022-05-26 16:45:36 +04:00
2f8181504c Implement and export more acpi wrappers. 2021-11-03 17:28:03 +03:00
46683929de Get rid of init.inc.
Now it is possible because I split it to hpet and acpi files.
2020-10-21 18:58:52 +03:00
116ef5ca33 Add 'help' command, clean up formatting. 2020-10-17 05:13:18 +03:00
e834b93108 Clean excessive inline asm, mention tap0 in README. 2020-10-14 20:56:28 +03:00
d2cbe2e9e0 Many fixes to scheduler and especially network. Ping via tap0 works!! 2020-10-14 06:30:01 +03:00
f7942d2eb3 New tool lfbviewx, new shell commands, fix bug in process_info(-1).
* lfbviewx: LFB viewer for X. Reads framebuffer of umka_os and displays
  the picture in X window.
* New shell commands: dump_appdata, dump_taskdata, mouse_move.
* Bug with process_info is because SLOT_BASE in umka_os is not aligned
  on 0x10000. Mitigated with a macro.
2020-10-12 06:02:02 +03:00
ae9c2198b6 Make umka_os use scheduler from KolibriOS kernel!
Also,
* Add more syscall wrappers;
* Replace puts(usage) with fputs(usage, fout);
* Remove some dead code.
2020-10-10 02:30:52 +03:00
57fadae3dd Add background related functions; umka_os works. 2020-05-11 06:38:44 +03:00
532f440ec9 Fix kernel stack size and TASK_COUNT usage. 2020-05-10 09:21:20 +03:00
10f97725c4 Move shell from umka_shell to separate module. 2020-05-10 07:21:49 +03:00
7f355dfed2 Call monitor thread from os thread. 2020-05-09 07:34:28 +03:00
90d1aaaccc Handle cli/sti in scheduler: fake i flag with id flag. 2020-05-09 06:41:32 +03:00
0d07b5810f Run net stack, jump to the osloop. Compiles, doesn't crash. 2020-05-09 05:15:57 +03:00
96d52454b7 Prototype of multitasking via sigsetjmp/siglongjmp. 2020-05-08 07:44:32 +03:00