idle-r26

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 20. Computer Emulators

- Prev

  Computer Emulators

- Next

  XHomer-2-19-24

- Up
- Home

# idle-r26

## Introduction to idle

The idle package is a minimalistic Lisa 1/2 emulator.

- Download: https://github.com/seal331/idle/archive/e70cfd651ec84ec10f69b9d8ea8696978a6b5d11/idle-e70cfd651ec84ec10f69b9d8ea8696978a6b5d11.tar.gz

### Additional Downloads

- Required ROMs: https://downloads.sourceforge.net/idle-lisa-emu/Windows%20binary/win_sdl_r23/idle_win32_bin.zip

- Required patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/idle/idle-r26-fix-sigill.patch

- Recommended patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/idle/idle-r26-system-roms.patch

- Optional patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/idle/idle-r26-pretend-we-are-a-lisa-2-10.patch

### idle Dependencies

#### Required

libarchive (to unpack the required ROMs) and sdl12-compat-1.2.72

## Installation of idle

Apply a patch to fix various SIGILLs due to security mitigations in modern processors:

    patch -Np1 -i ../idle-r26-fix-sigill.patch

Optionally, apply a patch to search for the ROMs in a system-wide location and not the current directory:

    patch -Np1 -i ../idle-r26-system-roms.patch

### Warning

ONLY apply the following patch if you REALLY know what you're doing. This patch pretends the Lisa II/5 as properly emulated by the idle emulator is actually a Lisa II/10, without actually introducing any new behaviour or adding any new hardware from the Lisa II/10. It is VERY likely to introduce problems in software specifically coded for the Lisa II/10, or software with proper support for it for that matter. The ONLY thing this patch is good at is making SCO Xenix properly use a 10MB ProFile drive, because SCO Xenix' ProFile driver makes an assumption about the installed hard disk size by looking at the system model, and attempting to format a 10MB drive on a Lisa II/5, or a 5MB drive on a Lisa II/10, for that matter, WILL result in errors from mkfs.

If, after you read the above, you still want to apply the patch, run the following:

    patch -Np1 -i ../idle-r26-pretend-we-are-a-lisa-2-10.patch

Install idle by running the following command:

    make -f Makefile.unixsdl &&
    make -C tools/obj2asm &&
    make -C tools/xprofile_tool

Now, as the `root` user:

    install -vDm755 idle /usr/bin/idle-emu &&
    install -vDm755 tools/obj2asm/mpw_obj2asm \
                    tools/xprofile_tool/xprofile_tool \
            -t /usr/bin/

If you have applied the systemwide ROMs patch, install those ROMs as the `root` user:

    unzip ../idle_win32_bin.zip &&
    install -vDm644 idle_win32_bin/bios/* -t /usr/share/idle/bios/

## Configuring idle

### Configuration Information

If you have not applied the systemwide ROMs patch, you will have to put the `bios/` folder from `idle_win32_bin.zip` into every folder you plan on executing idle from.

### Note

The ProFile drive image is hardcoded to be in the current directory and is named `profile.raw`.

## Contents

Installed Programs: idle-emu, mpw_obj2asm, and xprofile_tool
Installed Libraries: None
Installed Directories: /usr/share/idle

### Short Descriptions

idle-emu | is the Apple Lisa emulator
mpw_obj2asm | is an experimental Macintosh MPW object file disassembler
xprofile_tool | is a tool to manipulate X/ProFile drive images

- Prev

  Computer Emulators

- Next

  XHomer-2-19-24

- Up
- Home