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

Support for emulated memory cards #596

Closed
strikersix23 opened this issue Dec 12, 2021 · 13 comments
Closed

Support for emulated memory cards #596

strikersix23 opened this issue Dec 12, 2021 · 13 comments
Labels
enhancement New feature or request

Comments

@strikersix23
Copy link

Feature Request

Use an 128mb fatx formated img file as an memcard

Alternatives

Usimg an img file as an usb

Additional Context

this would allow transfer of a raw rip of usb and memstick data to the host

@strikersix23 strikersix23 added the enhancement New feature or request label Dec 12, 2021
@binarymaster
Copy link
Contributor

Looks like a duplicate of #90 and/or #389.

@strikersix23
Copy link
Author

Is there a temporary way to do so?

@GXTX
Copy link
Contributor

GXTX commented Dec 14, 2021

There is yes, read QEMUs docs on usb-storage devices. Should close this issue as dupe.

@strikersix23
Copy link
Author

strikersix23 commented Dec 14, 2021 via email

@GXTX
Copy link
Contributor

GXTX commented Dec 14, 2021

Any port that's not in-use. See my report in #90 for more info.

@Ryzee119
Copy link
Contributor

Ryzee119 commented Dec 14, 2021

Now that xemu supports internal daughterboard and the controller internal hub you need to use hub 1.x.2 or 1.x.3 (which reflect the two ports on top of the original controller)

Where x=3,4,1,2 for player 1,2,3,4 respectively

@strikersix23
Copy link
Author

Is there an example of use for xemu moniter

@GXTX
Copy link
Contributor

GXTX commented Dec 19, 2021

See my original issue and read QEMUs docs.

@Ryzee119
Copy link
Contributor

Ryzee119 commented Dec 19, 2021

There appears to be a bug in qemu where device_add hangs. Stop first then resume. See https://gitlab.com/qemu-project/qemu/-/issues/650. This works for me

drive_add 0 if=none,id=usbdisk1,file=./test1.img
stop
device_add usb-storage,drive=usbdisk1,port=1.3.2
cont

test1.img needs to be an existing blank file of 8MB for an original size.

image

@Ryzee119
Copy link
Contributor

Works great, 4x8MB memory cards at once over 2 controllers.
image

@strikersix23
Copy link
Author

Thank you

@strikersix23
Copy link
Author

can this be added to the documentation on the website?

@GXTX
Copy link
Contributor

GXTX commented Dec 19, 2021

Can this be closed as invalid duplicate?

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

No branches or pull requests

4 participants