News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

Recent posts

#1
Applications / Re: Java applications
Last post by Mentore - Today at 10:05:29 AM
Quote from: Martin Iturbide on Today at 04:48:02 AMHello

Can you give a try this file: https://archive.org/download/java-21-odin-test-package-2026-11-15/Java21-Odin-test-package_2026-11-15.zip ??

Just extract

Hi Martin, I hope I'll have some time in the next few days. Aida rehearsals incoming!

Mentore
#2
Programming / Re: LKOS2 — A Linux Kernel for...
Last post by Dave Yeo - Today at 05:01:03 AM
Wlink may well link the tinyCC object files, it'll even link 32 bit ELF C obj files into a working LX executable. And there are 64bit builds floating around that handle 64 bit object files.
#4
Programming / Re: WIP: Wifi USB Dongle Suppo...
Last post by Paul Smedley - Today at 04:20:28 AM
A quick test that needs no new build: the driver already has a debug command that fixes the transmit rate.

54 Mbit/s (the driver's own rate table stops at 36):
echo rate 0B > \DEV\WRND32$
HT MCS 7, 65 Mbit/s: less certain. The driver has never sent HT rates, and the descriptor's rate type is set for legacy. If traffic stops, run echo rate ff > \DEV\WRND32$ to go back to automatic.
echo rate 13 > \DEV\WRND32$
Run the same Apache upload after each one and take a wifi.txt. XRRATE shows the rate the chip actually used.
#5
Programming / Re: WIP: Wifi USB Dongle Suppo...
Last post by David McKenna - Today at 03:33:12 AM
OK, this one is about the same - download gives 3.05 Mb/s and upload 1.00 Mb/s. I ran the download first, then the upload. Files attached....

Regards,

EDIT: normal browsing seems a bit jerky. I had trouble getting thru the 'bot check' on OS2World - had to do it a couple times.
#6
Virtualization / Re: Maximum resolution in Virt...
Last post by Dave Yeo - Today at 03:23:52 AM
Quote from: Neil Waldhauer on Today at 01:34:54 AMMy VirtualBox insists that it needs 33 MB video memory. 3840x2160x32 works here.

What, if any, monitor does it think it is using?
#7
Programming / Re: WIP: Wifi USB Dongle Suppo...
Last post by David McKenna - Today at 03:14:04 AM
Paul,

  I rebooted and tried the download again and got 3.01 Mb/s.

  When I did the last tests, I booted and ran the upload, then ran the download (without rebooting). Maybe that matters? Anyway, I'll try this new one and report back...

Regards,
#8
Programming / Re: WIP: Wifi USB Dongle Suppo...
Last post by Paul Smedley - Today at 03:06:00 AM
https://smedley.id.au/tmp/rtl8821au-20261116b.zip may help with upload speeds, or may not work at all based on the Claude comments :)

"The main risk: this driver has never sent TCP/IP REQUEST_QUEUED or TransmitConfirm before. If IBM's stack mishandles them, it would show up as a hang or the network stalling during an upload. A download and some normal browsing are worth checking too, since our TCP ACKs take the same path."
#9
Programming / Re: LKOS2 — A Linux Kernel for...
Last post by phaelonimaire - Today at 03:02:37 AM
Not a small minority. And the layering is actually the other way round from how you describe it.

The kernel is 64-bit, every process is a 64-bit process, and 64-bit programs call the kernel directly with the normal x86-64 calling convention. The 16/32-bit support sits on top of that: one DLL converts IBM's 16/32-bit calls into 64-bit kernel calls, and a 64-bit program only ever uses it if it calls IBM code such as PM.  Though, it's not designed in a way where the 16/32-bit arenas, memory layouts, etc can just be left out. 

What you describe has already booted. A real Linux kernel, with our own init, booted straight into a native 64-bit command prompt: a CMD.EXE-compatible shell written as a 64-bit program, with no IBM code running at all. The text-mode console, keyboard, clock, mouse, disk adapter, the Linux filesystem IFS and the TCP/IP device are all 64-bit and built into the kernel. The C library (based on mlibc) is 64-bit, and tinycc runs on it and compiles C on the system itself.  Though I should point out, "compiles" isn't the same as "makes working binaries". 

What it keeps from OS/2 is on purpose: the API is OS/2's (DosXxx, Vio, Kbd), ULONG and handles stay 32-bit, and IBM's structures keep IBM's layouts, with new 64-bit forms getting a "64" suffix. What it drops is the limits: a full 64-bit address space, 64-bit file and memory sizes, flat pointers, no segments, and a current kernel underneath.

What's not there yet:

  • only one full-screen session (a text session manager with a Ctrl+Esc list is designed)
  • tinycc compiles but doesn't link yet
  • gaps in the C runtime
  • the disk-boot path still uses one of our own drivers that is 16-bit
  • it still reads a few OS/2 data files: the console font, keyboard layouts and country info

Aside from the project shifting shape so quicky, the data files are a real obstacle to a standalone open-source release: they're IBM's, so a release would need replacements.

#10
Programming / Re: WIP: Wifi USB Dongle Suppo...
Last post by Paul Smedley - Today at 02:56:51 AM
Interesting...

Here's some excerpts of what Claude has to say about the downlod changes...

The download drop has a different cause: in this session the router stopped using aggregation towards the dongle, and that isn't caused by the transmit change.

Download: 1.67 MB/s. In this session the router sent no aggregated frames at all:

No A-MPDUs
  • : AGG ME=0, BARX=0, RO HELD=0.
  • Plain (non-QoS) data: QOS=0, PLAIN=18712.
  • Lower rates: the UL= samples show MCS 4 (10.08...) instead of the usual MCS 7 QoS (13.88...).
  • The agreement itself was still set up (BA=3/3/0, BAON=37). The router just didn't use it.
It was like that from the start of this boot: the upload log, taken first, shows QOS=0 and PLAIN=9601 as well. It's the same state as the very first Block Ack test (d3f04a1, 1.91 MB/s: plain frames at MCS 4–5), which we hadn't seen again since. The dongle also got a new address this time (.115 instead of .114), so the router may have been restarted, or have kept some old state about the dongle.

It suggests:
A repeat download after a reboot, with txwait0, to see whether QOS comes back and the speed returns to about 3.2 MB/s. If it stays plain, restarting the router would show whether the router is holding the state.