p20-emu-d75a83

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

### Chapter 20. Computer Emulators

- Prev

  s4-3b1-pc7300-efe55b

- Next

  Video Game Emulators

- Up
- Home

# p20-emu-d75a83

## Introduction to p20-emu

The p20-emu package is a Plexus P/20 emulator.

- Download: https://github.com/Spritetm/plexus_20_emu/archive/d75a83ca9b107e1ae1a54598e4045c2843bd823e/plexus_20_emu-d75a83ca9b107e1ae1a54598e4045c2843bd823e.tar.gz

### Additional Downloads

- Required ROM 1: https://github.com/misterblack1/plexus-p20/raw/refs/heads/main/ROMs/U15-MERGED.BIN

- Required ROM 2: https://github.com/misterblack1/plexus-p20/raw/refs/heads/main/ROMs/U17-MERGED.BIN

- Recommended patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/p20-emu/p20-emu-d75a83-no-debug.patch

- Recommended patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/p20-emu/p20-emu-d75a83-system-roms.patch

### p20-emu Dependencies

## Installation of p20-emu

Apply a patch to build without any debugging information, which allows for a slightly faster binary:

    patch -Np1 -i ../p20-emu-d75a83-no-debug.patch

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

    patch -Np1 -i ../p20-emu-d75a83-system-roms.patch

Install p20-emu by running the following command:

    make Musashi/m68kops.h &&
    make

Now, as the `root` user:

    install -vDm755 emu /usr/bin/p20-emu

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

    install -vDm644 ../U1{5,7}-MERGED.BIN -t /usr/share/p20-emu/

## Command Explanations

make Musashi/m68kops.h: This command explicitly generates a header file used during build time to avoid a race condition.

## Contents

Installed Programs: p20-emu
Installed Libraries: None
Installed Directories: /usr/share/p20-emu

### Short Descriptions

p20-emu | is the Plexus P/20 emulator

- Prev

  s4-3b1-pc7300-efe55b

- Next

  Video Game Emulators

- Up
- Home