[NTLK] NewtonTalk Digest, Vol 86, Issue 25

Mark Kuberski berskyboy at gmail.com
Wed Mar 3 17:32:50 PST 2021

Hi Matthais,

I was able to bring in your changes into Xcode and compile a copy for iOS.  But I wanted to know how I could force the PCMCIA Card (HardCoded) to look for the 20MB Card.  (This could be a different size 10MB, or something else, bigger is better tho).  Here’s what the “files” in Files tab look like when I connect my iOS device.

	717006.img.            16.8 MB
	717006.rom.            8.4 MB
	flash                        8.4 MB
	PCMCIA01.pccard. 25.2 MB	(The card has 23,479K when I look at the Memory Info in the FLTK Einstein)


PS, I was going to try and put a “fork” in GitHub, but I was not able to add a branch.  This way others could view the code.  I can start a new Repo, but figured it might be nice to keep an iOS version of Einstein with Paul’s and your great code!

PPS.  I vote for “beerware” or “wineware” for sure!  When COVID is over, would be nice to enjoy many of these together in person!

> On Feb 26, 2021, at 7:58 AM, newtontalk-request at newtontalk.net wrote:
> Message: 9
> Date: Fri, 26 Feb 2021 15:56:23 +0100
> From: "Ionos: robowerk.de <http://robowerk.de/>" <m.melcher at robowerk.de <mailto:m.melcher at robowerk.de>>
> To: newtontalk at newtontalk.net <mailto:newtontalk at newtontalk.net>
> Subject: Re: [NTLK] NewtonTalk Digest, Vol 86, Issue 15
> Message-ID: <40f4753c-426d-6871-a74a-a3c77fb5da01 at robowerk.de <mailto:40f4753c-426d-6871-a74a-a3c77fb5da01 at robowerk.de>>
> Content-Type: text/plain; charset=utf-8; format=flowed
> On 2/26/2021 3:58 AM, Mark Kuberski wrote:
>> Hi,
>> Matthais,
>> I wanted to try and incorporate the PCMCIA data cards changes you put in FLTK into iOS Xcode.  What files did you change?  I could copy those into the Xcode I have that runs and creates an Einstein iOS App.  Or will this not work?  Even a description of what changes you made, the pseudo code would be helpful.
>> Thanks,
>> Mark
> Hi Mark,
> the core changes are in Emulator/PCMCIA/TLinearCard.cpp . These changes 
> implement the actual card emulation. Writing the contents of the card 
> back to a file on the device is only done when Einstein quits. This is 
> bad for iOS since apps never externally quit. I will have to implement 
> some timer that writes actual changes every few seconds or so.
> There is also a lot of code that manages creation of cards, and the user 
> interface to insert cards, mostly in app/TFLSettings*.cpp . There is new 
> code to insert and eject card in Emulator/Platform/TPlatformManager.cpp
> You can look at what exactly changed here:
> https://github.com/pguyot/Einstein/commits/matt2020 <https://github.com/pguyot/Einstein/commits/matt2020>
> I also did a few tiny changed in the Network emulation that should 
> probably be backported.

More information about the NewtonTalk mailing list