It is currently Wed Oct 18, 2017 6:17 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jan 20, 2014 7:42 am 
Offline

Joined: Sun Jan 19, 2014 10:16 am
Posts: 1
I counted that a game boy cartridge has 32 pins, but what do they all do and how does it work?

From searching around I gather that there is a voltage pin at the end and ground at the other, and there must be a couple of pins to say whether the cart is being accessed in read or write mode. I think that 15 of them are used to address a memory location and 8 of them are used to output a byte (and maybe input it too, if you're in write mode). I don't really have complete information on it though.

Edit: I remember reading that there is an "audio" pin but that was never used in anything.

Edit 2: I found the answer [url=www.insidegadgets.com/2011/03/19/gbcartread-arduino-based-gameboy-cart-reader-–-part-1-read-the-rom/]here[/url]

  • VCC – Power (5 volts)
  • CLK – Clock signal (not used)
  • ~WR – if low(grounded) and if RD is low, we can write to the SRAM and load a ROM or SRAM bank
  • ~RD – if low (grounded) and if WR is high, we can read the ROM and SRAM
  • CS_SRAM – if enabled, selects the SRAM
  • A0 – A15 – the 16 addresses lines that we tell the ROM which particular byte of data we want to read
  • D0 – D7 – the 8 data lines that we read the byte of data selected by the 16 address lines. These data lines can also be used to control which ROM bank to load (important for later).
  • Reset – needs to be connected to VCC
  • Audio in – (not used)
  • GND – Ground


Last edited by brook2 on Mon Jan 20, 2014 9:07 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Mon Jan 20, 2014 8:51 am 
Online

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19094
Location: NE Indiana, USA (NTSC)
Do either of these answer your questions?
http://reinerziegler.de/readplus.htm
http://nocash.emubase.de/pandocs.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group