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 - Pete

Pages: 1 ... 33 34 [35] 36 37 ... 95
511
Programming / Re: OS2AHCI interface?
« on: April 14, 2020, 08:55:03 pm »
Hi Darriusz

PMsmartctl_Test1.zip attached - Simply unzip over previous release and Delete existing PMsmartctl.INI file.


Regards

Pete

512
Hi Neil

Try "upping" the volume on Control ID 9 - 16 is probably too low a value. I presume you have already "upped" the volume on Control ID 1?


Regards

Pete


Control ID: 9
Interface: virtual mixer device
Device(client): 0, subdevice (substream) 0
Name: [Master Playback Volume]
Index: 0
Element type: integer type
Count of values: 1
Value:
 Bounds: min: 0, max: 87, step: 0
  value 0: 16

513
Programming / Re: OS2AHCI interface?
« on: April 14, 2020, 06:44:53 pm »
Hi Darriusz

Seems to be SMP safe here - developed on a system with an AMD FX 4300, all 4 cores active, not had that sort of problem - so far.

If I understand you correctly this happened the first time you started PMsmartctl - you had not previously run PMsmartctl and set the location of smartctl.exe ?

I do not think there is anything that is SMP unsafe in the startup code but will have a rummage through to see if I can find possible cause(s). At first glance the only thing that stands out is that I have not explicitly initialised a couple of variables...

That could make a difference if there is some "garbage" in the location used for the variable smartctlPath as that would mean the check for smartctlPath having a value would return True which would then set the smartctlFlag indicating smartctl.exe was available triggering a call to "smartctl --scan" which could cause the startup problem.

I'll have to do a little bit of re-coding and post a new build a little later for you to try. Will also have a rummage through underlying OS/2 API calls made during startup to see if there is anything known to be SMP unsafe but I do not think there is.

Out of interest will PMsmartctl run with 4 cores enabled on your system?


Regards

Pete


514
Programming / Re: OS2AHCI interface?
« on: April 14, 2020, 11:06:07 am »
Hi All

I have just quickly tested the smartmontools-7_0-1 package (from http://rpm.netlabs.org/experimental/00/zip/smartmontools-7_0-1_oc00.zip) and, so far, it seems that PMsmartctl is happy to use that release.


Regards

Pete

515
Programming / Re: OS2AHCI interface?
« on: April 13, 2020, 08:20:47 pm »
Hi All

Hi Dariusz,

It sounds as if you are looking at that which I was looking for way back last year - some way to get smartctl.exe from smartmontools to display the output of smartctl -a ahci1 without having to pipe it to a file and then read that file, in other words just like smartmon from Dani's IDE driver package.

No one came up with a way of doing that when I asked so maybe you could produce the necessary graphical interface needed.


It is funny you should mention that as I started playing around with something I call PMsmartctl as a result of your post.

It is a simple frontend for smartctl and displays selected information in the Text Editor (e.exe) which gives you the option of Saving and Printing - with minimal work by me  :-)

NOTE:  Only works with http://hobbes.nmsu.edu/download/pub/os2/util/disk/smartmontools-6.6-r4424.zip

If anyone feels like testing and reporting - along with suggestions for improvement - I attach PMsmartctl_Beta_0_1.zip


Regards

Pete



516
Comments, Suggestions & Questions / Re: Lost sound
« on: April 10, 2020, 05:04:26 pm »
Hi Eugene

I could not find a uniaud readme anywhere in my ArcaOS installation... Luckily my ecS2.2b2 installation has the same release of uniaud installed. Here is the switches section:-

2.2 Device Driver Load Options
--------------------------------

The following options are supported in CONFIG.SYS:

DEVICE=x:\MMOS2\UNIAUD32.SYS /V /C:CARDNAME
  - /A:n - Use audio adapter n where the first adapter is 0. (Really skip n adapters).
  - /V - Verbose
  - /C:DRIVER - Force audio hardware to *only* use the specified driver.
        Where DRIVER is:
      - SBLIVE      : Sound Blaster Live!
      - CS4281      : Cirrus Logic CS4281
      - ALS4000     : Avance Logic ALS4000
      - CMEDIA      : C-Media CMI8738, CMI8338
      - ICH         : Intel ICHx, NFORCE1/2/3
      - CS46XX      : Cirrus Logic CS4280, CS46XX
      - VIA82XX     : VIA VT82C686A/B/C, VT8233A/C, VT8235
      - ESS1938     : ESS Solo-1 (ESS 1938)
      - MAESTRO     : ESS Maestro1/2/2E, TerraTec DMX
      - MAESTRO3    : ESS Maestro3/Allegro/Canyon3D-2
      - YAMAHA      : Yamaha YMF 724/724F/740/740C/744/754
      - ENSONIQ     : Ensoniq AudioPCI ES1371/73, Creative Labs SB PCI64/128
      - ALI5451     : ALI 5451
      - TRIDENT     : Trident 4D Wave, SI7018
Default: Fully automatic operation. Use of switch is not recommended.

DEVICE=x:\MMOS2\UNIAUD16.SYS /V /C /M /L
  - /V - Verbose
  - /C - Enable CD output
  - /M - Enable Microphone output
  - /L - Enable Line-In output
Default: /C ((verbose messages; CD output enabled)


Regards

Pete

517
Games / Re: Java Games
« on: April 10, 2020, 01:34:19 am »
Hi Martin

Did icedtea - I think that is what the openjava plugin is called - get dropped or is it still in development?

Last time I tried it was years ago and it did not work very well at all.


Regards

Pete

518
Hi Sigurd

I certainly hope that the corona virus problem has been resolved before December - hopefully long before.

The idea to combine Warpstock 2020 with your event sounds like a good idea to me but I think you probably need to contact Roderick at os2voice directly to discuss the possibility.


Regards

Pete

519
Off Topic discussions / Re: COBOL revived
« on: April 07, 2020, 07:15:58 pm »
Hi

COBOL was the 3rd language that I learnt but have not used it since... err... 1991-ish. I probably would not be much use to New Jersey especially as I used to work on ICL mainframes running VME, never used an IBM mainframe in my life :-)

And, of course, travel restrictions would probably prevent me leaving the UK even if I was interested.


Regards

Pete

520
General Discussion / Re: ArcaOS User Accounts
« on: April 07, 2020, 01:25:44 am »
Hi Jack

There are some extensions to enable multiuser:-

Multidesk/2 is available from hobbes - https://hobbes.nmsu.edu/download/pub/os2/util/wps/md-0-2-0.wpi
Here is a couple of articles about it http://www.os2voice.org/VNL/past_issues/VNL0901H/vnewsf5.htm and http://www.os2voice.org/VNL/past_issues/VNL0901H/vnewsf6.htm

Also on hobbes is Workplace Shell Access Control - https://hobbes.nmsu.edu/download/pub/os2/util/wps/WPSac_4-0.zip

Both used to work OK on OS/2 but not sure how well they will work on ArcaOS; may need a little tweaking...


Regards

Pete

521
Hardware / Re: PCIe - SATA3 card choices?
« on: April 06, 2020, 08:49:13 pm »
Hi Dariusz

Which build of os2ahci.add are you using? - the "port #3 interrupt error status: 0x40000001; restarting port" is indicative of the flaky v2.03 driver supplied with ArcaOS5.0.1/5.0.2.

If I am right it could be worth trying either a later driver or the 1.32 build from eCS.


Regards

Pete

522
General Discussion / Twenty Years Online
« on: April 05, 2020, 05:42:49 am »
Hi Martin

Looking forward to the next 20  :-)


Regards

Pete

523
Games / Re: Quarantine Gaming !! - Dev/Port Help
« on: April 02, 2020, 10:28:59 pm »
Hi Martin

Attached is WDSchess_V1-0.zip containing:-

   WDSchess.exe - chess game
   WDScreate.cmd - script to create program object in Games folder
   WDSchess.txt - this file
   WDS_src.zip - modified source files and instructions

I have uploaded the zip file to hobbes but very happy to also have it on the OS2World Gaming site.

Maybe a more competent coder could look into adding an option to Save/Load Game as I am having trouble understanding the coding.


Regards

Pete


 



524
Games / Re: Quarantine Gaming !! - Dev/Port Help
« on: April 01, 2020, 10:58:13 pm »
Hi Martin

It does look like sdl is a bit of a mess. I don't really use sdl apps so have not noticed just how bad...

You may not have noticed the duplicate cdtbl.dll on your system. I wonder which location is best suited for that - os2\dll or mmos2\dll ?


Regards

Pete

525
Games / Re: Quarantine Gaming !! - Dev/Port Help
« on: April 01, 2020, 06:28:17 am »
Hi David

Yes, simple but seems capable. I am not much of a chess player myself and struggle to win games on any difficulty setting higher than 2 - and lose more than I win even when set to Novice (1)...

If I can work out the coding I will try to add Save/Load Game capability - sadly the source code is lacking any comments. Moan, moan - even back in the late 1980s it was obvious that comments would be useful when revisiting code at a future date and college coding assignments were marked down if there were not enough informative comments.


Regards

Pete

Pages: 1 ... 33 34 [35] 36 37 ... 95