Author Topic: Experiment: cWarp - Crappy Warp / Changing the stuff.  (Read 29561 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Experiment: cWarp - Crappy Warp / Changing the stuff.
« on: January 28, 2016, 04:24:16 pm »
Hi

As the next step of my older experiment (bWarp) I created cWarp.

The goal of this experiment was to remove IBM's OS/2 components based on what is available for free and/or open source. 

The goal remains to have:

- Boot the OS
- Run PM and WPS (so SOM is still there)
- Run cmd and PM applications
- Ability to run REXX scripts
- DHCP working
- Ping google.com
- CD/DVD Support
- JFS / HPFS Support (ok JFS is not that solid now)
- E.EXE is still there.

You can found information about this experiment at:
- cWarp
- cWarp Directory/Files Structure
- cWarp Config.sys

For the moment it is working, it is broken of course, there are things that are not running. But PM apps, Qt Apps, Rexx scripts are running. Yum runs and installs the software on C:\Programs\FHS\. Of course that somethings are very broken.

I focused on leaving all the IBM's Binaries on \OS2 (Expect of the Kernel), every replacement I was able to find (and that is allowed to be moved) was located on \WARP. 

So I'm looking for any replacement of this files: Required Replacements
Any way to help me with the files that are not marked, or marked in white are welcome. I want to keep experimenting how much can be replaced.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #1 on: January 29, 2016, 10:58:12 am »
Quote
Issue #5 - ObjectRexx Programs broken
SockLoadFuncs seems to be part of ObjectREXX which was removed since BWarp.
You need RXSOCK.DLL for REXX Socket Support.

Jan-Erik Lärka

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 275
  • Karma: +5/-0
    • View Profile
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #2 on: January 29, 2016, 11:23:21 am »
Issue #4
rexxqueue is a separate application that many rexx scripts use to capture output (stdout/stderr) from textmode applications.
You can find code for it here and build it with OpenWatcom.

https://fossies.org/dox/ooRexx-4.2.0-source/rxqueue_8cpp_source.html
« Last Edit: January 29, 2016, 11:25:04 am by Jan-Erik Lärka »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #3 on: January 29, 2016, 03:42:21 pm »
Thanks for the tips and the links.

I had recovered the RXSOCK.DLL and RXQUEUE.EXE files.

ArcView works now, it gives other error on the VX-REXX console (check picture), but the unzipping is working.

ANPM is also working, it is giving me an error suggesting me to change the LIBPATH order, I had set Yes and reboot. But on the next reboot it asks me for the same thing. I just press "no" and it works. It seems to be installing fine for the moment.

If someone will ever like to generate a RXSOCK.DLL and RXQUEUE.EXE from the Open Object Rexx code I will try it out on cWarp just for fun :)

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #4 on: January 29, 2016, 04:26:30 pm »
Quote
ANPM is also working, it is giving me an error suggesting me to change the LIBPATH order

This is not an error. It is a suggestion, for those who want it to work properly. If you go to View-> Preferences, there is a setting to Skip the path validation. That is meant for those who really know what they are doing (developers), but it would stop the message from popping up. Whether you will see other problems from moving the directory remains to be seen (you may not even know that it is not working properly).

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #5 on: January 29, 2016, 06:54:17 pm »
If you go to View-> Preferences, there is a setting to Skip the path validation...

Thanks Doug for that.

I'm also trying to find out more about the \CODEPAGE\ files. Checking the files that I have maintained from OS/2 (http://www.os2world.com/wiki/index.php/Required_Replacements) I'm still do know much about those files: IBM1004, IBM1006.... and so on.

Any idea on how those files are generated on OS/2?

Any pointer to any other file on this list that had been already replaced is welcome.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #6 on: February 04, 2016, 01:02:10 pm »
Hi

I will also appreciate if someone can compile me some version of IBMKBD.SYS , SCREEN01.SYS and TIMER0.SYS that is on IBM DDK. I don't care if those are the latest level, I only want to try it on this experiment.

Regards
« Last Edit: February 12, 2016, 08:02:42 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #7 on: February 12, 2016, 04:30:09 pm »
Quote
I will also appreciate if someone can compile me some version of IBMKBD.SYS , SCREEN01.SYS and TIMER0.SYS that is on IBM DDK. I don't care if those are the latest level, I only want to try it on this experiment.

I only have the IBM DDK source of IBMKBD.SYS that I downloaded way back from their website. ;) Here it is.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #8 on: February 12, 2016, 05:10:28 pm »
Thanks Wim. It worked great on the cWarp experimental VM.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #9 on: February 15, 2016, 06:43:55 pm »
Hi

I want to see if I can replace KEYBOARD.DCP. It seems that some replacements was done on the past and there is even this article "KEYBOARD.DCP File Format" (which I don't understand much since I don't code), but it will be interesting to know if there are some source code or binaries released about this "Keyboard layout file".

For the moment I don't have any source code or non-IBM binary of it.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #10 on: February 17, 2016, 10:57:33 am »
Hi Martin,

Just for fun I created a.o. replacements of bkscalls.dll and kbdcalls.dll with source code.
These now show their fully qualified drive, path, filename and extension at boot up.

Regards, Wim.

mike

  • Newbie
  • *
  • Posts: 32
  • Karma: +1/-0
    • View Profile
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #11 on: February 23, 2016, 08:30:09 pm »
Just for fun I created a.o. replacements of bkscalls.dll and kbdcalls.dll with source code.

Wim = hero  ;)
Has this some relation to the console API?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #12 on: February 24, 2016, 03:10:48 am »
Hi Mike

I can not say I know exactly about those files. I just documented what I was able to find on the EDM/2.

* KBDCALLS.DLL    - Keyboards calls dynamic link library.
* BKSCALLS.DLL - Base keyboard calls.

If someone wants to add more to the EDM/2 wiki or make a correction is welcome.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #13 on: February 24, 2016, 07:15:30 pm »
I want to see if I can replace KEYBOARD.DCP. It seems that some replacements was done on the past and there is even this article "KEYBOARD.DCP File Format" (which I don't understand much since I don't code), but it will be interesting to know if there are some source code or binaries released about this "Keyboard layout file".

For the moment I don't have any source code or non-IBM binary of it.

I have attached a replacement for keyboard.dcp with free source code.
Supports code pages 437 and 850 and the "US 103" and "BR 274" languages.
Best suited :) for crappy warp I think. Have fun.

Wim Brul

  • Sr. Member
  • ****
  • Posts: 295
  • Karma: +25/-0
    • View Profile
    • Wim's home page
Re: Experiment: cWarp - Crappy Warp / Changing the stuff.
« Reply #14 on: February 24, 2016, 07:32:19 pm »
Just for fun I created a.o. replacements of bkscalls.dll and kbdcalls.dll with source code.

Wim = hero  ;)

Being called a hero, I better supply the other replacements that I created.
wmbmou00.zip contains bmscalls.dll and moucalls.dll with source code.
wmbvio00.zip contains bvscalls.dll and viocalls.dll with source code.