15-18 januari 2025 At the time of writing this page the PAL-2 has just been available for sale, I am waiting for my kit!
So this information is based upon the available documentation: User manual, Schematic, BOM.
The PAL-2 is for sale by Liu Ganning at Tindie
On this page:
- What is a PAL-2?
- Schematic
- User manual
- RAM decoding
- Internal and external ROM
- Application and Expansion connectors
- Power Supply
- Expansion
- Cassette Audio interface
- Physical Dimensions
What is a PAL-2?
The PAL-2 is a kit for an SBC in the now large family of KIM-1 clones. Ranging from the Micro-KIM to the PCB exact replica by Eduardo Casino, all share the KIM-1 ROMs, LED display and TTY interface and the 6532 RIOT instead of the 6530 RRIOT.
What makes the PAL-2 unique:
- It is a real and complete KIM-1 clone.
- Available as a DIY kit with high quality components.
- The layout is close to the KIM-1.
- The good looking keypad is very close to the KIM-1
- Application and Expansion connector with all relevant KIM-1 signals.
- Lots of RAM in many configurable options.
- Both RRIOTS 6532 on board.
- TTY interface on TTL level, USB to TTL adapter included in the kit, quality serial!
- Power can come from the USB to TTL adapter or from external 5V supply (same as for the KIM-1)
The PAL-2 differs from a KIM-1
- No Audio cassette interface for file I/O circuit, but see below for a solution
- Application and Expansion connector as 22×2 pinheader instead of PCB edge connectors
- The signals on the Application connector are not all identical: no audio, TTY instead of 20 mA loop, decoding lines added
- Not the same size PCB
The PAL-2 differs from the PAL-1:
The many quality improvements and enhancements make the base PAL-2 kit more expensive then a base PAL-1 kit.
If you expand the PAL-1 to the level of a PAL-2 you need to spend money on a motherboard, a RAM 32K, a second RRIOT kit, an RS232 cable and gender changer and a 9V power supply.
- Improved keypad, with labels and look of the KIM-1
- No need for a Motherboard
- No external RAM module required
- No external RRIOT required
- E000-FFFF can be used freely from ROM expansion
- The vectors (Reset, NMI, IRQ) can be placed in external ROM.
- Looks a lot more like a KIM-1
- Complete Application and Expansion connector
- TTY on TTL level instead of (not standard) RS232
PAL-2 User Manual |
RAM decoding
The PAL-2 has a very flexible RAM memory layout, as shown in the next parts of the schematics:
Internal ROM and external ROM
The PAL-2 has a 2K ROM with the KIM-1 monitor. Since there is no audio in and outcircuitry, the ROM from 1800-1BFF could be used for other programs, like the KIM Clone by Corsham Technology (Which also did not have the audio circuitry). The 28C16 is easy to program.
One of the first expansions that is to be expected is an external 8K ROM. The decoding for this ROM, e.g. an 28C64 is already present on the connectors and in the decoding circuit.
The decoding signals are 8K7_SELECT (CE on 28C64) and 8K7_ROM (OE on 28C64). Just the 28C64 IC has to be connected to address and data lines.
Application and Expansion connectors
Differences on the Application connector with the KIM-1:
- AUDIO IN -> 8k7_SELECT
- AUDIO OUT LO -> 8K7-ROM
- TTY in and out now at TTL level for USB to TTL converter
- TTY PTR and KYBD, +1wV, AUDIO OUT LO not connected
This means, even if the edge to pin connector issue is solved, the standard KIM-1 I/O boards will not work for TTY and audio.
The expansion connector is identical to the KIM-1.
Power supply
Power has to be applied in the standard KIM-1 manner to the application connector Pin 1 = GND, pin A = 5V.
Note that reversing these pins will mean the dead of the PAL-2!
As a first suggestion for a PAL-2 extension I see a board connected to Application and Extension connectors with:
- Power switch
- 28C64 (or bigger, switchable in 8K chunks) EEPROM
- Connector for the USB to TTL
- External power connector, switchable between this and USB to TTL connector
- TTY/LED keyboard switch
- connector for the Application I/O ports PA0-PB7
- Power switch
- Pin connector for PAL-1 Cassette Interface audio board
- Further expansion with 6522/6850/6551
Optional:
The excellent expansions by Bob Applegate for the Corsham clone will be a good inspiration, like 6522/6850 I/O board, breadboard board, motherboard.
The KIM-1 has hardware and software in the 6530-003 ROM to save and dump files on audio tape.
Not used by most KIM clone users, so it is not present on the Corsham KIM Clone and the PAL-2.
But it is possible to have the audio in/out with one patch wire between pin 11 of U12D and the application connector!
On the KIM-1 circuit you can see the audio I/O is seen by the CPU at pin PB7 of the 6530-003. It is either an input or an output under control of the audio routines in the ROM.
The U26 (also present on the PAL-2 as U12d) is an open collector NAND feding PB7. On one input of U26 is PB5 from the 6530/32 (inverted by U16 (KIM-1_ or U10D (PAL-2), on the other is the output of the audio circuit generating TTL pulses from the audio sound input. This way PB7can be used both as input and output.
The PAL-2 and the KIM-1 has on the extension connector the signal PLL(_TEST), which is connected to U126/U12D. This is on the KIM-1 the output of the audio circuit.
So we have audio in (at TTL level) on the PAL-2 covered!
Audio out is available at PB7 at TTL level. With a patch wire between PB7 (or pin 11 of the U12D) to the application connector.
With the PAL-1 Cassette interface we can have the PAL-2 read and write KIM-1 audio cassette files this way. PLL_TEST to TAPE and a wire from PB7 to PB7 is all you need to connect to the Cassette Interface (and GND and +5V ofcourse).
Leaving R9 out of the Cassette Interface may be a good idea, there is already a pullup in the PAL-2 of 1K.
The connector on the PAL-2 is a 2.54 mm pitch 2×22 female pin header connector.
The dimensions of the PAL-2 PCB are 168 mm x 218 mm.
Next two images show the connector, first shows the distance between the two connectors, while the second shows the distance from the PCB edge to the connector’s outer side.