Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to force-connect devices to expansion ports #306

Open
beyondlimits opened this issue Nov 9, 2018 · 3 comments
Open

Way to force-connect devices to expansion ports #306

beyondlimits opened this issue Nov 9, 2018 · 3 comments

Comments

@beyondlimits
Copy link

beyondlimits commented Nov 9, 2018

Study and Game 32-in-1 (sha1: 017e9d6f8c37c4842b29986f3217a85a4893e4a1) makes use of Subor keyboard, but neither Nestopia properly recognizes it nor there is a way to force it as input. Therefore I can't use the BASIC interpreter.

Older versions of Nestopia (Windows) allowed to connect various devices to expansion port from the main menu.

@rdanbrook
Copy link
Member

When you say "neither Nestopia" which ports are you referring to? Legacy win32, cross-platform, libretro? I have done nothing to add this feature to the cross-platform of libretro ports; so are you saying the win32 one is broken when it previously worked?

@beyondlimits
Copy link
Author

beyondlimits commented Nov 10, 2018

I'm currently on Linux. Previously I checked out Nestopia (was that 1.40?) on Windows and it had a lot of useful functions in main menu and configuration dialog.

https://github.com/0ldsk00l/nestopia/blob/426df65/source/win32/language/language.rc

Probably the feature got neglected during porting Nestopia to Linux.

I took a look into NstDatabase.xml and in fact that cart is registered on line 17821 (the crc and sha1 being the checksums of headerless files):

<game>
    <peripherals>
        <device type="suborkeyboard" />
    </peripherals>
    <cartridge system="Famicom" dump="unknown" crc="ABB2F974" sha1="C073CD6389E373CBB3433F81196ECE4D09C33BEF">
        <board mapper="39">
            <prg size="1024k" />
            <vram size="8k" />
            <wram size="8k" />
            <pad h="1" v="0" />
        </board>
    </cartridge>
</game>

Despite that, Nestopia doesn't seem to match the keyboard and still provides shortcut keys instead (F for fullscreen, F12 for reset etc.).

BTW, the mapper of that cart indicated by file header is 58.

@rdanbrook
Copy link
Member

Yes, I need to figure out a way to implement keyboard input into the newer ports. I am thinking maybe a mode switch will be necessary: press a certain button to be in Subor keyboard mode, press it again to return to normal inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants