Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » Creating peripheral cards for the Apple II
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Creating peripheral cards for the Apple II [message #278251] Thu, 08 January 2015 11:02 Go to next message
Anonymous
Karma:
Originally posted by: Chris Torrence

Hi all,

Does someone have a recommendation for a book or website on creating peripheral cards for the Apple II? I already have the Apple ][ Reference Manual, Inside the Apple //e, and Understanding the Apple II.

I'm really looking for a book that has hardware examples - i.e. what would a "typical" peripheral card look like - what chip(s) to use for peripheral card ROM space, how to handle the address and data bus, etc. In other words, how does someone learn how to build cards like the Apple II Pi, or the SD Disk ][?

Any suggestions would be greatly appreciated!

Cheers,
Chris
Re: Creating peripheral cards for the Apple II [message #278319 is a reply to message #278251] Thu, 08 January 2015 22:49 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: awanderin

Chris Torrence <gorthmog@gmail.com> writes:

> Hi all,
>
> Does someone have a recommendation for a book or website on creating
> peripheral cards for the Apple II? I already have the Apple ][
> Reference Manual, Inside the Apple //e, and Understanding the Apple
> II.
>
> I'm really looking for a book that has hardware examples - i.e. what
> would a "typical" peripheral card look like - what chip(s) to use for
> peripheral card ROM space, how to handle the address and data bus,
> etc. In other words, how does someone learn how to build cards like
> the Apple II Pi, or the SD Disk ][?
>
> Any suggestions would be greatly appreciated!

Here are a couple of sites from my bookmarks that still work:

An IDE interface, with commentary and schematics:
http://s.guillard.free.fr/Apple2IDE/Apple2IDE.htm

A FlashROM board:
http://redskulldc.50megs.com/Flashrom/Flashrom.html


Some of the Apple II Technical Notes are helpful too.

--
Jerry awanderin at gmail dot com
Re: Creating peripheral cards for the Apple II [message #278324 is a reply to message #278319] Thu, 08 January 2015 23:50 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Chris Torrence

On Thursday, January 8, 2015 at 8:49:12 PM UTC-7, awanderin wrote:
>
> Here are a couple of sites from my bookmarks that still work:
>
> An IDE interface, with commentary and schematics:
> http://s.guillard.free.fr/Apple2IDE/Apple2IDE.htm
>
> A FlashROM board:
> http://redskulldc.50megs.com/Flashrom/Flashrom.html
>
>
> Some of the Apple II Technical Notes are helpful too.
>
> --
> Jerry awanderin at gmail dot com

Thanks Jerry! Those look like very cool projects. Anyone else have any suggestions?
-Chris
Re: Creating peripheral cards for the Apple II [message #278328 is a reply to message #278251] Fri, 09 January 2015 00:06 Go to previous messageGo to next message
mdj is currently offline  mdj
Messages: 301
Registered: December 2012
Karma: 0
Senior Member
On Friday, 9 January 2015 02:02:20 UTC+10, Chris Torrence wrote:

> I'm really looking for a book that has hardware examples - i.e. what would a "typical" peripheral card look like - what chip(s) to use for peripheral card ROM space, how to handle the address and data bus, etc. In other words, how does someone learn how to build cards like the Apple II Pi, or the SD Disk ][?

Most of Apple's earlier peripheral cards had published schematics. A good way is to examine the schematic of a card that has similarities to the one you're designing. For instance, the Apple II Pi card is ostensibly a 'cut down' Super Serial Card, and you can find the schematic for the SSC in the early SSC manual (and perhaps the later ones, though I've not checked).

The best way to learn though, is to "just do it". The Apple II's are pretty hardy machines, and *reasonably* difficult to kill. I've had great success, and not one dead Apple II (yet), prototyping on breadboards right over the slots.

Of course, an understanding of digital electronics is necessary, and in particular you need to understand the differences between the theoretical models, and how particular implementations of digital logic behave "in practice". Don Lancaster's "TTL Cookbook" taught me much of what I know about designing with 74(LS) series logic, and has some excellent, pithy explanations of the design rules you need to follow regarding power, buffering, fanout, etc. as well as some brillant example digital designs, and a reasonable catalog of the available logic in that family.

So I would say grab that book, grab a breadboard or 2, and a bag of logic chips and start experimenting. There is no substitute for visceral learning that comes from putting a chip through its functional paces with nothing other than the chip itself, some switches and LED's to see the results, and then once you've done that, plug it into the Gameport and drive it with the II. Then try it in a slot.

You can interface an amazing array of stuff to the Apple II bus using nothing other than a 74(LS)245 bus transceiver to buffer the data bus, and a 74(LS)138 decoder.

Don't forget to pull up/down unused IO and above all else, have fun!

Matt
Re: Creating peripheral cards for the Apple II [message #278329 is a reply to message #278328] Fri, 09 January 2015 01:24 Go to previous messageGo to next message
Alex Freed is currently offline  Alex Freed
Messages: 58
Registered: October 2012
Karma: 0
Member
On 1/8/2015 9:06 PM, mdj wrote:
>
> You can interface an amazing array of stuff to the Apple II bus using nothing other
> than a 74(LS)245 bus transceiver to buffer the data bus, and a
74(LS)138 decoder.
>

I would add a 74LS374 (or 74HCT574 if you live in the 21st century)
latch to the mix. Enough to light up some LEDs from BASIC commands.

-Alex.
Re: Creating peripheral cards for the Apple II [message #278343 is a reply to message #278251] Fri, 09 January 2015 09:04 Go to previous messageGo to next message
mwillegal is currently offline  mwillegal
Messages: 30
Registered: December 2012
Karma: 0
Member
First review Apple doc that came with their prototyping board. I think that this is the best overview of major features of the peripheral interface that I've seen.

scans of the pages can be found on my blog

http://www.willegal.net/blog/?p=1447

Second is review my superproto page. This prototyping card implements most of the fundemental features that are described in the doc.

http://willegal.net/superproto/index.php?title=Main_Page

There are a number of quirks with the Apple II peripheral interface, so I'd also recommend that you review the Apple II tech notes, which can be found online. There is one that covers interfacing the 6522 and another with information about ground and power planes on peripheral cards that may be of interest.

http://www.downloads.reactivemicro.com/Public/Apple%20II%20I tems/Documentation/Manuals/Apple%20II%20Technical%20Notes/Th e%20Apple%20II%20Technical%20Notes.htm


Where you go from there depends alot upon your goals and expertise.

regards,
Mike Willegal
Re: Creating peripheral cards for the Apple II [message #278402 is a reply to message #278343] Fri, 09 January 2015 19:32 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Chris Torrence

On Friday, January 9, 2015 at 7:04:39 AM UTC-7, mwillegal wrote:
> First review Apple doc that came with their prototyping board. I think that this is the best overview of major features of the peripheral interface that I've seen.
>
> scans of the pages can be found on my blog
>
> http://www.willegal.net/blog/?p=1447
>
> Second is review my superproto page. This prototyping card implements most of the fundemental features that are described in the doc.
>
> http://willegal.net/superproto/index.php?title=Main_Page
>
> There are a number of quirks with the Apple II peripheral interface, so I'd also recommend that you review the Apple II tech notes, which can be found online. There is one that covers interfacing the 6522 and another with information about ground and power planes on peripheral cards that may be of interest.
>
> http://www.downloads.reactivemicro.com/Public/Apple%20II%20I tems/Documentation/Manuals/Apple%20II%20Technical%20Notes/Th e%20Apple%20II%20Technical%20Notes.htm
>
>
> Where you go from there depends alot upon your goals and expertise.
>
> regards,
> Mike Willegal

Thanks Matt, Alex, and Mike. These are all great suggestions. I'll let you know how it goes!
-Chris
Re: Creating peripheral cards for the Apple II [message #278455 is a reply to message #278343] Sat, 10 January 2015 13:27 Go to previous messageGo to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
In article <bca3fbb1-593e-4753-af07-726e9bc949f1@googlegroups.com>,
mwillegal <mike@willegal.net> wrote:
> First review Apple doc that came with their prototyping board. I think
> that this is the best overview of major features of the peripheral
> interface that I've seen.
>
> scans of the pages can be found on my blog
>
> http://www.willegal.net/blog/?p=1447

I've made a PDF of that...the OCR isn't so good, but at least the images are
all bound into one file:

https://home.alfter.us/owncloud/public.php?service=files& ;t=5c38efab754cbb5d9c2d1c1bb5cc14a1

> There are a number of quirks with the Apple II peripheral interface, so
> I'd also recommend that you review the Apple II tech notes, which can be
> found online. There is one that covers interfacing the 6522 and another
> with information about ground and power planes on peripheral cards that
> may be of interest.
>
> http://www.downloads.reactivemicro.com/Public/Apple%20II%20I tems/Documentation/Manuals/Apple%20II%20Technical%20Notes/Th e%20Apple%20II%20Technical%20Notes.htm

Except for the gno.org link, all the links on that page are 404. I suspect
I have these stashed away on some floppies (or maybe CDs) somewhere, but I
went ahead and pulled down a copy from gno.org. They're in this tarball:

https://home.alfter.us/owncloud/public.php?service=files& ;t=68ba848d6031c0326f270b8b5df1e218

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
Re: Creating peripheral cards for the Apple II [message #278462 is a reply to message #278329] Sun, 11 January 2015 02:27 Go to previous messageGo to next message
mdj is currently offline  mdj
Messages: 301
Registered: December 2012
Karma: 0
Senior Member
On Friday, 9 January 2015 16:24:47 UTC+10, Alex Freed wrote:

> I would add a 74LS374 (or 74HCT574 if you live in the 21st century)
> latch to the mix. Enough to light up some LEDs from BASIC commands.

Completely agree - in fact that's exactly the path I followed when I started experimenting - after using a 74164 to shift a byte of data out of an Annunciator on the gameport :-)

The 574 is much easier to work with particularly when prototyping than the 374 when the target is an 8 bit machine. They're electrically identical, but the pinouts of the 574 are arranged as a bus rather than 'per latch' on the 374.

Using HCT over LS is probably better advice too - certainly less surprises will result when a modern yet 5V CMOS part just doesn't work, probably intermittently. The catch for new punters though is that most 'hobbyist' level electronics stores (at least in AU) only stock LS and HC families, and usually only a subset of them at that. I have almost a full set of HCT parts in DIP, but I acquired mine over years on eBay as I needed them.

A good simple lesson plan might be:

1. Hook up a 245 to the data bus, and a 574 to it and /DEVSEL. Use LED's on the 574 to confirm you can write a byte to any IO location for the slot and store it in the 574.

2. Add a 138 decoder so the 574 is only active on IO location 0

3. The 574 is also active on IO location 8. How can we fix that ?

4. Reading the location of the 574 results in its contents being scrambled. How an we fix that ?

5. Now that it's fixed, can we also see a way to also allow the Apple to read the contents of the 574 ?

Congratulations, your Apple now has 1 extra byte of memory, and you have learned a great many things :-)

Matt
Re: Creating peripheral cards for the Apple II [message #278526 is a reply to message #278251] Mon, 12 January 2015 09:30 Go to previous messageGo to next message
D Finnigan is currently offline  D Finnigan
Messages: 1154
Registered: October 2012
Karma: 0
Senior Member
Chris Torrence wrote:
> Hi all,
>
> Does someone have a recommendation for a book or website on creating
> peripheral cards for the Apple II? I already have the Apple ][ Reference
> Manual, Inside the Apple //e, and Understanding the Apple II.
>
> I'm really looking for a book that has hardware examples - i.e. what would
> a "typical" peripheral card look like - what chip(s) to use for peripheral
> card ROM space, how to handle the address and data bus, etc. In other
> words, how does someone learn how to build cards like the Apple II Pi, or
> the SD Disk ][?

Try a book called "Apple Interfacing" by Titus and Titus. It's used on
Amazon.com for 1 cent. I have a copy of it. You may as well buy one too.

Try also "Programming And Interfacing The Apple, With Experiments" by Marvin
de Jong, a magazine article:
< http://www.atarimagazines.com/compute/issue8/3054_1_PROGRAMM ING_AND_INTERFACING_THE_APPLE_WITH_EXPERIMENTS.php>

And thirdly, try "Programming and Interfacing the 6502: With Experiments" by
the same auhor. I have this book too. It teaches 6502 as well.



Programming And Interfacing The Apple, With Experiments

Marvin L. De Jong
Department of Mathematics - Physics
The School Of the Ozarks
Pl. Lookout, MO 65726

Introduction

When the Apple microcomputer is compared with other popular microcomputers,
one of its most attractive features is the ease with which it can be
interfaced to devices in the outside world. Particularly important in this
connection are those eight beautiful card slots in the Apple. The "black
box" philosophy of the designers of the TRS-80 leaves much to be desired in
scientific, educational, or industrial applications.

In this article we will describe a circuit to be built on a peripheral card
that fits in any of the eight card slots in the Apple. The circuit provides
the user with one eight-bit input port and one eight-bit output port (with
possibilities for expansion). The circuit is built with readily available
components, and the output port is also attached to eight LEDs so the user
can visualize the state of the bits. The bit values of the input port may be
controlled with an eight element DIP switch, or by devices of the user's own
choice, such as an A/D converter.

My main reason for designing this circuit was to provide Apple owners with
the experiments in my book Programming & Interfacing the 6502, With
Experiments. This book was originally based on the KIM-1, SYM-1, and the AIM
65, but with the I/O board described in this article, the book can be used
in conjunction with Apple computers. So, if you are interested in learning
assembly language programming in conjunction with my book, this I/O board
may make the task a little easier. If you are not interested in the book,
the I/O board described here will be of interest if you wish to interface
your Apple computer to devices like A/D and D/A converters, stepper motors,
transmitters, and a variety of other devices.

--
]DF$
Apple II Book: http://macgui.com/newa2guide/
Usenet: http://macgui.com/usenet/ <-- get posts by email!
Apple II Web & Blog hosting: http://a2hq.com/
Re: Creating peripheral cards for the Apple II [message #278537 is a reply to message #278526] Mon, 12 January 2015 11:29 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Chris Torrence

Thanks David, Matt, and Scott,
Books and chips are on order! I'll let you know how it goes.
Cheers,
Chris
Re: Creating peripheral cards for the Apple II [message #373538 is a reply to message #278537] Thu, 13 September 2018 16:12 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: cb meeks

On Monday, January 12, 2015 at 11:29:08 AM UTC-5, Chris Torrence wrote:
> Thanks David, Matt, and Scott,
> Books and chips are on order! I'll let you know how it goes.
> Cheers,
> Chris

Chris,

Sorry to drum up an old thread. I'm interested in starting up a small peripheral card using a 65C22. I was wondering if you ever got anything up and going? Or, better yet, ever thought about doing a video on creating a simple card for the IIe?

Thanks!
Re: Creating peripheral cards for the Apple II [message #373629 is a reply to message #373538] Sun, 16 September 2018 05:55 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: groink_hi

On Thursday, September 13, 2018 at 10:12:12 AM UTC-10, cb meeks wrote:
> Sorry to drum up an old thread. I'm interested in starting up a small peripheral card using a 65C22. I was wondering if you ever got anything up and going? Or, better yet, ever thought about doing a video on creating a simple card for the IIe?

http://filedump.glitchwrks.com/manuals/john_bell/6522_parall el_interface.pdf

http://filedump.glitchwrks.com/manuals/john_bell/6522_parall el_interface_review.pdf

http://forum.6502.org/viewtopic.php?p=895 (explains difference between 65C22 and 6522)

Personally, I've never touched the CMOS version 65C22.
Re: Creating peripheral cards for the Apple II [message #373735 is a reply to message #373629] Tue, 18 September 2018 09:59 Go to previous messageGo to next message
a2retro is currently offline  a2retro
Messages: 76
Registered: June 2013
Karma: 0
Member
Just an FYI : I happen to be looking at teh Apple IIgs #28
Interface Card Design Guidelines and noticed the dimensions of the standard 50 pin slot connector are wrong.

They are listed as 2.95 inches when it should be 2.59 inches
Re: Creating peripheral cards for the Apple II [message #374030 is a reply to message #373735] Tue, 25 September 2018 10:00 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Anthony Adverse

Does anyone have a KiCad template for a 2 card, they'd like to share?

A
Re: Creating peripheral cards for the Apple II [message #374032 is a reply to message #374030] Tue, 25 September 2018 10:14 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: cb meeks

On Tuesday, September 25, 2018 at 10:00:10 AM UTC-4, Anthony Adverse wrote:
> Does anyone have a KiCad template for a 2 card, they'd like to share?
>
> A

Check this one out:

https://gitlab.com/salfter/a2gpio

It's by Scott Alfter (a2gpio)
Re: Creating peripheral cards for the Apple II [message #413846 is a reply to message #373735] Mon, 04 April 2022 01:08 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Bob Darlington

On Tuesday, September 18, 2018 at 7:59:01 AM UTC-6, a2retro wrote:
> Just an FYI : I happen to be looking at teh Apple IIgs #28
> Interface Card Design Guidelines and noticed the dimensions of the standard 50 pin slot connector are wrong.
>
> They are listed as 2.95 inches when it should be 2.59 inches

I confirm the technical docs are WRONG. 2.590" to 2.600" seems fine. My Mockingboard is 2.600 (or was it the Uthernet?).

-Bob
Re: Creating peripheral cards for the Apple II [message #420562 is a reply to message #413846] Mon, 17 July 2023 03:02 Go to previous message
Anonymous
Karma:
Originally posted by: Ted Thompson

On Sunday, April 3, 2022 at 10:08:10 PM UTC-7, Bob Darlington wrote:
> On Tuesday, September 18, 2018 at 7:59:01 AM UTC-6, a2retro wrote:
>> Just an FYI : I happen to be looking at teh Apple IIgs #28
>> Interface Card Design Guidelines and noticed the dimensions of the standard 50 pin slot connector are wrong.
>>
>> They are listed as 2.95 inches when it should be 2.59 inches
> I confirm the technical docs are WRONG. 2.590" to 2.600" seems fine. My Mockingboard is 2.600 (or was it the Uthernet?).
>
> -Bob

The dimension is right, the arrows are wrong... Or the ASCII art is poor. The 2.95" dimension is from the "front" of the edge connector to the rear of the entire board, I saw a poor/cut off PDF scan that made it clearer. The dimensions are from a common origin, as is correct practice, and it is formed by the intersection of the rear most edge of the board and the very bottom of the edge connector - a location that is in open space due to the outline of the board.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DOS and Firmware Card not in Slot 0
Next Topic: Karateka Documentary coming from Digital Eclipse
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Apr 18 18:29:50 EDT 2024

Total time taken to generate the page: 0.00333 seconds