Compiling Altair8800.ino

74 views
Skip to first unread message

Mark Episcopo

unread,
Sep 5, 2025, 8:06:30 PMSep 5
to Altair-Duino
Hey 'yall,
I want to make a minor change in the config.h file so I downloaded Dave's files (.ino file is 2 years old).  First, is that the right set of files?  Second, I commented out ncurses.h, termios.h and unistd.h.  I was getting errors (not found) but they appear for Linux only, so ....  When I try to do a verify I get a ton of errors, lots of  "can't be overloaded", overriding, conflicting declaration and a redefinition of 'class Stream' error.
I'm using Arduino IDE 2.3.6.  Couldn't get VisualStudio set up correctly.  I've done similar large builds (Software Defined Ham Radio) and I never ran across this type of error.
Thoughts?
Mark

Tom Wilson

unread,
Sep 5, 2025, 8:35:55 PMSep 5
to Mark Episcopo, Altair-Duino
It should all just compile, without needing any fixes. You just have to make sure to use the 1.1 version of SDFat (if I recall).

Did you download the emulator from Dave's Github repository? 


Yes, his last commit is a while back; 2 years seems about right. 




--
You received this message because you are subscribed to the Google Groups "Altair-Duino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to altair-duino...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/altair-duino/eca0bf89-eb3d-4921-9514-591d862215a8n%40googlegroups.com.

Tom Lake

unread,
Sep 6, 2025, 7:27:35 AMSep 6
to Altair-Duino
You shouldn't have to comment anything out. Don't use VisualStudio, use ArduinoIDE. It works better, IMHO. As was previously mentioned, make sure SdFat is version 1.1. Also, make the changes in 

C:\Users\yourusername\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\platform.txt

In lines 22, 24 and 28, change one of the parameters to read:

-O3

The -O3 will give you a big boost in speed.

With nothing commented out and all my preferred options set in config.h and host_due.h, I get this output form a test compile:

Sketch uses 506244 bytes (96%) of program storage space. Maximum is 524288 bytes.

Mark Episcopo

unread,
Sep 6, 2025, 2:10:09 PMSep 6
to Tom Lake, Altair-Duino
OK, thanks Tom.  I'll do all that.
Mark

--
You received this message because you are subscribed to the Google Groups "Altair-Duino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to altair-duino...@googlegroups.com.

Mark Episcopo

unread,
Oct 22, 2025, 12:07:00 PMOct 22
to Altair-Duino
I found MY mistake. I had set SDfat version to 1.1.1 instead of SD.  So SD is now v1.1.1 and SDfat to the latest, v2.3.0.  That seemed to fix the problem.
Thanks All
Reply all
Reply to author
Forward
0 new messages