6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Apr 24, 2024 6:09 pm

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Tue Dec 16, 2014 8:31 am 
Offline

Joined: Sat Nov 22, 2014 6:49 pm
Posts: 36
Hi Mike! The ATmega1284P halts the CPU anyway for video memory accesses, so I'm using the same mechanism for updating the I/O memory. So, yes, it's stopping the CPU during keyboard reads.

I forgot to mention that I'm using the address lines as selectors for I/O devices. A0 selects keyboard controller (ATtiny2313), A1 selects 74HC541 buffer for reading joystick port 1, A2 is joystick port 2. This way I don't need any decoding logic for I/O and there's plenty of lines left for more devices.

Cheers! -Petri


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 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: