How TeX made it to the iOS App Store - running on DOS, inside an emulator
vallettaventures.com
vallettaventures.com
Take this as a proof of concept. New update (a native one) will change everything.
Btw:
1. The 486 emulation engine I have been working on is intended for DOS game emulation. It happens to be fast enough to run TeX, although it is at least ten times slower than the native version.
2. Next time, don't pretend to be a customer in the email. Be clear that you are a developer (working on TeX apps), I'll be more open to your questions.
The disk image is formatted with "/S" option. I am not sure if that counts as shipping DOS.
They may be small, but they since pack the core functionality of MS-DOS, I don't know if a fair use defense would fly...
You should also distribute the source of the BIOS with the app (because Apple is the distributor, not you).
Otherwise, very cool project. Is your x86 emulator available somewhere? What will differentiate it from DOSBox?
The emulator only runs on ARM cpu(at present works only for jailbroken iPad/iPhone). You can download it (free) at www.aemula.net/download.html
This is much less than DOSBox in terms of features, but when it runs, it runs fast.
Do you have a license that states you can ship those "essential" files? If not, then all you have is a copyright statement, which effectively forbids redistribution.
MS DOS Version 6 (C)Copyright 1981-1994 Microsoft Corp
Licensed Material - Property of Microsoft All rights reserved.Another option would be to implement the DOS API (INT 21h and friends) in your emulation code, instead of within the VM as x86 code. DOSBox does this (but its emulation code would be under the GPL). DOSCMD also appears to do this and is under the BSD license: http://sourceforge.net/projects/doscmd/
You can't run GPLed software on iOS. The App store has its own license with term incompatible with the "no other restrictions" of the GPL, and Apple, who is the distributor, is not willing to provide the source anyway.
This means No FreeDos, no Linux, no DOSBox, no QEMU(which is has no interpreter, only a dynamic compiler, which also rules it out), no BOCHS...
I don't think that there are non-native, non-GPL, non-proprietary solution to run TeX on iOS.
To run TeX on iOS, you'd have to port the WEB/Pascal compiler (the language in which TeX is written) to ARM+iOS...
http://www.tug.org/svn/texlive/trunk/Build/source/texk/web2c...
This is 100% not true. GPL v1 and v2 are fine and v3 has some questions that most people avoid by sticking to v2 of the license. There are, however, GPL v3 licensed apps in the Apple App Store which you can find if you only looked.
This is necessary because the App Store TOS imposes restrictions on the user that conflict with GPLv2 section 6.
This is also the reason GPLv3 doesn't work for the App Store, although there is a common misconception that the GPLv3 incompatibility arises from the anti-Tivo provisions. Those provisions are not applicable to the App Store, since the App Store is only distributing add-on software for the device. The anti-Tivo provision in GPLv3 is narrow, only applying to GPLv3 software that is distributed WITH the hardware.
Yes, there is GPL software on the App Store. That can happen in two ways:
1\. The copyright owner of the GPL code is the party that submitted the app to the App Store. In this case, they are in effect dual licensing their GPL code. Apple gets a non-GPL license to make and distribute copies. Everyone else gets a GPL license.
2\. Some developer took third party GPL code and used it in his app. The copyright owner of the GPL code has not agreed to dual license the code for Apple.
In the second case, Apple WILL pull the app from the store if the copyright owner of the GPL code notifies them of the violation.
Note that the above analysis is specifically for the Apple store. I don't know how other stores work. A key aspect of the Apple store is that Apple makes and distributes copies of the apps on its store. The developer uploads one copy, and then when Apple approves that and users start purchasing copies of it, it is Apple that is making and distributing those copies. Hence, Apple needs copyright permission.
A store when the store operator did not make and distribute copies would require different analysis.
Here's one that I wrote: http://www.writelatex.com (At least I think it works on iPad... I haven't tested it recently.)
And there's also http://www.scribtex.com and http://www.sharelatex.com
I suspect that it's partially an acclimatization issue, and getting over the hump just requires time. (My "hump" for getting to be as productive with a trackpad as with a mouse, by comparison, was about 12 years...)
The price of a messy codebase: No LaTeX for the iPad
http://vallettaventures.tumblr.com/post/13124883568/the-pric...
Interpreters than can run code supplied by user or downloaded from internet are verboten on iOS.
Wonder why DOS was chosen instead of Linux?
Really? I haven't come across that. Cool, if so.
http://litchie.com/blog/?p=406
Cleared of copyright issues.