Reading real cartridges (Update - IT LIVES! - video)

Show off your completed Game Boy Zero, or post your build logs here!
Pap
Posts: 39
Joined: Sat Nov 05, 2016 12:59 pm
Has thanked: 14 times
Been thanked: 7 times

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by Pap » Mon Aug 14, 2017 8:07 am

that is really the least you should worry about now:)

User avatar
YaYa
Posts: 1719
Joined: Mon Jun 26, 2017 12:42 pm
Location: brittany - France
Has thanked: 871 times
Been thanked: 689 times
Contact:

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by YaYa » Mon Aug 14, 2017 8:20 am

Instead of focusing on a through hole version, you should first focus on getting a good camera with better focusing capacities :lol: :lol: :lol:

(just kidding, please do not take it wrong, i like joking and tackling) lol :D
Follow me on instagram Image

Apis
Posts: 68
Joined: Mon Oct 31, 2016 11:44 am
Has thanked: 35 times
Been thanked: 33 times

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by Apis » Wed Aug 16, 2017 1:13 pm

Was SPI faster?

User avatar
144TECH
Posts: 325
Joined: Fri Jan 06, 2017 7:30 am
Location: Amsterdam
Has thanked: 256 times
Been thanked: 71 times

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by 144TECH » Sat Jan 13, 2018 6:55 am

What about a I2C / Gpio expander for DPI aswell, (i wanted it too for pi2vga in combination with a safeshutdown)
Hope that DMG1 stuff i've sent you was usefull.
Thank you, Greets.
* Very Rare * GBZ 640x480 v3 Stock Looks 6000MAH
http://www.sudomod.com/forum/viewtopic.php?f=43&t=4863

User avatar
Hex
Posts: 113
Joined: Tue Aug 16, 2016 12:10 am
Has thanked: 12 times
Been thanked: 47 times

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by Hex » Tue Jan 16, 2018 9:57 pm

@abrugsh SPI needs 6 pins in its minimal form, 2xpower and MOSI,D/C,CLK,reset. SPI does not use up the i2c pins.

If you need the GPIO for communication then SPI or composite are your only choices.
Sent from 20,000 leagues under the sea

My Cardboard GBZ build : http://www.sudomod.com/forum/viewtopic.php?f=9&t=2851

EmulationStation optimization for Pi Zero : http://www.sudomod.com/forum/viewtopic.php?f=8&t=2922

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by tinkerBOY » Wed Jan 17, 2018 7:59 am

This is awesome! Im following.

I've always wanted to do a similar project like this https://www.tindie.com/products/JRodrig ... r-gameboy/ which makes it easier to save roms and save files.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter

User avatar
abrugsch
Posts: 971
Joined: Tue Aug 02, 2016 10:00 am
Has thanked: 356 times
Been thanked: 430 times
Contact:

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by abrugsch » Mon Jan 29, 2018 7:27 am

ok guys this has been on hold for a while thanks to several things (mainly the amount of sleep my little one allows me...)

There's a RGB565 mode that frees up SPI without the Chip Select pin AFAIK it's JUST doable as long as I don't need any other devices on the SPI bus. (I can use more than one MCP23S17 since it has it's own addressing mode using the same CS line. as long as the CS lines on the MCP's are held low then they will be selected and active.)

@144Tech I2C/SPI is too slow for DPI.
Sorry, I forgot to look at the stuff you sent. where did you send it? (Email/PM/Discord ?) Yeah. I'm terrible. I've barely even been on the forum for a couple of months! - usually on discord though
kite wrote:
Thu Jan 18, 2018 1:20 am
Just thought actually, the shift registers are input only, so it wouldn't actually work as intended as i think you have to do writes to set the registers in cart for which banks to read? :) ignore me, just spouting random things!
yep exactly! original designs for a reader only used shift registers on arduino, and was where i started out. but since I need Bi-Di (especially if I want to extend to GBA) then full port expanders is the only way to go. however it may well be that to get the speed i want, MCU's are looking increasingly likely the way to go. (that is what BennVenn does afterall...)

User avatar
abrugsch
Posts: 971
Joined: Tue Aug 02, 2016 10:00 am
Has thanked: 356 times
Been thanked: 430 times
Contact:

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by abrugsch » Mon Jan 29, 2018 8:09 am

kite wrote:
Mon Jan 29, 2018 7:45 am
Bit banging SPI in C level code (wiringPi) is actually very fast. I've seen benchmarks of 10-20MHz output. Way faster than hardware I2C! The GPIO Soft SPI would be CPU intensive, but it only needs to happen at the start when not playing so that should be fine?
this is true... I didn't realise bit banging SPI was quick. I'll have to experiment a bit in that case, though wiring pi didn't seem to be setup well for transferring whole bytes of data, more individual pins. I'll definitely check it out once i've got to the bottom of the strange behavior I was seeing. (may have been device specific, i.e. borked)

mattmikemo
Posts: 11
Joined: Tue Nov 07, 2017 11:26 am
Been thanked: 1 time

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by mattmikemo » Wed Feb 14, 2018 12:10 pm

Just discovered this thread. Awesome work. This will be my dream Gameboy once this project is ready. Actually tearing up a little Thank You!

User avatar
abrugsch
Posts: 971
Joined: Tue Aug 02, 2016 10:00 am
Has thanked: 356 times
Been thanked: 430 times
Contact:

Re: Reading real cartridges (Update - IT LIVES! - video)

Post by abrugsch » Wed Feb 14, 2018 12:37 pm

Just to let you know, the project isn't dead... Just had other IRL priorities lately but I'm definitely going to be finishing this as soon as i can

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest