PAL-2 daughter board and expansion board physical design

294 views
Skip to first unread message

GN Liu

unread,
Feb 21, 2025, 2:28:13 AMFeb 21
to PAL 6502 computer
Hi community,

I just finished a model about the PAL-2's expansion board design. Is it okay, or do you have any better ideas? Please share your thoughts!

Thanks! 
Screenshot 2025-02-21 152153.pngLiu

Nils Andreas

unread,
Feb 21, 2025, 3:05:03 AMFeb 21
to Liu GN, computer PAL
How about some connectors for real Kim expansions? Like the Pal-1 motherboard from zoggins?

nils
Von meinem iPhone gesendet

Am 21.02.2025 um 08:28 schrieb GN Liu <liuga...@gmail.com>:

Hi community,


I just finished a model about the PAL-2's expansion board design. Is it okay, or do you have any better ideas? Please share your thoughts!

Thanks! 
<Screenshot 2025-02-21 152153.png>
Liu

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pal6502/7039248d-1954-47a3-ae0c-63b15db41557n%40googlegroups.com.
<Screenshot 2025-02-21 152153.png>

Raaalf

unread,
Feb 21, 2025, 3:44:42 AMFeb 21
to PAL 6502 computer
Hello Liu,

there should be mounting rails for the expansion cards on the PAL-2 daughter-board.

Mounting rails


Greetings

Ralf

GN Liu

unread,
Feb 21, 2025, 5:12:49 AMFeb 21
to PAL 6502 computer
Nils,

There will be an edge connector in the plan.

The KIM-1 is taller than the PAL-2. I originally considered placing the two KIM-1 edge connectors on the left side of the daughterboard, but I feel that the size and shape wouldn’t look very aesthetically pleasing. Instead, the edge connectors will be implemented as a dedicated 90° expansion board, installed on the leftmost socket of the current daughterboard design. Additionally, the PAL-1 expansion connector will also be a 90° expansion board on the daughterboard.

What do you think about this approach?
Liu

GN Liu

unread,
Feb 21, 2025, 5:24:06 AMFeb 21
to PAL 6502 computer
Hi Raaalf,

In my plan, the sockets on the daughterboard are two 2×20 pin sockets (2.54mm pitch) per row, with a 20mm gap between them. I’ll test some dummy boards on the daughterboard to see if they can be securely fixed.

Mounting rails are a great way to hold the expansion board in place, but since the daughterboard has no case, I’m unsure how effective the mounting rails will be.

For my future plan, the daughterboard will have an installation option as the back panel of a boxed PAL-2 system. By changing the rightmost connector to a pin socket, the PAL-2 can function as a baseboard within the enclosure, with mounting rails built into the box.

Liu

Neil Andretti

unread,
Feb 21, 2025, 5:45:22 AMFeb 21
to PAL 6502 computer
So you plan to implement the original KIM egde connectors like an adapter that fits into the motherboard.
Sounds good!

I forgot the link in the last post:
PAL1-MB-4-600x600.png

GN Liu

unread,
Feb 21, 2025, 5:56:55 AMFeb 21
to PAL 6502 computer
Yes, according to the old PAL-2 plan post and one of Hans’ suggestions, I believe it’s the same size as the KIM-1 connector. However, Zoggins’ design is more compact. I’m not sure whether the actual size of the KIM-1 is crucial. If not, the board could be made smaller to fit the height of the PAL-2.

Hans Otten

unread,
Feb 21, 2025, 8:04:33 AMFeb 21
to PAL 6502 computer
A daughter board for the PAL-2 can be done in many ways. The proposal by Liu is a flat on the table solution.
Expansion cards are 'standing' on the daughterboard (and need supports at the sides). 

Alternative could  be the 'cage' solution as done with the original KIM-1. A passive backplane (with power distribution) and expansion cards with the same size as the KIM-1.
Expansion cards are placed underneath the PAL-2 with I/O at the edge. 
See this for examples: 
Advantage is compact size, and the 'cage'  takes care of a sturdy mechanical support of cards. And it has the 70ties look and feel!
The backplane will have 3 or more PAL-2 Application and Expansion connectors.

But it might be not so easy to construct a cage.

Now what kind of connectors on the daughterboards to use might be also worth a discussion.
The only available boards at the moment are the KIM-1 I/O and KIM-1 ROM/RAM boards by Retrospy. But they are of limited value to the PAL-2 owner. 
 
What we need of a daughterboard  for the PAL-2 are now:
- a good and reliable way to connect the USB serial adapter
- alternative power source connector
- a ROM to map in at higher memory. 
- a switch for TTY/LED and Keyboard switch
-  SD card adapter 
- 1541 IEC connection
- bus connectors for expansion cards 

Optional may be (on expansion cards)
- one or two 6522 VIA's
- serial adapter like 6850 or 6551 
- KIM-1 compatible audio circuitry (if you have the one wire adaption to the PAL-2 I have described)
- whatever you may think of

Another way of expanding, with the help of Eduardo Casino, to connect his MTU bus solutions for the KIM-1, to the PAL-2. Take a look at

His KIM-1 to MTU motherboard just needs a PAL-2 connectors to KIM-1 connectors adaptation. 

David Carlin

unread,
Feb 21, 2025, 8:17:51 AMFeb 21
to GN Liu, PAL 6502 computer
Liu,

Thank you for the work on the PAL-1 and PAL-2 !

Would you consider a small board for the Application connector with a usb or barrel jack for power, and a port - DB9 or USB - for TTY connection?  That is my main concern,  hooking up the dupont wires incorrectly.  Thanks!

--

Hans Otten

unread,
Feb 21, 2025, 8:25:39 AMFeb 21
to PAL 6502 computer
I support the request by David for a small simple board for just the application connector, with  USB to serial connector and a TTY switch (and perhaps a small experiment pad)

Eduardo Casino

unread,
Feb 21, 2025, 8:29:31 AMFeb 21
to PAL 6502 computer
The MTU bus just needs the Expansion connector and two lines from the Application connector: K7 and DECEN.

So, if the PAL-2 expansion board had just a KIM-1 type, edge pcb, expansion connector on the left, it could be possible to attach the simpler MTU unbuffered expansion card (https://github.com/eduardocasino/kim-1-mtu-expansion-card) and take the two lines with DuPont cables from the appl. connector.

However, I have yet to study the PAL-2 schematc to see if Liu's modifications to the RAM/ROM address decoding are fully compatible with what an MTU card expects (I think they are, but I have to double check)

Eduardo.

GN Liu

unread,
Feb 26, 2025, 7:36:40 AMFeb 26
to PAL 6502 computer
Like this small simple one?

Screenshot 2025-02-26 203356.png

Hans Otten

unread,
Feb 26, 2025, 11:02:00 AMFeb 26
to PAL 6502 computer

Some suggestions:

 The USB to TTL you deliver with the PAL-2 has 5 male pins, of which 4 are relevant (GND<,VCC, TxD, RxD)

  • I would suggest a 5 pin female pin connector to put the USB device in. If you can find a right angled one, so that the USB device can lay flat with the USB-C at the left, it would be perfect and reliable.
  • LEDs? Ok, a power led perhaps . The VCC, RxD and TxD have LEDs on the USB device.
  • The small adapter blocks access to any of the other pins on the application connector. Solution  I see with other daughter boards is  an 22x2 pin male connector on the daughterboard, with all pins of the application connector available, accessible and documented with text on the PCB.
  • The barrel connector and USB power should be switchable to prevent shorting, add another switch there.
  • What is on the 6 pin connector at the bottom?

 Hans

GN Liu

unread,
Feb 27, 2025, 7:58:08 AMFeb 27
to PAL 6502 computer
Hi Hans,

The reason I plan to use a 6-pin connector is that I want to be compatible with more USB-to-TTL converters (even though the one I have comes with a 5-pin converter). I designed this interface based on the FTDI module with the most pins that I know of. I provide a jumper configuration for the four actually needed pins to adapt to different converters. Do you think this is necessary?

The LEDs serve a similar purpose. My idea is that if someone is using a adapter without LEDs, such as an FTDI cable, these three LEDs on the interface board can serve as indicators.

Are you suggesting adding an application interface the same as the one on the PAL-2 board to the daughterboard, for example, placing it on the left side of the daughterboard to use the available pins in other scenarios?

You’re right—adding a power selection switch makes sense.

The 6-pin component without a 3D model is not a connector; it is a switch used to select between local or serial connection.

Liu

Hans Otten

unread,
Feb 27, 2025, 9:20:30 AMFeb 27
to PAL 6502 computer
This is what I propose, a minimal but practical and safe setup using what is available in your kit
- 5V USB or external with switch
- your USB serial card flat on the PCB with a female right angle 5 pin 
- SD card connector for PA1 - PA4 famle
- switch TTY - Keypad/LED
- all pins on application connector to 2x22pin male

I made a mockup showing how it might look

simple pal2 adapter card proposal.jpg

Jeremy Starcher

unread,
Feb 27, 2025, 10:00:32 AMFeb 27
to PAL 6502 computer
One of the ideas I was walking on:

Putting a Pi Pico-W (wifi) on my breakout board and letting it serve a similar purpose to to the digital cassette recorder.

Let it take over the TTY/LED switch and the serial port to upload stuff onto the Pal-2 for me.

It would also be accessible over wifi so I could upload from my desktop to the Pico.

Jeremy Starcher

unread,
Feb 27, 2025, 12:32:03 PMFeb 27
to PAL 6502 computer
Now I"m wondering if I could halt the CPU and use DMA to load, make things a little faster...

Hmmmm

Hans Otten

unread,
Feb 27, 2025, 12:48:24 PMFeb 27
to PAL 6502 computer
Re DMA: you can halt a 65C02, not a 6502. If you look at the Sorbus Computer or the Neo6502 you can see the Pico control the 65C02 by stopping the 6502, tri-stating the busses  and taking over the data and address bus (via RDY and BE pins).. 
There are more examples of a device like the Pico or Arduino board doing the initial setup and after laoding memory let the 65C02 carry on. 
No such luck with the 6502. 

Of course you can replace the 6502 with a WDC65C02 on the PAL-2. There are no bus drivers that may prevent taking over the 65C02 and blocking access to the busses.

Jeremy Starcher

unread,
Feb 27, 2025, 3:12:43 PMFeb 27
to Hans Otten, PAL 6502 computer
True -- but there are ways to do DMA on the MOS 6502 as well, they are aren't as easy.

Some early video outputs would use the RDY line to pause the CPU for an instruction and then do DMA every other clock cycle.

Time things really carefully and do your DMA based on the PHI/1 clock.

Nowhere near as nice, of course, as the 65C02's lines, but .. well, we live with what we have.

Not sure what the RESET line on the 6502 does, but if that puts the but into HIGH-Z while it runs, then you could just pause the CPU entirely then let it out of RESET.  Since you'd only be doing DMA to load a program, I wouldn't be worried about trashing the register state.

Heck, you could even load the executable address in the system so all the user has to do is press [GO] or enter [G].

Jeremy Starcher

unread,
Feb 27, 2025, 3:57:46 PMFeb 27
to PAL 6502 computer

Dimitri

unread,
Feb 27, 2025, 5:42:02 PMFeb 27
to PAL 6502 computer
To allow me to continue using the RIOT gadgets I designed, I have come up with the following:

pal-2-riot.png
I haven't assembled my PAL-2 yet (and currently do not have the PAL-2 PCB to hand), but looking at the schematic, it looks like PA6 is not available from the expansion connector.  Is this correct?

Many thanks,
Dimitri

Dimitri

unread,
Feb 27, 2025, 5:43:25 PMFeb 27
to PAL 6502 computer
Of course, I meant PB6!
D.

GN Liu

unread,
Feb 27, 2025, 8:47:45 PMFeb 27
to PAL 6502 computer
Thanks, Hans. I’ll rethink it based on your layout.

Dimitri,
PB6 is absent because the 6530 on the KIM-1 used it for chip select, so the KIM-1 doesn’t have PB6 on the application port. This pin on the PAL-2 is a bonus pin (like the expansion card for PAL-1). I think we can add a jumper wire to an unused pin on the PAL-2’s application connector for PB6. (Now, we might have two jumper wires on the PAL-2…)

Liu

Dimitri

unread,
Feb 27, 2025, 11:09:22 PMFeb 27
to PAL 6502 computer
A jumper wire sounds like a reasonable workaround. Please could you suggest which currently unused pin I should use for this - I don't want to pick one myself and find that you had chosen that exact pin for a different purpose.
Many thanks,
Dimitri

GN Liu

unread,
Feb 28, 2025, 3:08:30 AMFeb 28
to PAL 6502 computer
Based on my notes, I’ll route PB6 (U3) to R on the Application connector and PB7 (U2) to 19 on the Expansion connector.

Best,
Liu

Dimitri

unread,
Feb 28, 2025, 6:11:08 AMFeb 28
to PAL 6502 computer
'R' sounds great, thank you! 
 I have updated my design accordingly (and added a power source select switch as per Hans' suggestion):

riot-adapter.png
Gerbers will be made available as soon as I've had a chance to test this irl.
:D

GN Liu

unread,
Mar 6, 2025, 8:46:40 PMMar 6
to PAL 6502 computer
my updated version daughter board mini.
Screenshot 2025-03-07 093202.png
Hans, I think the micro SD card adapter is not very suitable for this version and will be on the bigger board. I bought some adapters compatible with 5V input for testing, which are slightly bigger than yours.

Liu

Dimitri

unread,
Mar 7, 2025, 2:22:28 AMMar 7
to PAL 6502 computer
This looks great!  Just one observation, would it be more aesthetically pleasing if the TTL/KEYBOARD switch was horizontal and on the edge of the board (like power select), rather than vertical?
D.

Kande Laber

unread,
Mar 7, 2025, 7:42:17 AMMar 7
to PAL 6502 computer
Just for the record.
Personnally, I am used to work with  6 pin USB to TTL serial adapters (an example is shown in the attached picture).
6 pin adapters are frequently used e.g. with Arduinos and Z80 kits.

Best regards
6_pin_serial_usb_ttl.png

GN Liu

unread,
Mar 8, 2025, 3:45:35 AMMar 8
to PAL 6502 computer
Hi D.,

My idea is that pushing the stem toward the TTL connector means serial mode, while pushing it in the opposite direction means keyboard mode. Now that you mention it, placing it horizontally also makes sense, switching toward the mainboard could mean keypad mode, and the opposite direction could mean TTL ;) 

I’ll see how it looks in reality.

Liu

GN Liu

unread,
Mar 8, 2025, 3:53:38 AMMar 8
to PAL 6502 computer
Hi Kande,

The mini version of this daughterboard is designed as a quick-start board, providing a convenient and stable power supply and serial access for the PAL2. Since the PAL2 comes with a 5-pin TTL converter, the interface definition of this mini board follows the pin definition of that converter.

Looking back at the previous design, I originally planned to use the FTDI interface definition. However, that approach might have been more complex and required additional soldering, so I opted for the current design instead.

Liu

Kande Laber

unread,
Mar 8, 2025, 5:39:15 AMMar 8
to PAL 6502 computer
OK, "... Since the PAL2 comes with a 5-pin TTL converter,"
That is a good argument. I ignored that, sorry.

GN Liu

unread,
Mar 9, 2025, 11:28:16 PMMar 9
to PAL 6502 computer
The sample board feels good!

IMG_2130.jpegIMG_2131.jpeg

Dimitri

unread,
Mar 10, 2025, 3:25:29 AMMar 10
to PAL 6502 computer
That looks great ... a definite must have for all PAL-2 owners!
And do give me a shout if you'd like to test some more gadets...
:D

speech.jpg iec.jpg

Hans Otten

unread,
Mar 10, 2025, 10:10:09 AMMar 10
to PAL 6502 computer
Awesome!

David Carlin

unread,
Mar 10, 2025, 10:14:45 AMMar 10
to Dimitri, PAL 6502 computer
Dimitri,

Can you tell me more about these expansion boards?  One seems to have a speed synthesizer chip, the other an IEC connector? (Commodore floppy drive?)

Do they plug into the 16-pin header on the PAL-1 RIOT expansion board?  And perhaps would also plug into the PAL-2 mini daughter board?

Thanks!

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.

Dimitri

unread,
Mar 10, 2025, 4:27:38 PMMar 10
to PAL 6502 computer
David,
They are two of the gadgets I created for the PAL-1 RIOT Expansion Module, and yes, you are right, the first one is a SP0256 based speech processor. The other one is an IEC interface that can be used with Commodore disk drives or, I guess, printers.  They plug in to the PAL-1 RIOT board using a small adapter (compatible with Liu's gadget adapter). It should all work unchanged with the PAL-2 Daughter Board Mini ... I think.
:D

adapter.jpg

Dimitri

unread,
Mar 10, 2025, 4:43:49 PMMar 10
to PAL 6502 computer
... and there are other gadgets too, including a Real Time Clock (with alarm) and an 8-bit Analog to Digital Converter (with tiny prototype area). I have dreamt up a few more, but have had very little (read no!) free time to do anything 6502 related in the past few months. Wich sadly also means my PAL-2 is still in the box it came in, unopened ....

rtc.jpg 8-bit-adc.jpg

Ronny Ribeiro

unread,
Mar 10, 2025, 4:48:34 PMMar 10
to Dimitri, PAL 6502 computer

Very cool gadgets, Dimitri!


Kande Laber

unread,
Mar 11, 2025, 12:32:29 PMMar 11
to PAL 6502 computer
Did you write the driver software for these fine gadgets?

GN Liu

unread,
Mar 12, 2025, 2:21:15 AMMar 12
to PAL 6502 computer
Very creative gadgets, Dimitri!!!

Lars

unread,
Oct 26, 2025, 8:32:03 AMOct 26
to PAL 6502 computer
Hi,
I just found this post about PB6 as I build a simple LED Board and I miss one LED :-)
Does a list exist with all additional wires I need to add manually on a PAL-2 board Rev. 2.3?

Cheers
Lars

Lars

unread,
Oct 27, 2025, 1:17:04 PM (13 days ago) Oct 27
to PAL 6502 computer
Ok, the two wires from above (PB6-U2, PB7-U3) are more "nice to have" features and not really needed, correct?

I understand PB6 (U3) to be used as an additional IO Pin at the Application Connector.
But what is the reason to have PB7 (U2)  at the Expansion Connector?

Hans Otten

unread,
Oct 27, 2025, 1:43:23 PM (13 days ago) Oct 27
to PAL 6502 computer
PB7: To be able to add an audio cassette interface. 

And note the modification to add the Eduardo Casino RAM/ROM/FDC card.  

Lars

unread,
Oct 28, 2025, 3:00:54 AM (12 days ago) Oct 28
to PAL 6502 computer
Thank you Hans :-)

Lars

unread,
Nov 1, 2025, 1:28:38 PM (8 days ago) Nov 1
to PAL 6502 computer
Hi all,
I am currently using an small Add-On Board to Power my PAL-2, provide IOs and a RS232 Interface.

PSU_Board.jpeg

But I am not 100% happy with the layout and I like to change a few things like making the IO Connector compatible with the other expansions Boards.
I have asked the developer and got the permission to modify his design for my needs.

My version looks now...

front_and_back.png

Features:
J2 5V:
5V Input

J3 Serial-8:
Serial/Power Input from USB-Serial Adapter.

J5 RS232:
Serial In/Out with RS232 Voltage Level.

J4 I/O Port:
Provides Signals PA and PB from U3.
PB6* is added from Application-Connector Pin R.
See J6/JP3.

SW1 Power:
Power On the System from J2 (5V) oder J3 (USB-Serial).
On-Off-On Switch

SW3 Input:
Input via TTY (RS232/USB-Serial) or Keyboard.

SW4 TTY/Serial Mode:
Set Serial In/Out to use RS232 or USB-Serial.

SW5 (Top) or JP1/JP2 (Bottom):
Set the RS232 Sub-D Pins for Nullmodem or Straight 1:1 Cable usage.
Use Jumper or a DPDT Switch (SW5) at the Top or Solder Jumpers (JP1/JP2) at the bottom.

J6 (Top) or JP3 (Bottom):
Use Jumper J6 at the Top or the Solder Jumper JP7 at the Bottom to
connect Application-Connector Pin R to PB6* pin at the I/O-Port.

J7 Decode Enable:
Leave the Pins open which is the default setting.
Or you close the Jumper to give 5V/High Signal to the
Decode Enable Pin at the Application Connector.
Or you use the Pin "DecEn" himself and connect an external Signal.

I am not a professional PCB Designer but I am happy with the result.
Any thoughts? Maybe I did something wrong?

Cheers
Lars
Reply all
Reply to author
Forward
0 new messages