It is currently Mon Jun 24, 2019 8:42 am

All times are UTC - 7 hours



Forum rules





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 16, 2019 3:23 pm 
Offline

Joined: Wed Jan 24, 2018 12:04 pm
Posts: 18
For SNES:
I'm searching a way to use a Rom address line to interact with a PIC MCU.
I'm wondering if writing to a particular register could make an address line pulse.

I'd like to establish a link between the rom and a pic so I may count

I want to write a homebrew menu to count how many time the d-pad is pressed.
Each time I press the d-pad i want to generate a clock to an address line wich would be connected to the pic (not the bus)
This way the pic would count the pulses from the rom.

Thanks


Last edited by mightydidz on Fri May 17, 2019 2:42 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri May 17, 2019 8:23 am 
Offline

Joined: Thu Apr 18, 2019 9:13 am
Posts: 143
mightydidz wrote:
I'm searching a way to use a Rom address line to interact with a PIC MCU.
I'm wondering if writing to a particular register could make an address line pulse.

I'd like to establish a link between the rom and a pic so I may count

I want to write a homebrew menu to count how many time the d-pad is pressed.
Each time I press the d-pad i want to generate a clock to an address line wich would be connected to the pic (not the bus)
This way the pic would count the pulses from the rom.

Thanks


I'm not quite sure why you would want to use an external microcontroller like a PIC in a menu cart, but you could use a 74HCT259 to add eight output pins that would be independently controlled by address ranges on the cart. Wire /LE (pin 14) to /ROMEN, A0-A2 to the Nintendo's A12-A14, and D to the Nintendo's A11. This will not affect the behavior of the cartridge or the code on it, but any access to any address in the range $8000-$87FF will set the first output low, $8800-8FFF will set it high, $9000-$97FF will set the second output low, $9800-$9FFF will set it high, etc. Depending upon what your program wants to do, and how much code is required to do that, it may or may not be practical to make good use of all eight outputs, but unlike some approaches using other parts this one makes it easy to switch any output without affecting any others.


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 5 guests


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