6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 12:21 pm

All times are UTC




Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Thu Dec 28, 2023 3:17 pm 
Offline

Joined: Thu Dec 28, 2023 8:19 am
Posts: 21
Hi,
a little contribution to this supertech community, my personal solution to ACIA and I2C/SPI with 65C02.
It's a DIL28 stamp circuit, 65C51 pinout compatible with following resources:

- one AtMega328PB microprocessor, running at 18.432 Mhz
- one 8 bit latch written from 65C02 , as data register for TX operation
- one 8 bit latch written from AtMega328 , as data register for RX operation
- some logic to allow 65C02 IRQ or NMI operations or polled operation
- one RS232 port of AtMega328 on native pins of 65C51 (pin 10 and 12)
- one further RS232 port of AtMega328 on pins normaly connected to level traslator as RTS/CTS (pin 8 and 9); alternatively should be used as part of SPI connection
- one I2C port of AtMega328 wired on pins 7 and 11

Local AtMega should be used to process communications service as coprocessor..
Enclosed EAGLE files (compatible with free version) and picture of board.


Attachments:
AVR51_v1-2.pdf [89.08 KiB]
Downloaded 64 times
AVR51.jpg
AVR51.jpg [ 214.13 KiB | Viewed 1086 times ]
Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 28, 2023 3:18 pm 
Offline

Joined: Thu Dec 28, 2023 8:19 am
Posts: 21
Here Eagle files


Attachments:
AVR51_v1.zip [64.93 KiB]
Downloaded 30 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 28, 2023 3:51 pm 
Offline

Joined: Fri Jul 09, 2021 10:12 pm
Posts: 741
Very nice indeed! And welcome :)


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 2:40 pm 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 1043
Location: near Heidelberg, Germany
Very nice! I'll have a look as I am investigating a method to connect an atmel avr to a 6502 bus. We may have had the same ideas.

Can you attach screenshots of the schematics as well? I do have eagle, but not really handy eg on my phone now!

Thanks
André

_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 4:12 pm 
Offline

Joined: Thu Dec 28, 2023 8:19 am
Posts: 21
fachat wrote:
Very nice! I'll have a look as I am investigating a method to connect an atmel avr to a 6502 bus. We may have had the same ideas.

Can you attach screenshots of the schematics as well? I do have eagle, but not really handy eg on my phone now!

Thanks
André


André,
attachment of first post is in pdf format, let me know if you are able to read it.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 4:40 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
The 6551 (faux) pinout is nice. Have you implemented serial buffers by any chance?

Attachment:
AVR_51.png
AVR_51.png [ 120.4 KiB | Viewed 1015 times ]


Last edited by Michael on Fri Dec 29, 2023 4:43 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 4:42 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8514
Location: Midwestern USA
Please do not do schematics in color.  There are certain color combinations that are unreadable for me.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 4:54 pm 
Offline
User avatar

Joined: Wed Feb 13, 2013 1:38 pm
Posts: 589
Location: Michigan, USA
BigDumbDinosaur wrote:
Please do not do schematics in color.  There are certain color combinations that are unreadable for me.

Please bookmark; Convert Color to Greyscale


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 10:21 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
Michael wrote:
BigDumbDinosaur wrote:
Please do not do schematics in color.  There are certain color combinations that are unreadable for me.

Please bookmark; Convert Color to Greyscale

What would be interesting and helpful would be if there were a way to apply different color filters like we used to put on camera lenses for B&W photography back in the days of film.  For example, a yellow filter would make clouds stand out more against a blue sky, orange all the more, and a red filter would put bright, puffy clouds against a nearly black sky, whereas a blue filter would nearly make the clouds disappear.  A green filter would brighten foliage.  If the software gave sliders so you could see the results immediately, yellow and light green could for example get separated out instead of both turned to the same shade of gray.  This could be done in Gimp or Photoshop, but it just takes time.  Otherwise it'd probably be best to turn anything that's not white into black.

I've asked Eagle repeatedly to change the default colors in their CAD, but I guess they don't care.  (Now I see Eagle is going down; but I guess KiCad is doing it too.)

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 10:27 pm 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 1043
Location: near Heidelberg, Germany
maurice6502 wrote:
fachat wrote:
Very nice! I'll have a look as I am investigating a method to connect an atmel avr to a 6502 bus. We may have had the same ideas.

Can you attach screenshots of the schematics as well? I do have eagle, but not really handy eg on my phone now!

Thanks
André


André,
attachment of first post is in pdf format, let me know if you are able to read it.


Thanks I only saw the image not the pdf.

Why are you useing '373 latches?

I either use '273 - which are to my knowledge the only ones with /RES or '374/'574 (IIRC) registers. I know chances are very low but latches like the '373 can change while 'open' which can lead to potentially inconsistent values.
Again, chances are low but I like to look at such details ;-)

Thanks again for sharing!

André

_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 11:01 pm 
Offline

Joined: Fri Apr 15, 2022 1:56 pm
Posts: 47
Location: San Antonio, TX, USA
Michael wrote:
BigDumbDinosaur wrote:
Please do not do schematics in color.  There are certain color combinations that are unreadable for me.

Please bookmark; Convert Color to Greyscale
This works, but it's kind of a pain to download the image, upload it to the converter, download the converted image and then view it.

As an alternative I've used this chrome extension (also works on Edge) which adds a key shortcut to render the current web page in greyscale. Other browsers might have a similar option available.

Also, Windows (10 and above) has "Color Filters" (under "Ease of Access") which can apply greyscale to the entire desktop, again via a shortcut. Other OS's might have a similar capability.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 29, 2023 11:50 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
It's also quite easy to download the image then remove the color by means of photo editing software.

GIMP, Photoshop and Paint Shop Pro come to mind, but even a comparatively rudimentary package should suffice. The menu selections will surely include several pertaining to color, and it's only necessary to find the "Saturation" setting and reduce it to the minimum value; this will yield a gray-scale rendition.

I sometimes do this myself, simply because I don't find the color helpful. After one has grown familiar with where menu selections are located, the process can be done in seconds and without assistance from others.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 30, 2023 7:12 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 989
Location: Potsdam, DE
With all respect to BDD, there are plenty of cases where including colour in an image provides either aesthetic or semantic improvement; it seems a shame that this information might be lost, reducing the utility for the majority, to help one viewer. I'm no CSS expert, but I wonder if there might be something which can be done client-side at the browser using CSS? Certainly conversion to grayscale is simple, and indeed one might use different conversion factors (other than the standard Y= 0.3R + 0.59G + 0.11B) to emphasise or otherwise various colours.

That said, as a courtesy I now post all my circuit diagrams in monochrome: in Kicad that's simple - plot the schematic to pdf, and select monochrome rather than colour in the drop-down. I haven't found a useful way to make a similar output of a PCB though; they tend to use a lot of ink if I print them due to the black background...

Neil

ps: when I started work at the BBC in the seventies, there were still significant numbers of monochrome receivers around, so every studio had both monochrome and colour output displays so the director could check the picture remained acceptable on both. But equally I have argued long and hard - and lost the argument on cost grounds - about using bi-colour green/red LEDs to indicate state changes on some designs. Annoying, given that red-green colour blindness is the most common...


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 30, 2023 9:04 am 
Offline
User avatar

Joined: Tue Apr 03, 2018 2:10 pm
Posts: 125
barnacle wrote:
Annoying, given that red-green colour blindness is the most common...


I have a colour-blind friend who has the same feeling about traffic lights. Especially those strung above the road where positional clues may be missing.

_________________
I like it when things smoke.
BlogZolatron 64 project


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 30, 2023 9:06 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Yes, I'm pretty sure a bookmarklet, if not a browser mode or OS accessibility feature, could render any page or image in increased contrast, greyscale, inverse brightness, or any other simple colour space conversion. I'm not motivated to find one or write one, but if in BDD's shoes I'm sure I would.

(I'm generally in favour of accessibility features and accommodations, of course. Sometimes the onus is on the writer, sometimes the publisher, sometimes the reader.)


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

All times are UTC


Who is online

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