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 - Neil Waldhauer

Pages: 1 2 3 [4] 5 6 ... 66
46
Applications / Re: Registry editor
« on: July 12, 2023, 03:25:46 pm »
I get the crash consistently on my computers here. The crash is the same with regedit or SysIni called from REXX. The workplace shell is unable to function after the crash.

I tried some tools from Hobbes, but mostly they behave the same. I tried quite a few boots, but all are well developed OS/2 installations with plenty of entries in OS2.INI. These systems all are working well, so I doubt there is significant corruption of any OS2.INI file.

I aslo tried rwINI from Hobbes. This is an alternative to SysIni. That works fine. SysIni works fine when booted from CD.

Perhaps SysIni (and the Prf... functions) cannot have two full-sized INI files in memory, but a tiny OS2.INI on a bootCD is OK.

Another interesting quirk is that if I boot from C:, then I cannot open C:\OS2\OS2.INI, but I can access the same file as 'USER'. The rwINI package documents this limitation. The system uses the OS2.INI file, so that will always be open while I work.

47
Applications / Registry editor
« on: July 10, 2023, 06:32:35 pm »
I'm using \OS2\SYSTEM\REGEDIT2.EXE. If I open the HINI_USER_PROFILE, then all is well. But if I open the OS2.INI file on another drive, then the REGEDIT2 closes with a new entry created in POPUPLOG.OS2.

Code: [Select]
07-10-2023  09:17:53  SYS3171  PID 0046  TID 0001  Slot 001b
H:\OS2\SYSTEM\REGEDIT2.EXE
c0000005
1ffc1b8c
P1=00000002  P2=001bfffc  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=1a390000  EBX=1a533434  ECX=001c0018  EDX=00000014
ESI=1a661a44  EDI=1a390650 
DS=0053  DSACC=d0f3  DSLIM=bfffffff 
ES=0053  ESACC=d0f3  ESLIM=bfffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1ffc1b8c  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:001c0000  SSACC=d0f3  SSLIM=bfffffff
EBP=001c0044  FLG=00010202

DOSCALL1.DLL 0002:00001b8c

I can recreate this by accessing the same INI file using REXX function SysIni, although the exception location is different.

48
Programming / Re: Where does OS/2 store the screen resolution?
« on: July 03, 2023, 03:32:35 pm »
The information is stored in C:\OS2\OS2.INI that you can specify instead of 'USER'.

For the currently booted system, the call to SysINI fails. USER works, but C:\OS2\OS2.INI does not. Boot to some other drive, including a bootAble CD, and C:\OS2\OS2.INI works fine in SysINI.

If I extend my example above, it works well to set the resolution if C:\OS2\OS2.INI is substituted for USER and then I save the values for the new resolution. This is useful if a bad resolution is set on C:, preventing the presentation manager from displaying on the screen. I know there are other ways involving going to VGA and reinstalling the video driver, but this is more elegant.

49
Programming / Re: Where does OS/2 store the screen resolution?
« on: July 02, 2023, 03:14:44 pm »
Thanks, Martin. I did not look at OS/2 Multi-Media functions. DiveQueryCaps will give the information for the currently booted system, which is useful.

My main need was to work on a system that is not booted, and can't be booted to the desktop because of a wrong screen resolution. But my method doesn't work as well for the currently booted system, so I will be looking into DiveQueryCaps to do that better.

50
Programming / Re: Where does OS/2 store the screen resolution?
« on: June 24, 2023, 04:12:14 pm »
Answering myself:

http://www.edm2.com/index.php/REXX_Tips_%26_Tricks:Change_the_WPS_with_REXX#Get_the_display_resolution

Code: [Select]
/* print the current resolution */
call rxFuncAdd "SysIni", "REXXUTIL", "SysIni"

inifile = 'USER'
rblock = SysIni(inifile, 'PM_DISPLAYDRIVERS', 'DEFAULTSYSTEMRESOLUTION')
say length(rblock) "chars:" c2x(rblock)

hres = reverse(substr(rblock,1,4))
say "horizontal:" c2d(hres)

vres = reverse(substr(rblock,5,4))
say "vertical:" c2d(vres)

dres = reverse(substr(rblock,9,4))
say "depth:" c2d(dres)

resolutionChangePending = SysIni(inifile ,"PM_DISPLAYDRIVERS", "RESOLUTION_CHANGED")
   
if resolutionChangePending = "1" || "00"x then
   resolutionChangePending = 1
else
   resolutionChangePending = 0
say "resolution change pending:" resolutionChangePending

return

51
Programming / Where does OS/2 store the screen resolution?
« on: June 23, 2023, 06:26:36 pm »
I'm interested in knowing the screen resolution that OS/2 will use. The program needs to read the information from disk for a volume that is not currently booted, for example, if the computer is booted from CD, but wants to show the resolution that a disk volume will use if it is booted.

52
Events / Re: AN posted pricing for 5.1
« on: June 16, 2023, 03:05:54 pm »
To find your subscription end date,

1. log into Arca Noae
2. click on download center

53
Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: June 12, 2023, 03:54:15 pm »
I'm not sure how a local repository would help. If someone uploads a .RPM to Hobbes, how would my local repository know about the new file?

54
Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: June 11, 2023, 03:32:49 pm »
If Hobbes would support .rpm files, it should be in a repository that I can add to ANPM or my YUM repository list.

55
Setup & Installation / Re: AOO4.11.1/Firefox/Seamonkey trouble
« on: June 08, 2023, 03:22:27 pm »
I can open text documents and spreadsheets. I used these prerequisites:

libc libgcc1 libgcc-fwd openssl curl libjpeg libxslt libicu zlib libxml2 mmap pthread urpo libstdc++6 libstdc++ uclip ft2lib expat

I marked all code sections to load high.

56
Setup & Installation / Re: ArcaOS 5.0.x OVA for VirtualBox
« on: June 08, 2023, 12:24:40 am »
I tried this again with VirtualBox 7.0.8. I added my .ISO of ArcaOS 5.0.7 and it booted up to the point where it needs to find the .ISO, but it can't.

57
Hardware / Re: Resolution Assistance
« on: May 23, 2023, 03:23:54 pm »
I don't have an M93p, but I'm using a lot of Lenovo machines with a 4K monitor with DisplayPort and HDMI inputs. With all the machines, I get 3840 x 2160 resolution for DisplayPort, and 1024 x 768 for HDMI.

I'm using Panorama. I think I tried SNAP, but it didn't do any better. I tried with ArcaOS 5.0.7 and ArcaOS 5.1 beta. Panorama offers what the monitor tells it to offer. Perhaps if you had a better DP-HDMI converter, things would work better. I plan to try the only VGA-DP converter on the market, and I'll report that when it arrives.

It would be nice to have a real video driver for monitors like this one. DisplayPort and HDMI carry Audio as well as Video, and we lack this capability. In practice, I can also use 1920 x 1440, which looks nicer than expected on the monitor.

Thanks for the update, I used your site in configuring it.  ;) It may be the adapter itself then // it looks wider on the HDMI (monitor side) so I probably have an active conversion going the wrong way and failing back to passive? Not sure, probably could try some others.

I ended up using a VGA to HDMI converter that has a USB to carry sound as well, have not tested the sound yet.

My resolution now can get up to 1920x1080 but fails when I try the full 4K.

Do you have a link to the DP to HDMI cables you are using? I would love to return this $50 cable and get one that supports 4K.

KC

My Monitor has a DisplayPort input. I use that. I have not found a real working VGA to HDMI converter, but I'm more focused on getting VGA to DisplayPort to work.

My other find, which may or may not be helpful was a Lenovo branded USB-C to DisplayPort adapter. This makes my Lenovo and Dell laptops work well with the monitor.

Sound is also an issue. Without a driver that combines audio and video, I suspect I need a real mixer to do the job.

58
Hardware / Re: Resolution Assistance
« on: May 22, 2023, 03:16:04 pm »
I don't have an M93p, but I'm using a lot of Lenovo machines with a 4K monitor with DisplayPort and HDMI inputs. With all the machines, I get 3840 x 2160 resolution for DisplayPort, and 1024 x 768 for HDMI.

I'm using Panorama. I think I tried SNAP, but it didn't do any better. I tried with ArcaOS 5.0.7 and ArcaOS 5.1 beta. Panorama offers what the monitor tells it to offer. Perhaps if you had a better DP-HDMI converter, things would work better. I plan to try the only VGA-DP converter on the market, and I'll report that when it arrives.

It would be nice to have a real video driver for monitors like this one. DisplayPort and HDMI carry Audio as well as Video, and we lack this capability. In practice, I can also use 1920 x 1440, which looks nicer than expected on the monitor.

59
Hardware / Re: [Solved] Iomega ZIP 100 IDE
« on: May 16, 2023, 02:33:36 am »
I tried DFSee, but DFSee does not see the drive at all. LVM can see the drive, but no operation actually works. I tried renaming the drive, and it says it worked, but when I open it again in LVM, the original lack of disk name appears.

MiniLVM shows an extra unavailable drive with the right size, but no operation is allowed.

I found a USB zip drive and hoked it to an ArcaOS 5.1 beta system. Everything seems to work. I can verify that my zip disks are working. I used this system to assign a drive letter to the disk.

Back on the IDE Zip drive system, the disk with LVM information does not appear. Adding a drive letter does not seem to help.

60
Hardware / Re: [Solved] Iomega ZIP 100 IDE
« on: May 14, 2023, 03:16:31 pm »
I would think so, but LVM says the drive is inaccessible, and MiniLVM seems to agree. It shows the little cloud and does not give the option. I think the actual zip disk is formatted HPFS.

Back in the day, DaniS506.ADD didn't need any parameters to access a Zip disk. I wonder what the !BIOS flag does?

Pages: 1 2 3 [4] 5 6 ... 66