# CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

## Project Overview

Basilisk II auto-installer for Linux (Arch and Debian/Ubuntu). Compiles Basilisk II from source and configures it to run classic Macintosh System 7 with a Quadra 900 emulation.

## Repository Contents

- `install.sh` - Main installer script (French comments)
- `Quadra.ROM` - Macintosh Quadra ROM file
- `HDD.img` - Hard disk image with System 7

## Running the Installer

```bash
./install.sh
```

Requires `sudo` for package installation. Supported distributions: Arch Linux, Debian/Ubuntu.

## Configuration

Before running, update the placeholder URL in `install.sh`:
```bash
GIT_BASE_URL="https://ton-git-perso.com/basilisk"  # Replace with actual URL
```

## Installation Output

Files are installed to `~/.basilisk2/`:
- `bin/BasiliskII` - Compiled emulator binary
- `basilisk2_prefs` - Generated configuration
- `shared/` - Directory shared with emulated Mac (extfs)

Launch with `~/.basilisk2/run.sh` or `basilisk2` if `~/bin` is in PATH.

## Emulator Configuration

Default settings in generated `basilisk2_prefs`:
- RAM: 16 MB
- Model: Quadra 900 (modelid 14, cpu 4, fpu enabled)
- Display: 800x600 DGA
- Network: disabled
