pi1541 / Pi1541

Commodore 1541 emulator for the Raspberry Pi
GNU General Public License v3.0
376 stars 81 forks source link

Total overhaul for the Code - Just loader binaries with command line parameters #104

Open Erfeniuses opened 5 years ago

Erfeniuses commented 5 years ago

Hi. Thank you all for this nice 1541 emulator for C64 using RPi :) works great. BUT!:

I like to suggest a more robust way to do this: source code to make a ARM binary that is executed using command line input parameters, like "sudo 1541emulator -drive=8 -file=game_defender.d64

HDMI out put with HW switches is nice but come on... I would like to build WebUI (php7 with Bootstrap, Angular,Jquery) that RPi hosts and the executes the program to attach the diskimage to GPIO as Serial 1541 emulator.

Please do not reject this idea.. there are a lot of people waiting for this.

penfold42 commented 5 years ago

You know there’s no Linux under this right ?

Erfeniuses commented 5 years ago

You know there’s no Linux under this right ?

I guess yes. Why? to make this "user friendly? plug and play?" The core idea still remains... just an idea

It's still Rpi ARMv8 device beneath...

penfold42 commented 5 years ago

A webUI would be nice, but you have no Linux which means no command line and no runtime subsystem that would host nice off the shelf web app server components.

It would be possible to get something running in browse mode but a LOT of work. Emulation mode may well be impossible.

A more workable solution is a separate module like an ESP8266 handling the webUI and talking to the pi over the uart pins

Erfeniuses commented 5 years ago

A webUI would be nice, but you have no Linux which means no command line and no runtime subsystem that would host nice off the shelf web app server components.

It would be possible to get something running in browse mode but a LOT of work. Emulation mode may well be impossible.

A more workable solution is a separate module like an ESP8266 handling the webUI and talking to the pi over the uart pins

I guess the main reason for this solution is to be able handle interrupts when the IEC bus was signaling.. The best way to deal with the timing was to write a Linux Kernel Module..

I want to have PHP7 & Apache on RPi to host RESTful JSON for getting listlist of games and putting selected image to diskloader application.. Rest is just pure web UI besic stuff hosted from the same device...

xlar54 commented 5 years ago

This is an old issue. I would suggest it be closed. As penfold said, there is no linux under pi1541 so this idea can not work as suggested.