OS/2, eCS & ArcaOS - Technical > Games

DOS VDM - USB and Game port Gamepad support

<< < (73/77) > >>

Mark Szkolnicki:

--- Quote from: Sigurd Fastenrath on November 06, 2022, 10:21:32 pm ---Hi Mark,

thank you very much for your kind words and deep explanations!  I really do appreciate the work you and your fellows are doing in this thread, great!

I made a presantation at our (sadly) Last User Meeting in Cologne yesterday with Dosbox and ScummVm as topics. I remember the painfull memory management and config.sys trials and errors to get in 1995 enough free memory on MS DOS 6.22 (needed almost 580/590k of free memory if i remember correctly), for my first (and still for me one of alltime best) DOS Game named BIOFORGE from Origin. So my 486 PC at that time had Dualboot with OS/2 Warp 3 and MS DOS 6.22.

After several Years Paul Smedley thankfully ported ScummVM to OS/2, wich makes - with a lot of other DOS Games and even Hopkins FBI, - Broken Sword 1+2 playable on OS/2, without any restrictions!

All the best and good luck!!

Sigurd

--- End quote ---

Yes I heard about Cologne closing up on the Java Applications thread about a week ago.

I was particularly interested in that, as I followed Joops efforts for a number of years - I run about 20 Java applications including games, and that was all due to his efforts - from his work I learned how to run Java apps through CMD files, and still have those templates.

I'm sorry to see that he shutdown the website, as I don't think he ever received the recognition he deserves for his work there - for many years I have been more a lurker than a contributor and tester, out of necessity, running my own consulting firm and doing emergency planning and training and response around the world.

Now in semi-retirement I've been spending a lot of time testing both this project, as well as Paul's UniAud32 efforts, and going down my "To Do" list of things I wanted to get working in the past, being a hardware geek and building my own towers.

I go back to having the third IBM PC in Winnipeg, Manitoba Canada in the early 80's - the machine had NO hard drives, an 8086 processor (no 8087 co-processor) and if I recall right 16 M of memory, had an advanced video card (Hercules monochrome), and no sound card (got a Soundblaster original when I could afford it) - it ran DOS 5.0 off a floppy, and had two full height 360 K 6 inch floppy drives. But I could still run my first Word Processor (Volkswriter) on that configuration.

Started with OS/2 2.0 on a 386 box over 30 years ago, and have run my business on the various OS incarnations since, using Virtual PC and VirtualBox mostly, to run Windows as needed.

I hang around here mostly because I admire the work done by some very dedicated and talented people - and because I've made a lot of friends here  8)

Despite Cologne, hope I still see you hanging around here Sigurd - and I'm always interested in what people have to say, if you want to contribute to any conversation.

Best of the week to you Sir!

M

Mark Szkolnicki:
Heh David!


--- Quote from: David McKenna on November 06, 2022, 05:17:36 pm ---
 Hope this is useful. What would be the next step?

Regards,

--- End quote ---

Could you also post your Equipment ID for the gamepad (the one generated and which you added to Wims USBECD,SYS /D: and /N: statements.

Also that seems to be a lot of buttons - do any of the buttons overlap in function?

M

Mark Szkolnicki:
Heh Dave!


--- Quote from: Dave Yeo on November 06, 2022, 06:47:11 pm ---Manual says for modern games, to use XInput mode with DirectInput being an older input standard and better for older games.

--- End quote ---

Ran across this in my research today:

https://learn.microsoft.com/en-us/windows/win32/xinput/xinput-game-controller-apis-portal

and of course that stellar answerer of questions, Wikipedia:

https://en.wikipedia.org/wiki/DirectInput

XInput is a Windows API for "next generation" controllers, and was introduced in December 2005 alongside the launch of the Xbox 360. This specification provided support for Xbox 360 controllers in Windows XP SP1 and subsequent operating systems, and is described by Microsoft as being easier to program for and requiring less setup than DirectInput. XInput is compatible with DirectX version 9 and later.

DirectInput is a legacy Microsoft API for collecting input from a computer user, via input devices such as the mouse, keyboard, or a gamepad. It also provides a system for action mapping, which allows the user to assign specific actions within a game to the buttons and axes of the input devices.

Advantages of DirectInput over XInput:

- XInput supports only controllers that work with the Microsoft Xbox console
- XInput supports a maximum of four controllers at a time. DirectInput has no such limit
- XInput does not support keyboards, mice, or mouse-type devices. While this mirrors Microsoft's recommendation not to use DirectInput with these devices, programmers can use DirectInput with these devices.
- XInput supports maximum of 4 axes, 10 buttons, 2 triggers and 8-direction digital pad per controller, compared to DirectInput's support for 8 axes, 128 buttons, and full-range POV. (The number of axes, buttons and triggers XInput supports corresponds directly to the Xbox 360 controller.)

Advantages of XInput over DirectInput:

- Currently supported by Microsoft

Sounded like the Wikipedia article writer was just a little biased towards DirectInput (sic)  ;D

If your gamepad is stuck in DirectInput mode, obviously some kid loved his legacy games, Windows or otherwise, or gave up that controller long ago - however as that's what we're trying to address here, its probably the mode you and David would like to test in if we can ever get this going and Best!

M

David McKenna:
Hi Mark,

  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

 seems to work fine in XInput mode, not so in DirectInput mode. As far as overlapping functions, I really don't know since I've only had this thing for a month or 2 and got it just for this purpose. Haven't tried it yet on Windows even. Got any advice on what I could test on Windows to determine overlapping functions?

Regards,

Dave Yeo:

--- Quote from: David McKenna on November 07, 2022, 10:55:27 pm ---Hi Mark,

  Here is the line I use in CONFIG.SYS:

DEVICE=C:\OS2\BOOT\USBECD.SYS /D:046D:C21#:4014 /N:$GAMEPD$ /S

--- End quote ---

Is that # a typo for 6?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version