Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 374
1
Applications / Re: ODIN Revisited
« on: Today at 05:40:18 am »
Hello

Does somebody that knows to play Rummy (The card game) check if this Win32 software is working for us?

Regards

While at first it seems to work, starting a game,it offers a tutorial which is empty, then the cards are dealt and vanish. It's been a long time since I've played rummy but pretty sure you can look at your hand.

2
Storage / Re: Sharing drive between OS/2 and linux
« on: November 29, 2025, 04:47:25 pm »
Still weird that Puppy Linux could mount the volume. If the problem is sector size, I'd expect all Linux dists to fail.

3
Storage / Re: Sharing drive between OS/2 and linux
« on: November 28, 2025, 05:26:29 pm »
Hi Lars,
it has jumper positions and I tried it. But it does not help. But the description of WD is a bit vague about the jumpers on newer drives.

OTOH if it would be a 4k drive only I think I couldn't partition and use it on OS/2 anyway, right?

Is there any possibility to force MiniLVM to create partitions on 4k boundaries? Maybe DFSee?

Some say that it is possible using a dummy partition and the right math. Remy had a similar issue and opened an issue about it. The conclusion from Arca Noae was that it was not possible.
Simplest would be to get a USB drive, perhaps 1TB. Format it under OS/2 as JFS and copy under OS/2 everything to it and then copy it from Linux. This would be the safest but some USB enclosures actually force 4KB sectors. I have a 1TB and a 2TB USB drive that work fine under OS/2 and Linux and this would work with them.
Looking on the Internet, I found https://superuser.com/questions/679725/how-to-correct-512-byte-sector-mbr-on-a-4096-byte-sector-disk which suggests using a loopback device to force 512 sectors, might be save enough if you only use it as read only.

4
Storage / Re: Sharing drive between OS/2 and linux
« on: November 28, 2025, 04:48:10 am »
I also have a HPFS that I actually use for sharing with Linux. Volume label is SHARE. HPFS in some ways is better with Linux as it simply works, even symlinks from OS/2. In the file manager, under Devices, the JFS volumes appear as, eg, 17 GB Volume while the HPFS partition shows as SHARE.
Really I should add it to fstab and mount it under /home.
The mtab entry,
Code: [Select]
/dev/sda7 /media/dave/SHARE hpfs rw,nosuid,nodev,relatime,uid=0,gid=0,umask=022 0 0

5
Storage / Re: Sharing drive between OS/2 and linux
« on: November 28, 2025, 04:32:44 am »
On Mint, Cinnamon desktop, I have a USB HD and a GPT partition mounted. The USB drive was automatically mounted and I opened files and clicked on the GPT partition to mount it, it complained I didn't have permission to use it,
From the tail of /etc/mtab,
Code: [Select]
/dev/sdb1 /media/dave/e97cd7fc-0000-0000-0000-000000000013 jfs rw,nosuid,nodev,relatime 0 0
/dev/nvme0n1p4 /media/dave/e97c9ffd-0000-0000-0000-00000000600f jfs rw,nosuid,nodev,relatime 0 0
At some point I need to trace down where these mount settings come from. /etc/fstab just has / /boot/efi /home and swap. /home is Linux JFS and the fstab setting is,
Code: [Select]
/home was on /dev/nvme0n1p7 during installation
UUID=eb46dd56-dd8f-460e-bcf4-0ef796161fe4 /home           jfs     defaults        0       2

BTW, about relatime
Quote
Relatime is a mount option in file systems that updates the access time of a file only when it is earlier than the file's modification time. This helps reduce disk writes and improve performance while still providing some access time information.
Otherwise JFS will update one of the time stamps every time you access the file, even if only reading it.

6
Storage / Re: Sharing drive between OS/2 and linux
« on: November 27, 2025, 11:05:06 pm »
I've OpenSuse installed on this system too. But this can not mount it either :-(

Does OpenSuse install JFS support? You might have to install the module.

7
Storage / Re: Sharing drive between OS/2 and linux
« on: November 27, 2025, 06:04:29 pm »
Hi Andy, it is weird. The only time I've seen a similar message on Mint, it has been due to needing a chkdsk or fsck (after an OS/2 crash). Otherwise I just have permission problems which can be worked around. You could try doing a fsck-jfs /dev/sdc1 (think that is the command) and see what happens.
I usually just use the file manager to mount JFS partitions, double click on the device. You did use fdisk to make sure it is /dev/sdc1 you want? There's another command that I forget the name of to get the GUIID or whatever it is that Linux usually uses now.
BTW, OS/2 can't mount a Linux created JFS volume and Linux can only mount the standard OS/2 JFS volume with 4kb sectors, which your dmesg output says you have.
Later when I boot into Linux again, I'll try to see if I can find the actual mount command that the file manager uses. It does mount it with case insensitivity and I don't think xttrs (EAs) are enabled by default.
Other Linux dists often don't have JFS support and it needs to be installed, Debian and derivatives usually seem to have it.

8
Programming / Re: Software ports - the state of my art until now
« on: November 25, 2025, 08:22:08 am »
You can use -f obj along with USE32 but then all the other object files have to be compiled with -Zomf in the CFLAGS/CXXFLAGS, also need AR=emxomfar, runlib=echo, and different LDFLAGS.
In this case their doesn't seem to be any assembler unless it is inline assembly, I didn't look that close. The build does something weird here, (all one line)
Code: [Select]
[87/195] Generating cpustbl.c, cpuemu_0.c, cpuemu_11.c, cpuemu_13.c, cpuemu_20.c, cpuemu_21.c, cpuemu_22.c, cpuemu_23.c, cpuemu_24.c, cpuemu_31.c, cpuemu_32.c, cpuemu_33.c, cpuemu_34.c, cpuemu_35.c, cpuemu_40.c, cpuemu_50.c
And also builds a 20MB static library which is what fails. Possibly it really does end up with too large an index.
If it was a configure based build, I'd try going OMF all the way and perhaps emxomfar would work better then ar in building the static lib.

9
Programming / Re: Software ports - the state of my art until now
« on: November 24, 2025, 04:55:09 pm »
Tried building this. My cmake environment seems broken when it comes to using make, it seems to recurse until it hangs the system, so I use Ninja to build, "cmake -G Ninja .."
Had to work around, I think, our termio not supporting 57600 baud with some #if 0.
Dies here,
Code: [Select]
emxomf: Index too large
emxomfld: a.out to omf conversion failed for 'src/cpu/UaeCpu.a'.
ninja: build stopped: subcommand failed.

Investigating but I'd guess there is inline assembler that needs adjusting for aout, probably .section directives. Aout is very simple.

My quick hack,
Code: [Select]
diff --git a/src/rs232.c b/src/rs232.c
index 8175421b..a731cdd7 100644
--- a/src/rs232.c
+++ b/src/rs232.c
@@ -396,10 +396,12 @@ static bool RS232_SetBaudRate(int nBaud)
  { 9600, B9600 },
  { 19200, B19200 },
  { 38400, B38400 },
+#if 0
  { 57600, B57600 },
  { 115200, B115200 },
 #ifdef B230400                 /* B230400 is not defined on all systems */
  { 230400, B230400 },
+#endif
 #endif
  { -1, -1 }
  };
diff --git a/src/scc.c b/src/scc.c
index c37197c4..9eb61030 100644
--- a/src/scc.c
+++ b/src/scc.c
@@ -770,11 +770,13 @@ static void SCC_Serial_Set_BaudRate ( int Channel, int value )
 
  switch (value)
  {
+#if 0
 #ifdef B230400 /* B230400 is not defined on all systems */
  case 230400: new_speed = B230400; break;
 #endif
  case 115200: new_speed = B115200; break;
  case 57600: new_speed = B57600; break;
+#endif
  case 38400: new_speed = B38400; break;
  case 19200: new_speed = B19200; break;
  case 9600: new_speed = B9600; break;

10
General Discussion / Re: Unfortunate filename choices
« on: November 23, 2025, 10:54:06 pm »
IIRC, JFS itself supports all characters except the colon. OS/2, or perhaps just cmd.exe, also disallows \ as it is the directory separator, as well as / and silently ignores ".
lots of utf8 chars that would be hard to manipulate on the cmd line.
I learned on an Apple II+ clone, you could enter any ASCII character except DEL (used as the cursor) with the keyboard and could use CTRL characters in a file name. Could have a file name like foo^H^H^Hbar which would look like bar in a directory listing and very hard to manipulate from the command line if you didn't know about the CTRL-H's.

11
Programming / Re: Software ports - the state of my art until now
« on: November 19, 2025, 04:53:27 pm »
Which assembler is being used? If GAS, don't need the OMF, if NASM, -f aout

12
Applications / Re: OS2VOICE RPM - ...and MMOS2 Updater
« on: November 17, 2025, 03:28:41 am »
Hi Dariusz,
Likely there was a bug fix or feature change. Steven built the one I'm using after I ran into a problem using a rsync server on the internet, namely that server had xattrs turned off and the client expected them to be turned on.
It is weird that Voice is hosting an RPM without the OS/2 fixes from Steven/Paul. I'd assume their source is available.

13
Applications / Re: OS2VOICE RPM - ...and MMOS2 Updater
« on: November 16, 2025, 05:22:56 pm »
I'm using,
Code: [Select]
Z:\>rsync.exe --version
rsync  version 3.0.9  protocol version 31 (os2-perms)
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Built by Steven H. Levine Dec 21 2012 10:43:12
Built with GCC 4.4.7
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
    append, no ACLs, xattrs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

Note the built by Steven H. Levine part along with (os2-perms).
I'd assume the newer one is similar as Steven has been maintaining it.

14
Setup & Installation / Re: ArcaOS 5.1.1 can't install on Acer Aspire.
« on: November 15, 2025, 05:42:24 pm »
Perhaps try a different stick. Some of the cheap ones don't work very well and they do wear out. It's worth using a quality stick.

15
Events / Re: Warpstock 2025 USA - The end of my journey with ArcaOS
« on: November 12, 2025, 07:37:02 pm »
Security also becomes very important with a WiFi driver. Especially if being used in a public space.

Pages: [1] 2 3 ... 374