Skip to content

Repository containing work for building up the Apple //e as an LLVM-MOS build target

License

Notifications You must be signed in to change notification settings

TheHans255/apple-ii-port-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple //e LLVM-MOS Port Work

This is a repository containing work for building up a port of LLVM-MOS to the Apple //e as a build target.

Dev Requirements

Build Steps

  1. When you first clone the repository, or change any of the CMake files, execute $ cmake -D CMAKE_C_COMPILER="/path/to/mos-common-clang" -S src -B build in the root of the repository, where /path/to/mos-common-clang is the path to mos-common-clang in your LLVM-MOS SDK installation.
  2. For each change, execute $ make -C build from the root of the repository
  3. Find the example you want to load as build/example/<example name>/<example name>.sys
  4. Using your disk manipulation program, import that .sys file to the root of the ProDOS disk.
  5. Load the disk in the emulator (or transfer it to the real device), boot it, and select your chosen .sys program in the menu.

Goals

Core goals:

  • Allow basic CLI C applications to be written for the Apple //e
  • Allow file access through ProDOS

Advanced goals:

  • Port stdio and stdlib to ProDOS for reading files
  • Expose all available system calls to the user, including Monitor graphics routines
  • Berkeley Sockets implementation for Uthernet I and II
  • Allow alternate linking strategies for:
    • Access to HiRes
    • Building dynamically linked machine language subroutines for BASIC

About

Repository containing work for building up the Apple //e as an LLVM-MOS build target

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published