Commit Graph

267 Commits

Author SHA1 Message Date
b209a033cf THE DOCS WERE WRONG 2026-05-01 16:04:34 +03:00
db30cf4fff improved color mapping algorithm 2026-05-01 14:39:37 +02:00
dff8506d50 removed some debug code 2026-05-01 15:38:36 +03:00
20b9f0d4f1 bugfixes and improvements
credit to blendi for fixing the depth mapper
2026-05-01 15:28:12 +03:00
2b09e5a4f0 frostos works 2026-05-01 14:44:15 +03:00
6834318639 scrolling events 2026-05-01 14:27:29 +03:00
4da296a135 bugfix and bugnotes 2026-05-01 02:37:13 +03:00
1ad43602f4 huge oversight in GPU budgets 2026-05-01 02:25:56 +03:00
433ef4aa31 mineos and halyde support 2026-05-01 02:14:21 +03:00
27056d8a76 fixed all those warnings 2026-05-01 01:17:26 +03:00
7d52a4cd94 UlOS works now 2026-05-01 01:13:26 +03:00
c0f5effd1a small firmware bug 2026-04-30 23:00:24 +03:00
77f79dd17a fixed some warnings 2026-04-30 18:27:35 +03:00
5a488bfc60 the docs were wrong 2026-04-30 00:01:32 +03:00
871a7d4e17 fixed a heisenbug and reset openos 2026-04-29 23:21:28 +03:00
01fb18b538 fixed an oversight 2026-04-29 20:38:50 +03:00
3ac74595dc important functions 2026-04-29 20:27:22 +03:00
21eca5db92 allowing emulators to change method flags 2026-04-27 20:14:34 +03:00
72fd316310 added support for synchronized methods 2026-04-27 20:07:57 +03:00
a5e30abf36 screen brightness 2026-04-11 15:51:26 +02:00
37e5ce0167 no more netlib
its too early for a networking lib
2026-04-11 14:59:51 +02:00
d803783f35 begin work on netlib 2026-04-11 12:22:20 +02:00
6244a2f7a4 figured out how to do smth 2026-04-09 11:12:16 +02:00
13efd53cea stuff 2026-04-08 11:39:42 +02:00
8f044a0eb0 cool stuff 2026-04-08 00:04:36 +02:00
46c9bc8d42 initial work on an ambitious library 2026-04-07 20:07:24 +02:00
21cd1fa4e6 progress on modem and basic todo 2026-04-07 15:55:57 +02:00
82777b52b3 computers can be turned on/off now 2026-04-07 13:11:18 +02:00
5d7725d77b fixed a deadlock 2026-04-07 09:56:47 +02:00
a89ddb8e39 forgot an unmount case 2026-04-07 00:07:07 +02:00
b5b9fe4018 initial work on modems 2026-04-06 14:19:29 +02:00
79ae1e13f8 bunch of progress 2026-04-05 19:48:13 +02:00
77aded7a05 rip the drive cache
had huge oversight and was just a bad idea
2026-04-05 03:33:26 +02:00
dad8e34cca work on network encoding and documenting eventual component interfaces 2026-04-05 01:04:24 +02:00
f9bbe58894 SSDs 2026-04-04 02:26:06 +02:00
a1b0f47f47 small buff 2026-04-04 00:24:43 +02:00
32f94cf02b drives, rebalancing, and a broken tmpfs impl
that tmpfs impl needs to be reworked to heck and back!
2026-04-03 23:58:23 +02:00
e6cf5990bb component costs 2026-04-03 00:42:00 +02:00
shorekeeper
d41e110cdf Fix some GPU bugs and add clamping 2026-04-03 00:44:00 +03:00
3e5a979331 2 more coding rules 2026-04-02 23:30:20 +02:00
a2069eea74 minor tweaks 2026-04-02 21:26:38 +02:00
97a2e34f2e realtime clock 2026-04-02 15:37:01 +02:00
ac2a05efdb MSVC is horrendous 2026-04-02 15:19:51 +02:00
a6a31d2b64 that wasnt meant to be there 2026-04-02 10:57:48 +02:00
13fc83b20b we now have a coding guide 2026-04-01 19:45:59 +02:00
shorekeeper
3943b7d584 push unicode changes lol 2026-04-01 19:28:15 +03:00
shorekeeper
8d37628ae7 Fix Windows build and several cross-platform bugs
Cross-platform bugs:

- ncomplib.c: fseek was called as fseek(f, whence, offset) instead of
  fseek(f, offset, whence). Seeks only worked correctly when offset
  happened to numerically equal a valid whence constant.

- neonucleus.c: nn_realloc passed memory pointer instead of ctx to
  nn_alloc in the NULL and sentinel paths. Any call with memory=NULL
  dereferences NULL as a context struct and crashes. Confirmed by
  test_realloc.c which crashes before fix and passes after.

- neonucleus.h: NN_TiB was defined as (1024 * NN_TiB), referencing
  itself. Fixed to ((size_t)1024 * NN_GiB).

- luaarch.c: unicode functions were registered on the component Lua
  table instead of the unicode table. Wrong stack index variable was
  used in all five lua_setfield calls.

- neonucleus.c: NN_ATOMIC_NONE versions of nn_incRef/nn_decRef took
  1 argument but were called with 2 everywhere. Added the missing
  size_t n parameter.

Windows build:

- neonucleus.c: NN_LOCK_CREATE in NN_THREAD_WINDOWS was missing a
  return statement, falling through into NN_LOCK_DESTROY and
  immediately closing the freshly created mutex handle.

- ncomplib.c: Added Windows implementations for opendir, readdir,
  closedir, stat, mkdir and directory removal using FindFirstFileA,
  FindNextFileA, _stat, _mkdir and _rmdir.

- main.c: Fall back to USERNAME env var when USER is not set.

- neonucleus.h: Added NN_VLA macro. Expands to a plain VLA on
  GCC/Clang, uses _alloca on MSVC. Applied in luaarch.c and
  neonucleus.c where VLAs were used.

- neonucleus.h: Added NN_INIT macro. Expands to a compound literal
  cast on GCC/Clang, expands to nothing on MSVC which does not
  support compound literals as constant initializers at file scope.
  Applied to all global struct initializers in neonucleus.c.

- neonucleus.c: Auto-define NN_ATOMIC_NONE on MSVC in C mode since
  MSVC does not provide stdatomic.h outside of C++ mode.
2026-04-01 19:18:00 +03:00
3f6ef63737 small rework 2026-04-01 14:40:12 +02:00
d95726cbf6 slight bugfix and work on drive 2026-04-01 12:34:57 +02:00
9291d81d41 small tweak 2026-03-31 18:54:19 +02:00