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

Pages: 1 ... 64 65 [66] 67 68 ... 86
976
Setup & Installation / Re: ArcaOS5 - My personal experience by Sigurd
« on: January 06, 2019, 12:37:31 pm »
Scenario 3: It tried an Installation in Virtualbox 5.1.22 inside Windows 10 Pro 64 1703 on the Surface Pro 4.

Result: Perfect!

Did perfection include getting SMP to work (multiple processors) ? I couldn't get that part to work in Virtualbox with ArcaOS 5.0.3 .

Also, with the VirtualBox extensions, I couldn't find a way to select a custom resolution.

My real monitor is UHD 4K - 3840x2160 . The highest resolution available is 1600x1200 . I know about scaling in VB, but would like to see if it's possible to do better than that.

1) SMP does not work in Virtualbox and it likely never will. You are not alone. What I did was to use the SMP kernel and limit the number of CPUs with PSD=ACPI.PSD /MAXCPU=1 but you could also use the W4 kernel without any PSD

2) in order to use custom resolutions with either GENGRADD or PANORAMA you will need to add one for the virtual image itself.
For that you use vboxmanage with the "setextradata" command like so:
vboxmanage setextradata "VM name" "CustomVideoMode1" "3840x2160x32" (that is x-size x y-size x bit depth)
You find vboxmanage.exe in the Virtualbox installation directory.
What this essentially does is add a new BIOS screen resolution which can then be queried by GENGRADD or Panorama.

977
Setup & Installation / Re: Adding and Removing Printer drivers
« on: January 01, 2019, 06:21:49 pm »
Neil wants to delete a printer driver and not necessarily a printer. Looks like PRNDRV.EXE can only modfiy queues and printers but not directly printer drivers.
In the past I had a screwed up OS2SYS.INI (screwed up with respect to printers and printer drivers) which happens if a printer driver installation fails half way and the only resort was to fix OS2SYS.INI directly.

978
Applications / Re: SeaMonkey 2.42.9 CPU spiking
« on: January 01, 2019, 03:20:06 pm »
https://bitbucket.org/dryeo/dry-comm-esr31/downloads/firefox-45.9.0.en-US.os2.SandyBridge.zip

It does work on AVX machine :) .
The comparison with nonAVX ver will be done after New Year holiday.
Dave, thank you very much one more time :)

Looking at the Intel spec:
"C5,"F9","6E" bytes are likely the beginning bytes of the "VMOVD" AVX instruction (either "C5" or "C4" start an AVX instruction in general)

So yes, that would be valid AVX code.

Lars

979
Programming / Re: Compiling my first WPS application
« on: December 31, 2018, 10:35:10 am »
you do not necessarily need Netscape Communicator to install VAC 3.6.5. Alex Taylor has published articles on how to use an install object to install the application (I cannot find it right now). In fact I "pimped" my installation CD-ROM so that I can install VAC 3.6.5 without ever running Netscape Communicator.

I just remember that I created a zip of updated files for the VAC 3.6.5 installation CD-ROM. Basically you copy your CD to the harddisk, drop the contents of the ZIP over it and reburn the CD-ROM.

It's here:
http://hobbes.nmsu.edu/download/pub/os2/dev/cplusplus/patches/vacinstfix2.zip

980
Setup & Installation / Re: Adding and Removing Printer drivers
« on: December 30, 2018, 08:26:15 pm »
If you want to delete a printer driver, make sure you select it with a right mouse click so that it does not become highlighted when you attempt to delete it.

If that fails: sometimes you gotta be brave and use regedit2 to clean up os2sys.ini. If you have more than one printer installed you can guess from the other entries of what you need to fix. Maybe one of these days I am going to write a Rexx Script for that ...

These are the keys you need to look at:
PM_DD_<your printer name>
PM_SPOOLER_DD
PM_SPOOLER_PRINTER
PM_SPOOLER_PRINTER_DESCR
PM_SPOOLER_QUEUE
PM_SPOOLER_QUEUE_DD
PM_SPOOLER_QUEUE_DDDATA
PM_SPOOLER_QUEUE_DESCR
PM_SPOOLER_QUEUE_STATUS
PM_SPOOLER_QUEUE_TYPE

You will realize that there are some cross dependencies that will allow you to figure out what exactly to delete. If you are really daring, you can look into the DDK source code for PSCRIPT.DRV ...

981
Programming / Re: Compiling my first WPS application
« on: December 29, 2018, 01:38:15 pm »
Du hast Recht und ich habe meine Ruhe.

982
Programming / Re: Compiling my first WPS application
« on: December 28, 2018, 01:48:09 pm »
1) VAC  = "Visual Age for C++"
2) no, the list is now wrong. There was a version 3.0 , 3.6.5 and 4.0 for OS/2 and Martin's list was correct. Version 3.0 did not support 64-bit data types, Version 3.6.5 did and Version 4.0 has a completely different IDE (also getting rid of using conventional makefiles). These are completely different products.

Bogdan aka Andreas Kohl aka ak120 aka Andreas Kohl (in cyrillic letters) I think it's time for you to step up from behind the bush. It can only be you to write such nonsense.
Being the smart ass that you are I am sure you thought it was a brilliant idea to change the user name to not being banned again.

@Martin: of course it is now up to you what you want to believe or not.

983
Programming / Re: Compiling my first WPS application
« on: December 27, 2018, 12:42:44 pm »
Hi

I had wrote this quick article about my experience compiling HWMan.
It is located here: http://www.edm2.com/index.php/Compiling_HWMan_WPS_Class_on_ArcaOS_5.x

Constructive criticism and spell/grammar check are always welcome.

Regards


you do not necessarily need Netscape Communicator to install VAC 3.6.5. Alex Taylor has published articles on how to use an install object to install the application (I cannot find it right now). In fact I "pimped" my installation CD-ROM so that I can install VAC 3.6.5 without ever running Netscape Communicator.

What you effectively need to do is create an installation object and import the "PORTAPAK.RSP" file into the installation object.
Here is something that you can run from a batch file. Replace and rename directories as appropriate (the notes I wrote down):

C.  Invoking installation directly through an installation object
    I have reworked and modified PORTAPAK.RSP (on your VAC 3.6.5 installation CD-ROM) so that it can also be used to create an installation object.
    You create an installation object via CLIFI.EXE (it is installed on every OS/2 machine) once you have burned a new CD-ROM from the original
    CD-ROM and these patches.

    For what follows, assume this:
    a.) your CD-ROM is drive V:
    b.) you want VAC 3.6.5 installed to drive D: and directory IBMC365
    c.) you want the OS/2 toolkit installed to drive E: and directory TOOLKIT

    echo /O:ROOT >parms.txt
    echo /SET:InstDrv1=D: >> parms.txt
    echo /SET:InstDrv2=E: >> parms.txt
    echo /SET:InstDir1=IBMC365 >> parms.txt
    echo /SET:InstDir2=TOOLKIT >> parms.txt
    echo /SET:PackagedFromPath=V:\COMPILER >> parms.txt
    echo /SET:ImageMediaPath=V:\COMPILER >>parms.txt
    echo /R:V:\COMPILER\PORTAPAK.RSP >>parms.txt
    echo /S:V:\COMPILER >>parms.txt

    clifi.exe /A:B /F:"<WP_DESKTOP>" /PARMS:parms.txt

    The installation object is created on your desktop. If you open it you can select/deselect the individual features to install. After installation
    you can either delete the object or keep it around somewhere if you want to install later on.
    During installation, you are asked to specify the "Source Media": just reenter the path: V:\COMPILER

I DID slightly modify file PORTAPAK.RSP but it should also work with the unmodified version.

984
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 20, 2018, 03:45:56 pm »
No.

Get a newer OS version. Warp is dead. On OS/2 versions without LVM there is no decent way to assign drive letters to removables.

985
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 19, 2018, 07:31:40 am »
delete these 3 lines and replace with:

BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0 /CDS:1
That'll get you up to 8 USB sticks/disks, up to 1 USB CD-ROM drive and up to zero USB floppy drives.

USBCDROM.ADD is completely bogus (but it won't hurt if you load it …)

986
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 18, 2018, 09:58:16 pm »
Do not load USBMSD.ADD twice !

987
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 18, 2018, 09:07:11 am »
about GETDESC.DLL:

this DLL uses these additional DLLs:
OS2OM30.DLL
SOM.DLL
DOSCALL1.DLL
KBDCALLS.DLL
NLS.DLL
MSG.DLL
SESMGR.DLL


The last 5 DLLs should all be in the \OS2\DLL directory. SOM.DLL can be a bit tricky. You should use the one in \OS2\DLL as this is the most up-to-date (there are compilers/toolkits that tend to supersede this file with their own which is a bad idea).

OS2OM30.DLL should also be in \OS2\DLL.

A word of warning regarding DOSCALL1.DLL: it has to match the kernel that you are using. The version for the W4 kernel is DIFFERENT from the version for the SMP kernel. Normally (fixpak etc.) you will get the kernel and the corresponding DOSCALL1.DLL as a matched set so normally you will not need to worry. But if you replace the kernel, you should be aware of that.

For GETDESC.DLL, at least on my system, this file is located in \ECS\DLL and not in \OS2\DLL (I am still using eCS).


Lars

988
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 17, 2018, 09:12:25 am »

If you want USB Mouse/Keyboard add this line:-

BASEDEV=USBHID.SYS

(If using as a guest in VBox you may not need the above line)

Hi Pete,
this is not sufficient for native USB keyboard and mouse support.

But in any case, in order to keep things simple and to not confuse Mauro any further, I strongly recommend to NOT specify any HID drivers (USBHID.SYs, USBKBD.SYS, USBMOUSE.SYS) at all. That's because for the guest, VBOX properly emulates a PS/2 keyboard and PS/2 mouse, no matter what physical keyboard and mouse HW you use.
In short: you need no USB drivers in the guest to have keyboard and mouse support in VBOX.

Lars

989
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 16, 2018, 06:41:41 pm »
Why do you keep ignoring what people are telling you ?

1) you need to load USBD in any case: BASEDEV=USBD.SYS
2) you have one OHCI host controller, you need to load BASEDEV=USBOHCD.SYS
3) if you enable USB 2.0 in the VBOX gui, you need to add yet another driver: BASEDEV=USBEHCD.SYS
4) you have to load USBD.SYS before you load USBHID.SYS, else USBHID.SYS is not going to load
5) you neither need USBHID.SYS, nor USBKBD.SYS nor USBMOUSE.SYS becauseVBOX emulates a PS//2 mouse and keyboard
6) you do not need to load USBUHCD.SYS, never, ever

You can now continue fumbling around with your system or you can do it right.

990
Applications / Re: USB pendrive on OS2 4.52 VBox guest
« on: December 15, 2018, 03:31:57 pm »
Time to step in I guess:

Virtualbox aka VBOX emulates exactly one OHCI USB host controller for USB 1.x and, if you enable USB 2.0, exactly one EHCI host controller, regardless of what HW you PHYSICALLY have in your PC.
That said, this is what you need in your config.sys in the OS/2 guest installation to get things to work:
BASEDEV=USBD.SYS
BASEDEV=USBOHCD.SYS
BASEDEV=USBEHCD.SYS

and then, of course, the various USB class drivers, usually that is:
BASEDEV= USBMSD.ADD /REMOVABLES:5 /FLOPPIES:0 /CDS:1 (as an example)

BASEDEV=USBHID.SYS
DEVICE=C:\OS\BOOT\USBKBD.SYS
DEVICE=C:\OS2\BOOT\USBMOUSE.SYS
Please note that you really do not need to install the HID/KBD/MOUSE drivers as VBOX emulates a PS/2 mouse and PS/2 keyboard even if you use a USB mouse !

What you then need to do when you plug in a USB stick is to "pass over" the USB stick from the host to the guest. That works via the VBOX GUI where you can explicitely claim a USB device from the host in which case it will disappear in the host and show up in the guest.
You can even automate this step for a specific device the moment that device is plugged in (read the VBOX manual on how that is done). Once the stick is "passed over" it will pop up in OS/2 just like in a native installation.

Lars

Pages: 1 ... 64 65 [66] 67 68 ... 86