Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1711

Re: win32 via odin

Subject Re: win32 via odin
Newsgroups comp.os.os2.programmer.misc
References <a29691a7-9701-4935-a5b2-986c5f5c2bddn@googlegroups.com>
From Dave Yeo <dave.r.yeo@gmail.com>
Message-ID <Aj3sM.255151$edN3.186930@fx14.iad> (permalink)
Date 2023-07-13 20:30 -0700

Show all headers | View raw


Hi Paul, note I'm not the most knowledgeable user, not many of us 
monitoring usenet now though hopefully others can chime in. There are a 
couple of mailing lists and the OS2world forum as well where you might 
get help.

Paul Edwards wrote:
> Hi folks.
>
> I started using OS/2 2.0 when it was still in beta, but I
> stopped using it in 1999 I think.
>
> Since then I have developed my own OS, PDOS/386
> (http://pdos.org), which runs a subset of win32
> console mode applications.
>
> An obscure sequence of events led to me purchasing
> ArcaOS to see what a commercially supported rival
> to Windows looked like, when I saw that it now ran
> (some) win32 programs, via the pre-installed Odin.
>
> I can't find any evidence that Odin is still being developed,
> although it hasn't been that long (6 years) since the last
> release.

As far as I know, it is not being developed anymore. It can be forked 
and development continued. The last development was by Bitwise, things 
like building OpenJDK, a Flash wrapper and running Flash and earlier by 
Innotek, running Adobe Acrobat.
Note that it is quite possible to use Odin to build native OS/2 Win32 
applications such as was done with OpenJDK, x:\Programs\OpenJDK on your 
ArcaOS install or for source, https://trac.netlabs.org/java.
Development is usually done with GCC but OpenWatcom should work as well 
with the right calling conventions.

>
> My win32 programs (e.g. hexdump), that are dependent
> on msvcrt.dll, did indeed work (when prefixed by "pec").
>
> Note that I provide my own msvcrt.dll (that I wrote
> myself - part of PDPCLIB) - ArcaOS doesn't ship with one.

Something that could be added to Odin (msvcrt.dll that is) :)


>
> However, programs of mine that use ANSI escape codes
> do not work properly - the ESC appears to be ignored/
> swallowed.

Not sure about that one, perhaps someone else has some insight.

>
> In addition, the doco says that the driver is no longer
> working, so I need to run everything via pec. Which
> probably means I need to provide my own shell.
> Which I can probably do, as I have 3 flavors of my
> shell already (for 3 different flavors of PDOS).

Wonder if it is possible to run PDOS in a DOS session?

>
> But that won't really work without ANSI escapes.
> Well - I believe it will work to some extent.
>
> Another thing I haven't figured out yet is how to get
> LFN working on my FAT partition. There is supposedly
> a "longname" extended attribute to allow this.

The longname extended attribute is only used by the WPS and there can be 
problems with file systems that are not FAT, namely when the longname 
and actual filename get out of sync.
Generally the FAT support is in the kernel but there are IFS's that 
support vfat such as the FAT32.IFS, https://trac.netlabs.org/fat32 this 
is related to the FAT32.IFS that ships with ArcaOS but Arca Noae didn't 
like the chances of patent problems with the exfat support so forked it.

>
> Any thoughts on how to create a win32 console
> environment?

There has been various shells written/ported to OS/2, there are the 
limits of a VIO window if you go that route. The only source of one I 
can think of is https://github.com/komh/kshell which might give some ideas.
Also could use a regular Presentation Manager window to display your shell
Dave

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-13 13:46 -0700
  Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-13 20:30 -0700
    Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-14 22:02 -0700
      Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-15 15:34 -0700
        Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 16:05 -0700
          Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 17:56 -0700
            Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 18:29 -0700
            Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-15 20:43 -0700
              Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 23:17 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-15 23:47 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 02:20 -0700
                Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-16 03:58 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 09:03 -0700
                Re: win32 via odin xhajt03 <xhajt03@gmail.com> - 2023-07-16 14:51 -0700
              Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 10:35 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 14:16 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 16:24 +0800
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-12-20 20:10 +0800
            Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 20:30 -0700
          Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 20:44 -0700
            Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-16 21:11 -0700
              Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 23:04 -0700
                Re: win32 via odin Dave Yeo <dave.r.yeo@gmail.com> - 2023-07-16 23:11 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:07 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:13 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 07:48 -0700
                Re: win32 via odin Paul Edwards <mutazilah@gmail.com> - 2023-07-17 16:50 -0700

csiph-web