Giter Site home page Giter Site logo

mikekov / atariserver Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 3.0 3.04 MB

8-bit Atari floppy emulator and web server for Raspberry Pi

License: GNU General Public License v2.0

Makefile 0.95% Shell 0.19% C 59.16% Assembly 0.47% C++ 37.80% JavaScript 0.09% TypeScript 0.62% HTML 0.32% CSS 0.39%

atariserver's Introduction

Atari Server

What is it?

Atari floppy drive emulator running on Raspberry Pi Zero W for real 8-bit Atari 800XL/65XE/130XE computers.

What does it do?

It presents itself to 8-bit Atari as a floppy drive, so computer can load programs from floppy images (*.ATR files).

Selecting files for Atari to load from smartphone

Hardware Components

Components required to build it:

  1. Raspberry Pi Zero W (or faster 3+) and power supply
  2. Micro SD card (8 GB or larger)
  3. 4-channel bidirectional level shifter
  4. Rectifier diode
  5. Atari SIO connector (or connector pins from DB 25 female connector)

Schematic

Installation

Please refer to the INSTALL file. It describes all steps necessary to install AtariServer on Raspberry Pi.

Software

This project combines atariserver by Hias with embedded web server (Mongoose) to create virtual floppy drive for Atari. To select floppy images users can use their smartphone or tablet.

atariserver's People

Contributors

dependabot[bot] avatar mikekov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atariserver's Issues

520 st

Just wondering if it could be adapted for the 520 st....

Error while compiling atarisio

After fixing the previous issues, I stumble over the next thing:

make -C tools
make[1]: Entering directory '/stuff/AtariServer-master/atarisio/tools'
make -C 6502
make[2]: Entering directory '/stuff/AtariServer-master/atarisio/tools/6502'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/stuff/AtariServer-master/atarisio/tools/6502'
g++ -g -W -Wall -DATARISIO_DEBUG  -D_WWW -DDEFAULT_DEVICE=/dev/ttyAMA0 -DUSE_ZLIB -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE   -c -o SIOWrapper.o SIOWrapper.cpp
SIOWrapper.cpp: In static member function 'static SIOWrapper* SIOWrapper::CreateSIOWrapper(const char*)':
SIOWrapper.cpp:67:41: error: invalid new-expression of abstract class type 'KernelSIOWrapper'
    wrapper = new KernelSIOWrapper(fileno);
                                         ^
In file included from SIOWrapper.cpp:31:0:
KernelSIOWrapper.h:26:7: note:   because the following virtual functions are pure within 'KernelSIOWrapper':
 class KernelSIOWrapper : public SIOWrapper {
       ^~~~~~~~~~~~~~~~
In file included from SIOWrapper.cpp:30:0:
SIOWrapper.h:123:14: note:      virtual int SIOWrapper::WaitForCommandFrame(int, std::function<void()>)
  virtual int WaitForCommandFrame(int otherReadPollDevice=-1, std::function<void ()> callback= nullptr) = 0;
              ^~~~~~~~~~~~~~~~~~~
<builtin>: recipe for target 'SIOWrapper.o' failed
make[1]: *** [SIOWrapper.o] Error 1
make[1]: Leaving directory '/stuff/AtariServer-master/atarisio/tools'
Makefile:142: recipe for target 'tools' failed
make: *** [tools] Error 2

two small stumbling blocks in install.sh

Nice project. However, I started with a fresh debian stretch lite on my rpi0w, set it up according to step 1-4 and started building from master.zip.
Here compiling failed at atasm's stage because two directorys are missing ans install.sh doesn't check that:

/usr/local/doc
/usr/local/man/man1

After creating them compiling works.

systemd service file

Personally I don't like the use of /etc/rc.local . Maybe as a last resort, but it's ugly. So let's prefer a systemd service file (atariserver.service):

[Unit]
Description=AtariServer - 8-bit Atari floppy emulator and web server for Raspberry Pi
ConditionPathExists=/dev/ttyAMA0

[Service]
Type=simple
ExecStart=/usr/local/bin/atariserver -w /home/pi/AtariServer-master/web-root -b /home/pi/AtariServer-master/atr/hisioboot-atarisio.atr -d /home/pi/files -C
StandardOutput=tty
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

It is not perfect for now as it starts before wpa_supplicant on my rpi0w for example, but it's a good starting point, I think.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.