On 1/13/2018 1:30 AM, Ercan Ersoy wrote:

For FreeDOS Arduino Port needs major source code changes.

Arduinos' microcontrollers (AVR and ARM) based on Harvard Architecture. For this reason, FreeDOS Arduino port can needs less resources.
Sorry to be this blunt, but this is simply bollocks!
Just try to properly emulate all the INT 21h calls and see how much resources you're using. All the DOS memory areas for basic system info use more RAM than you have available on a standard Arduino.

At least, Arduino's have a UART. Standard input, standard output and standard error can direct to UART. For this reason, FreeDOS on Arduino can control by a terminal emulator (for example PuTTY). Also, most of Arduino's or clone ones one USART connected internal USB to UART converter.
Again, you would need additional resources to emulate all the ports and BIOS calls from an Intel based system, upon which DOS is based, on the RISC AVR microcontroller.

If you have a system with less than 64KB of RAM, regardless of how much Flash ROM you have, you will have a VERY hard time to get anywhere. Not to mention that pretty much everything in DOS is based on the layout of 16bit x86 architecture, register, interrupts and memory layout. Emulating this on any kind of non x86 architecture will rather use MORE resources, not less... And even if you get something that looks like working, it is still a question as to how useful it might be.

As I mentioned in an earlier post, the only path that would have worked to get FreeDOS as another viable option for embedded/IoT systems would have been those Quark based systems that Intel killed off last year.

Ralf


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to