Port of SYSTEM.COMODORE from the UCSD Pascal p-System utility disk for the CBM 8096 (UTIL-D1.D80, 8050 format) to the Commodore 128 (1581/D81 format).
UTIL-D1.D80 — D80 (8050 drive, 77 tracks) image containing:
| File | Type | Blocks | Content |
|---|---|---|---|
| PRIBOOT | PRG | 5 | BASIC boot loader |
| PASCAL1 | REL | 682 | p-machine interpreter (part 1) |
| PASCAL2 | REL | 682 | p-machine interpreter (part 2) |
| PASCAL3 | REL | 682 | p-machine interpreter (part 3) |
UCSD-PASCAL.D81 — D81 (1581 drive, 80 tracks) image containing:
| File | Type | Blocks | Content |
|---|---|---|---|
| SYSTEM.COMODORE | PRG | 63 | Hardware-dependent segment (15,872 B) |
| PRIBOOT | PRG | 5 | Original boot loader |
- Extract — Follow the
RELside-sector chains to extract raw data from PASCAL1 (173,056 bytes, record length 128) - Segment — Take only the first 15,872 bytes of PASCAL1 (the
SYSTEM.COMODOREsegment, which starts at file offset 0) - Write — Prepend a PRG load address (
$0F26) and write to a fresh D81 viac1541
The PASCAL1/PASCAL2/PASCAL3 files form a UCSD p‑System codefile containing multiple segments. The first segment — SYSTEM.COMODORE (segment num $A363, kind $4C) — is the hardware‑dependent I/O layer. Only this segment is needed; the interpreter segments in PASCAL2 and PASCAL3 are not part of the C128 port.
Use with VICE emulator or a real C128 + 1581 drive:
x64sc -drive8 1581 -8 UCSD-PASCAL.D81
Or write to a 3.5" 1581-format disk with a tool like cbmcopy or StarCommander.
UTIL-D1.D80— original CBM 8096 disk imageUCSD-PASCAL.D81— converted C128 disk imageconvert_d80_to_d81.py— extraction scriptanalyze_d80.py— D80 structure analysis