Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An OS that runs a subset of the 6502 opcodes, implemented in python

License

NotificationsYou must be signed in to change notification settings

dgisolfi/PyOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An OS that runs a subset of the 6502 opcodes, implemented in python.

About

This is a python port of a Typescript OS I created for the Fall 2018 Operating Systems class. The Base OS for that class was provided and can be foundhere. A direct port of the Base OS in python can be found under releases as version 1.0.0

Setup

To run the OS it must be installed. It can be installed either from pypi or from the source code of the directory.

From PyPi

Simply use pip to install thelatest release of the PyOS. To do so runpip install PyOS.

From Source

Either in a Python Virtual Environment or just on your machine in the root of the directory runmake install this will install the PyOS from the source code in the repo using the setup.py file. If you would like to uninstall simply runmake uninstall

Running

To run the OS run,python3 -m PyOS

Releases

1.0.0 - Base OS

Developing

To develop the PyOS it would be a nuisance to install each time a change is made, to avoid this use a python virtual environment. To create a Virtual environment or venv use the following commandpython3 -m venv/path/to/new/virtual/environment The path should be pointed at this repository. To enter a venv that already exists navigate to the bin dir inside of env and runsource activate. In the case of this repo the command would look like this,source ./env/bin/activate.

Once in a venv to run the PyOS without installing use the following format:python3 PyOS /path/to/source/file while in the root of the directory.

Testing

Coming Soon...

Publishing to PyPi

To publish the latest release of the build to pypi run the following recipe:make release. This will test, build and publish the release to pypi.

About

An OS that runs a subset of the 6502 opcodes, implemented in python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp