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 the Hack Club Sprig #2

Open
Vishram1123 opened this issue Jan 22, 2023 · 7 comments
Open

Support for the Hack Club Sprig #2

Vishram1123 opened this issue Jan 22, 2023 · 7 comments

Comments

@Vishram1123
Copy link

Vishram1123 commented Jan 22, 2023

I am trying to get this program to work on the Hack Club Sprig (schematic here), and while I can flash the rom, I cannot get the display or the controls to work. This is expected, as you stated that this works only on the DualShock, DualSense, and the BUFFALO BGC-FC801, and with a specific pinout. However, could you possibly use this schematic to add support for the Sprig?

@fhoedemakers
Copy link
Owner

fhoedemakers commented Jan 22, 2023

Unfortunately i don't think i can be of any help in this.

Since the emulator is build for HDMI output (including sound), the display and audio code should be rewritten for use with a TFT breakout board and a separate audio board.
The Adafruit TFT ST7735 specified in your link has a resolution of 128x160 pixels. This is too low, since a resolution of 256x240 is needed,

@Vishram1123
Copy link
Author

Alright, thanks anyway

@Vishram1123 Vishram1123 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2023
@Vishram1123
Copy link
Author

Do you think it would be possible to adapt your PicoSystem handheld version to work with this?

@Vishram1123 Vishram1123 reopened this Apr 24, 2023
@fhoedemakers
Copy link
Owner

Hi, but the resolution is still too low for that device. (128x160 pixels). The NES needs 256x240 pixels. SInce the PicoSystem also has a resolution of 240x240 pixels, i needed to cut-off 8 pixels to the left and 8 pixels to the right. This is somewhat acceptable. But for only 128 pixels screenwidth, this is way too short. Or do i miss something here?

@Vishram1123
Copy link
Author

Vishram1123 commented Apr 29, 2023

You could downscale by getting the average of every other pixel in the x and y directions, so an image like
image
would look like
image

@fhoedemakers
Copy link
Owner

Sorry for the late response. Was quite busy.
This could be an option with the PicoSystem handheld as a starting point, however i do not have the device at hand. Can you be of any help youtself in this?

@Vishram1123
Copy link
Author

Yes, I have the device and I can help (though I am also in the middle of final exams, so it might take a bit to respond); right now, the PicoSystem rom (expectedly) does nothing on my device, but it does show a blue light on the D1 led.

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