jscrane / Apple1

Apple-1 Emulator for Stellarpad, ESP8266 and ESP32
GNU General Public License v2.0
11 stars 0 forks source link

missing .h files for compiling in Arduino IDE #3

Closed petersieg closed 1 month ago

petersieg commented 3 years ago

missing:

include

include <r6502.h>

Thx

jscrane commented 3 years ago

Yeah, I added a Requirements section to README.md documenting this library.

It probably won't build under the Arduino IDE, even with this library. (Try it and see.) I've added an additional requirement on uC-Makefile. (Essentially GNU make for Arduino.)

HTH

petersieg commented 3 years ago

Hi Steven.

 

Thx. I have put r65emu lib into libraries.

There are a LOT dependencies on a lot of things (I don't need).

My goal was to just have an apple 1 emulation on esp32 TTGO board with just serial communication.

(No PS/2 Kbd also - but that would be possible with TTGO board; also VGA would be possible with FABGL lib).

 

I #undef some defines in config.h and #ifdef in io.h to skip UTFT code. My zip archive is attached.

But it now complains about missing DAC in r65emu lib and sound..?

 

Error msg:

Arduino: 1.8.6 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"

/Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp: In function 'void hardware_init(CPU&)': /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:12: error: 'KBD_DATA' was not declared in this scope   ps2.begin(KBD_DATA, KBD_IRQ);             ^ /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:22: error: 'KBD_IRQ' was not declared in this scope   ps2.begin(KBD_DATA, KBD_IRQ);                       ^ exit status 1 /Users/ich/Documents/Arduino/libraries/r65emu/sound_dac.cpp:58:17: note: #pragma message: No DAC  #pragma message "No DAC"                  ^ Fehler beim Kompilieren für das Board ESP32 Dev Module.

Dieser Bericht wäre detaillierter, wenn die Option "Ausführliche Ausgabe während der Kompilierung" in Datei -> Voreinstellungen aktiviert wäre.  

Thx, Peter

 

Gesendet: Donnerstag, 03. Dezember 2020 um 06:21 Uhr Von: "Stephen Crane" notifications@github.com An: "jscrane/Apple1" Apple1@noreply.github.com Cc: "Peter Sieg" peter.sieg2@gmx.de, "Author" author@noreply.github.com Betreff: Re: [jscrane/Apple1] missing .h files for compiling in Arduino IDE (#3)

 

Yeah, I added a Requirements section to README.md documenting this library.

It probably won't build under the Arduino IDE, even with this library. (Try it and see.) I've added an additional requirement on uC-Makefile. (Essentially GNU make for Arduino.)

HTH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jscrane commented 3 years ago

Hi Peter, Sounds like this project requires some work! I will have to have a look on my holidays...

Cheers, Steve

On Thu, 3 Dec 2020 at 09:08, Peter Sieg notifications@github.com wrote:

Hi Steven.

Thx. I have put r65emu lib into libraries.

There are a LOT dependencies on a lot of things (I don't need).

My goal was to just have an apple 1 emulation on esp32 TTGO board with just serial communication.

(No PS/2 Kbd also - but that would be possible with TTGO board; also VGA would be possible with FABGL lib).

I #undef some defines in config.h and #ifdef in io.h to skip UTFT code. My zip archive is attached.

But it now complains about missing DAC in r65emu lib and sound..?

Error msg:

Arduino: 1.8.6 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"

/Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp: In function 'void hardware_init(CPU&)': /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:12: error: 'KBD_DATA' was not declared in this scope ps2.begin(KBD_DATA, KBD_IRQ); ^ /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:22: error: 'KBD_IRQ' was not declared in this scope ps2.begin(KBD_DATA, KBD_IRQ); ^ exit status 1 /Users/ich/Documents/Arduino/libraries/r65emu/sound_dac.cpp:58:17: note:

pragma message: No DAC

pragma message "No DAC"

             ^

Fehler beim Kompilieren für das Board ESP32 Dev Module.

Dieser Bericht wäre detaillierter, wenn die Option "Ausführliche Ausgabe während der Kompilierung" in Datei -> Voreinstellungen aktiviert wäre.

Thx, Peter

Gesendet: Donnerstag, 03. Dezember 2020 um 06:21 Uhr Von: "Stephen Crane" notifications@github.com An: "jscrane/Apple1" Apple1@noreply.github.com Cc: "Peter Sieg" peter.sieg2@gmx.de, "Author" <author@noreply.github.com

Betreff: Re: [jscrane/Apple1] missing .h files for compiling in Arduino IDE (#3)

Yeah, I added a Requirements section to README.md documenting this library.

It probably won't build under the Arduino IDE, even with this library. (Try it and see.) I've added an additional requirement on uC-Makefile. (Essentially GNU make for Arduino.)

HTH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jscrane/Apple1/issues/3#issuecomment-737767937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDGBXVEGNRCLMORDELDDLSS5IRHANCNFSM4UKZSXOQ .

-- Steve

petersieg commented 3 years ago

Hi Steve.

Ok. Have fun and Good holidays. Maybe also have a look to FabGL lib.

Cheers Peter

Gesendet von myMail für iOS

Mittwoch, 9. Dezember 2020, 17:02 +0100 von notifications@github.com notifications@github.com:

Hi Peter, Sounds like this project requires some work! I will have to have a look on my holidays...

Cheers, Steve

On Thu, 3 Dec 2020 at 09:08, Peter Sieg notifications@github.com wrote:

Hi Steven.

Thx. I have put r65emu lib into libraries.

There are a LOT dependencies on a lot of things (I don't need).

My goal was to just have an apple 1 emulation on esp32 TTGO board with just serial communication.

(No PS/2 Kbd also - but that would be possible with TTGO board; also VGA would be possible with FABGL lib).

I #undef some defines in config.h and #ifdef in io.h to skip UTFT code. My zip archive is attached.

But it now complains about missing DAC in r65emu lib and sound..?

Error msg:

Arduino: 1.8.6 (Mac OS X), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"

/Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp: In function 'void hardware_init(CPU&)': /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:12: error: 'KBD_DATA' was not declared in this scope ps2.begin(KBD_DATA, KBD_IRQ); ^ /Users/ich/Documents/Arduino/libraries/r65emu/hardware.cpp:65:22: error: 'KBD_IRQ' was not declared in this scope ps2.begin(KBD_DATA, KBD_IRQ); ^ exit status 1 /Users/ich/Documents/Arduino/libraries/r65emu/sound_dac.cpp:58:17: note:

pragma message: No DAC

pragma message "No DAC"

^ Fehler beim Kompilieren für das Board ESP32 Dev Module.

Dieser Bericht wäre detaillierter, wenn die Option "Ausführliche Ausgabe während der Kompilierung" in Datei -> Voreinstellungen aktiviert wäre.

Thx, Peter

Gesendet: Donnerstag, 03. Dezember 2020 um 06:21 Uhr Von: "Stephen Crane" notifications@github.com An: "jscrane/Apple1" Apple1@noreply.github.com Cc: "Peter Sieg" peter.sieg2@gmx.de, "Author" <author@noreply.github.com

Betreff: Re: [jscrane/Apple1] missing .h files for compiling in Arduino IDE (#3)

Yeah, I added a Requirements section to README.md documenting this library.

It probably won't build under the Arduino IDE, even with this library. (Try it and see.) I've added an additional requirement on uC-Makefile. (Essentially GNU make for Arduino.)

HTH

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jscrane/Apple1/issues/3#issuecomment-737767937, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDGBXVEGNRCLMORDELDDLSS5IRHANCNFSM4UKZSXOQ .

-- Steve

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/jscrane/Apple1/issues/3#issuecomment-741869922), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AD64XELEOOIHWEFAL2FMFVLST6NRXANCNFSM4UKZSXOQ).

jscrane commented 1 month ago

Hi Peter, For what it's worth, it should work now. I have tested with serial terminal on a TTGO VGA board.

You probably want to use a different terminal program to the Arduino IDE's one though.

$ screen /dev/ttyACM0 115200

Cheers, Steve