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 [2] 3 4 ... 26
16
Multimedia / Re: SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 31, 2019, 11:42:40 pm »
Rewriting the USB driver stack as (almost) 32-bit is a waste of time. The performance gain will be unnoticeable because all transfers are done by the USB Busmaster DMA Hardware anyway. There is still the drawback with USBMSD that scatter/gather lists cannot be passed to the HC drivers (and I implemented a workaround for this limitation on my USBMSD). The USB stack otherwise works fine the way it was.
But I don't really care anymore. It is useless to argue against these decisions.

17
Programming / Re: Compiling Tookit WPS applications
« on: May 31, 2019, 11:33:11 pm »
The makefile was written for either CSet or VAC 3.
But you are using VAC 3.65. You are on your own but it surely can be fixed. Also looks like your DPATH does not contain all necessary paths for the VAC 3.65 compiler/linker.

18
Multimedia / Re: SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 29, 2019, 05:45:04 pm »
I fixed USBD.SYS with 10.227.
That might explain why it now works ...
In the past I have done a lot of fixes and changes to USBAUDIO.SYS. I have no idea what David has done to the corresponding AN driver.

19
Multimedia / Re: SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 28, 2019, 05:41:54 pm »
I installed the USB Audio 223 on my laptop, where USB audio had worked before, and the SYBA adapter is working fine. It must be a USB Audio 1.0 compatible device.

If 10.227 does not work for you as a whole you can also install AN 11.17 and only install the USBAUDIO install package.

But something is stopping it from working on the desktop, a Lenovo M720s that has only USB 3.0 ports. I am using an add-in Startek USB 2.0 PCIe card to provide USB. This seems to work for booting from memory stick, and mouse and keyboard.

But for both USB Audio 223 and USB Audio 226, there is no sound. When I run play.cmd, it does not ever complete. I plan to get 227 and try it. I'll let you know if it works.

20
Multimedia / Re: SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 24, 2019, 10:30:41 pm »
If you did install 10.227, make sure you also selected the SPI update and also the applet install.
Then, go to "Multimedia Setup" and select the default wave/ampmix device. You can switch back and forth. As soon as you have double clicked on an entry, that device will become the default device.

Lars

21
Multimedia / Re: SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 24, 2019, 08:18:40 am »
Unfortunately the USBRes output is broken (the tool is broken).

My guess is that it is an USB audio standard 2.0 device in which case you will need the USB audio drivers from my USB package. There is a USBAUD2.SYS driver that will serve those devices.

22
Web applications / Re: Firefox and youtube
« on: April 15, 2019, 09:25:11 am »
Hi André, it is actually the symbol in the icon that is trademarked. The rules are here, https://www.mozilla.org/en-US/foundation/trademarks/distribution-policy/ which clearly states that we can't distribute the Firefox branded web browser.

Hi Dariusz, yes the icon is compiled into firefox.exe as a resource and can't be easily changed.

Normally you should be able to use resmgr (comes with eCS and also AN) and pull the resources from the exe.
Then, you can replace the icon and use "rc.exe" to readd the resources to the exe (the whole resources segment will be overwritten/replaced by rc.exe). But you might need to use LXLITE /X to uncompress the exe before pulling out the resources and after readding you need to use LXLITE to recompress the exe.

23
Applications / Re: Converting .BOO to PDF ?
« on: April 08, 2019, 09:55:42 am »
Hallo Martin,
Just to lessen your expectations:

the IBM library reader does NOT allow to print the whole document (via a converter to PDF, for example).
For copyright reasons the reader will only print MARKED text. I don't think that is what you want ...

24
Applications / Re: OS/4 (technical details only)
« on: April 08, 2019, 09:40:14 am »
You should have read the OS/4 kernel readme. It clearly states that in order to use OS4APIC.PSD with the /APIC switch you have to also use ACPI4.BPD. The only alternative to this set up is a patched ACPI.PSD as a replacement for OS4APIC.PSD+ACPI4.BPD (which will never happen as the OS/4 guys need to patch each and every new version of ACPI.PSD in order to make it work with the OS/4 kernel).

In short: if you don't have ACPI4.BPD then you cannot specify the /APIC switch. But if you have working MPS 1.4 tables then you also do not necessarily need ACPI support. One drawback will be that you cannot power off via ACPI (obviously) if you don't have ACPI support.

25
Programming / Re: OW, JNI (GCC built java 1.6) and parameters
« on: April 07, 2019, 08:46:44 pm »
class LoadLib {
...

public:
    EXCEPTIONREGISTRATIONRECORD *pex;
...
    LoadLib( EXCEPTIONREGISTRATIONRECORD *prec, PSZ pszLibrName = "", PSZ pszLibrPath = ".", bool fpe = true) {
    pex = prec;
    memset(pex,0,sizeof(*pex));
    ...
    pex->ExceptionHandler = ( ERR )fpeHandler;
    DosSetExceptionHandler( pex);
    ...

    ~LoadLib() {
         if (pex->ExceptionHandler)
              DosUnsetExceptionHandler(pex);
     ....


call:

JNIEnv* create_vm(EXCEPTIONREGISTRATIONRECORD *pex) {
    javm = new LoadLib( pex,"client\\jvm" );//, ".", false ); //when used with sqlite3 and cairo
    ...


int main( int argc, char **argv ) {
    EXCEPTIONREGISTRATIONRECORD ex;
    JNIEnv* env = create_vm(&ex);
    ...
    delete javm; <---- your forgot this one ...
    return 0;
}


Just one thing to note: be aware that an exception handler can only be registered for the CURRENT stack frame (and everything called directly or indirectly from this point).
That is, you need to do "delete javm" BEFORE you return from the function where you called "new LoadLibrary". That also means you cannot pass around the LoadLibrary object and then return from the function registering it.

Also be aware that you need to set exception handlers PER THREAD. You cannot do a "new LoadLibrary" and then expect the exception handler to work from another thread (but see above, it's forbidden to pass around the object anyways).



       

26
Applications / Re: Converting .BOO to PDF ?
« on: April 06, 2019, 02:42:05 pm »
The link I gave contains everything: the DOS version, the Windows version and the OS/2 version.
The files you need (for english) are ios2pen1.exe and ios2pen2.exe.

27
Applications / Re: OS/4 (technical details only)
« on: April 06, 2019, 02:06:09 pm »
That still does not answer the question why ACPI4.BPD is not bundled with the OS4 kernel package. The kernel package only contains OS4APIC.PSD but not the BPD.
And by now, ACPI4.BPD cannot be found on the OS4 web page any more.
I do have ACPI4.BPD but I don't even remember where I got it from ...

29
Ok, after having had a private exchange I take it for granted that this problem is fixed in the OS/4 kernel but not in the IBM or AN kernels.

30
Applications / Re: OS/4 (technical details only)
« on: April 04, 2019, 11:58:17 am »
For what it is worth:
if you ask the OS/4 guys, they are going to provide you with an ACPI4.BPD driver plus the OS4APIC.PSD driver that goes along with it. This combination is a full replacement for ACPI.PSD as provided by AN.
The "BPD" driver variant is an OS4 extension to the driver model (they are special, will load without being listed in CONFIG.SYS and load early in the boot process).

However, the ACPI4.BPD driver is beta.

Pages: 1 [2] 3 4 ... 26