nobuh / napple1

Apple I emulator on a text terminal or console. using ncurses,
GNU General Public License v2.0
21 stars 3 forks source link
c emulator ncurses terminal

napple1 is an Apple 1 emulator using ncurses, ported from the SDL version Pom1 emulafor. If you have some questions, please report it as an issue.

How to install on Ubuntu (ex. Ubuntu 22.04)

  1. sudo apt install make gcc libncurses-dev

  2. git clone https://github.com/nobuh/napple1.git

  3. Build cd napple1/src make cd ..

  4. Run ./napple1

ROM Directory

napple1 contain basic.rom and monitor.rom files on the ./rom directory. However, If you want to put basic.rom and monitor.rom on another directory. Please use ROMDIR environmental variable.

For example, if you want to put basic.rom and monitor.rom on current directory, the command is:

ROMDIR=. ./napple1

Default value of the ROMDIR is ./rom You can use an absolute path for the ROM Directory.

ROMDIR=/home/username/my_rom_files ./napple1

How to uninstall

cd napple1/src
make clean

How to use programs on napple1

In normal terminals, if you press 'D' key, it will be echoed as 'd' on screen. And press 'Shift + D' prints 'D' on screen. Shift key works to flip caps.

However, napple1, if you press 'D' key, it will be echoed 'D'. All letters you can type is upper case only. Because original apple1 has a limit to do so. And shift key works like a control key in napple1.

type E000R

type E2B3R

Command Key Description

Basic load Shidt + B Load rom/basic.rom to ram Dump core Shift + D Dump memory to core/file name Load core Shift + L Load memory from core/file name Reset Shift + R Reset the emulator Hard reset Shidt + H Reset & Clear memory Quit Shidt + Q Quit the emulator Mode Shift + M Mode change 8KB & 32KB ram mode Shift + K Automatically type in AUTOTYPING.TXT file if present

To load or save program, please load or dump entire 64kb memory.

/*