Add original-firmware Sound & Speech, four configurable Multi-Pak sockets, bounded per-slot ROM allocation and a nine-page menu organized around devices and media. Repair inherited clock/reset/CPU-memory/video paths and add explicit conditional external-I/O timing contracts. Preserve native Main startup-file ordering, saved layouts, stock-core separation and the coco3plus media profile. Provide native Windows tool downloads, pinned ToolShed ROM assembly, fresh Quartus builds, functional and fitted timing checks, reviewed release packaging and passwordless SSH installation with backups. Retain original component notices, document contribution copyright and keep SSC ROM inputs outside Git. Validation: Quartus17.0.2 Build602 seed5, zero errors; 15 functional jobs, 368 both-corner timing scopes and eight tooling-integrity checks pass. The renamed build reaches Disk BASIC, PRINT1+1 returns2 and SSC loads ready. Physical cold power cycling and conditional board-delay assumptions remain separate. Full original upstream histories are preserved before this single consolidated implementation commit.
16 lines
592 B
Python
16 lines
592 B
Python
"""Coco 3 Plus deployment paths and native MiSTer remembered-file records."""
|
|
NAME = 'coco3plus'
|
|
GAME_DIR = '/media/fat/games/' + NAME
|
|
ROM_SLOTS = {4: 'pic-7040-510.bin', 5: 'sp0256-al2.bin'}
|
|
|
|
|
|
def startup_records():
|
|
# Match MiSTer menu.cpp's 1024-byte, NUL-terminated selPath buffer.
|
|
records = {}
|
|
for slot, name in ROM_SLOTS.items():
|
|
path = (GAME_DIR + '/' + name).encode('ascii')
|
|
if len(path) >= 1024:
|
|
raise ValueError('Startup path does not fit MiSTer selPath')
|
|
records[f'config/{NAME}.f{slot}'] = path.ljust(1024, b'\0')
|
|
return records
|