EPROM Burning & Pinout Guide
16-bit vs 32-bit HI/LO ROM sockets, A500 Rev 3/5 pin 1/31 mod, 27C400/27C800/27C160/27C322 adapters, and TL866II / T48 byte-swapping.
1. 16-Bit Single Socket vs. 32-Bit Dual HI/LO ROM Architecture
Why Commodore mask ROMs use JEDEC "mask-ROM" pinouts (27C400/27C800) rather than standard 27C040 8-bit EPROMs.
16-Bit Single ROM (A500 / A500+ / A600 / A2000)
- One 16-Bit Wide Chip (U6): Supplies all 16 data bits (
D0–D15) to the 68000 bus in a single cycle. - 40-Pin vs 42-Pin Motherboard Socket: A500 Rev 6A/8A and A600 have a 42-pin socket (designed for future 1 MB 27C800 ROMs). When plugging a 40-pin 27C400 into a 42-pin Amiga socket, align the chip with the bottom of the socket (Pin 21/22) — leaving Socket Pin 1 and Pin 42 empty!
- CRITICAL — A500 Rev 3 & Rev 5 Socket Trap: Early A500 Rev 3 and Rev 5 boards wired Socket Pin 1 to +5 V and left Pin 31 floating. Plugging a 27C400 (or 512 KB Kickstart 2.04/3.1 mask ROM) straight into a Rev 3/5 socket shorts
A17or/BYTE-VPPand causes a Red/Black screen or overheats the EPROM! You must bend out EPROM Pin 1, jumper EPROM Pin 1 (A17) to Socket Pin 31, and tie EPROM Pin 31 (/BYTE) to Pin 21 (+5V VCC) (or use a Rev 5 ROM adapter socket).
32-Bit Dual HI/LO Split ROMs (A1200 / A3000 / A4000)
- Two 16-Bit Chips in Parallel = 32-Bit Bus: To feed the 68EC020 / 68030 / 68040 32-bit data bus (`D0–D31`) in a single fetch, the 512 KB Kickstart is split across two 256 KB (or doubled 512 KB 27C400) chips.
- HI ROM (Even 16-bit words,
D16–D31): U6A on A1200 (Part 391773-01), U181 on A3000, U176 on A4000. - LO ROM (Odd 16-bit words,
D0–D15): U6B on A1200 (Part 391774-01), U180 on A3000, U175 on A4000. - Word-Interleave Rule: Unlike 8-bit odd/even byte splitting on PCs/Atari STs, Amiga 32-bit ROMs split by 16-bit words (2 bytes at a time): Bytes `0,1` → HI, Bytes `2,3` → LO, Bytes `4,5` → HI, Bytes `6,7` → LO.
2. Supported EPROM Chips & Adapter Pinouts (27C400 / 27C800 / 27C160 / 27C322)
| EPROM Type | Package | Capacity (16-Bit) | Kickstart Images Held | Amiga Socket Compatibility | Programmer Adapter Needed |
|---|---|---|---|---|---|
| 27C400 (M27C400 / AM27C400) | DIP-40 | 512 KB (256K×16) | 1× 512KB (or 2× 256KB) | Direct drop-in (Pins 1 & 42 empty in 42-pin sockets; Rev 5 needs adapter) | 16-bit 27C400/800/160 ZIF adapter |
| 27C800 (M27C800) | DIP-42 | 1 MB (512K×16) | 2× 512KB (Dual Kickstart) | Direct fit in 42-pin sockets; lift Pin 1 (A18) to switch ROMs via 10kΩ pull-up | 16-bit 27C400/800/160 ZIF adapter |
| 27C160 (M27C160) | DIP-42 | 2 MB (1M×16) | 4× 512KB (Quad Kickstart) | Pin 42 is A19 (not VCC!); lift Pins 1 (A18) & 42 (A19) with 10kΩ pull-ups | 16-bit 27C400/800/160 ZIF adapter |
| 27C322 (M27C322) | DIP-42 | 4 MB (2M×16) | 8× 512KB (Octa Kickstart) | 16-bit ONLY (no /BYTE pin — Pin 13 is A20, Pin 31 is D15). Requires a 27C322-to-27C400 PCB adapter with 74LVC245 / address routing! | 27C322 bank-switching programmer adapter |
3. Step-by-Step Burning & Byte-Swapping Workflow (TL866II Plus / XGecu T48)
Why your newly burned EPROM gives a black/red screen if you forget the 16-bit byte-swap.
Why Byte-Swapping is Mandatory
- The Motorola 68000 is Big-Endian: at address
$F80000, the high byte of the first word ($1114for 512KB ROM, or$1111for 256KB ROM) sits onD8–D15and the low byte sits onD0–D7. - Standard PC EPROM programmers (TL866II Plus, XGecu T48/T56) load 16-bit buffers in Little-Endian order (Byte 0 →
D0–D7, Byte 1 →D8–D15). - Quick Check in XGpro / Minipro Buffer: Look at offsets
000000–000003:- If it reads
11 14 4E F9(or11 11 4E F9) → Big-Endian (emulator order): Click Edit → Swap Byte so it becomes14 11 F9 4Ebefore burning! - If it already reads
14 11 F9 4E→ Already byte-swapped (e.g. Hyperion's.binprogrammer files) — burn as-is!
- If it reads
CLI / Python One-Liners for ROM Prep
- 1. Double 256KB KS 1.3 to 512KB (for 27C400):
copy /b kick13.rom + kick13.rom kick13_512.rom - 2. Byte-Swap a 512KB Image (Python):
python -c "b=bytearray(open('in.rom','rb').read());b[0::2],b[1::2]=b[1::2],b[0::2];open('out_swapped.bin','wb').write(b)" - 3. Split 32-Bit AGA 512KB ROM into 2×256KB HI (U6A) & LO (U6B):
python -c "b=open('ks31_a1200.rom','rb').read();hi=b''.join(b[i:i+2] for i in range(0,len(b),4));lo=b''.join(b[i+2:i+4] for i in range(0,len(b),4));open('U6A_HI_512.rom','wb').write(hi*2);open('U6B_LO_512.rom','wb').write(lo*2)"(then byte-swap both before burning to 27C400!).