This repository contains a package enabling the sending and receiving of machine code, Integer BASIC, and Applesoft BASIC code to the 6502 computer over serial via a web interface. Leveraging Bottle, pySerial, and storage in SQLite3, it provides a user-friendly solution for loading and saving programs conveniently.
-
Enhanced Accessibility: The default load and save mechanisms for the pe6502 rely on RS232 serial, necessitating the presence of a computer or laptop. This package expands accessibility by allowing users to manage loading and saving operations from devices like smartphones or tablets via a web interface.
-
Effortless Program Management: With a Raspberry Pi running standard Raspbian and the code provided in this repository, users can effortlessly load and save software, granting access to their library of programs with the tap of a link on their mobile device or through automation software.
-
Challenge: You possess BASIC programs originally written for systems like the Commodore 64 and aim to adapt them to run on the pe6502.
-
Solution: Utilize the web interface provided by this package to seamlessly adapt and transfer programs:
- Access the web interface from a desktop, laptop, or mobile device.
- Copy and paste the BASIC program into the "Add New" webform.
- Click "Run" to input the software into the pe6502.
- Test and adjust the program as necessary.
- When ready to save, click "Add New" and enter the appropriate command (e.g., LOAD in BASIC or memory addresses for Woz Mon).
- Submit the command to save your code.
- Edit descriptions or remove unwanted characters as needed.
To set up and run the interface, follow these steps:
- Clone the repository:
git clone https://github.com/jameswdelancey/pe6502_web_interface.git
- Install dependencies:
sudo pip3 install bottlepy pyserial
- Navigate to the directory:
cd pe6502_web_interface
- Execute the main script:
sudo python3 pe6502_web_interface/main.py
(sudo permission may be necessary for serial port access).
Please note that while this repository currently serves as a minimum viable product, it may evolve into a PyPI package in the future, hence its current structure.
This project is licensed under the MIT License - see the LICENSE file for details.