mikekov / atariserver Goto Github PK
View Code? Open in Web Editor NEW8-bit Atari floppy emulator and web server for Raspberry Pi
License: GNU General Public License v2.0
8-bit Atari floppy emulator and web server for Raspberry Pi
License: GNU General Public License v2.0
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.
Just wondering if it could be adapted for the 520 st....
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.