| |
Conrad
Registered: Nov 2006 Posts: 849 |
EasyAPI binary
Is there a place where I can get the latest version of EasyAPI for EasyFlash? EasyProg doesn't seem to have it separate anymore. I would like to use this binary in my own cart.
Also, how well does the current WinVice handle emulation of bank writing on EF carts, being that there are numerous versions of the API chip(?). |
|
| |
King Durin Account closed
Registered: Oct 2007 Posts: 85 |
The source code for EasyCLI includes it. You can download at:
http://easycli.codeplex.com/SourceControl/changeset/view/91571
Just click the download link. The file is named eapi-am29f040-14 and it is for the AM29F040 memory controller which is what the emulation in VICE is based on.
I have found that VICE's emulation of the EF is very good.
It should be noted that you should NOT link directly against EasyAPI, but instead place the "EAPI" marker at offset $3800 in your cart binary. All EasyFlash cart generators should look for this marker at this location and insert the EasyAPI for you. This is part of the reason I built EasyFlash Cart Builder... there's a lot that goes into linking together an EasyFlash cart and so I needed a repeatable way of doing it. The other tools that are out there are more driven for compilations and not for custom software. |
| |
Conrad
Registered: Nov 2006 Posts: 849 |
KD: Thanks for the link to the file :). I have read the detailed manual about EAPI but was just unsure where the latest version currently was. Also, thanks for letting me know which version Vice is based on. Would be nice if it did automatically update the version directly on the attached cart actually. New feature perhaps? |
| |
Skoe Account closed
Registered: Jan 2008 Posts: 34 |
Or you look into the official sources:
https://bitbucket.org/skoe/easyflash/src/
Here is eapi, you should include the version for Am29F040:
https://bitbucket.org/skoe/easyflash/src/tip/EasySDK/eapi
And here is the latest documentation:
https://bitbucket.org/skoe/easyflash/src/tip/EasySDK/docs
Hope this helps. Have fun!
|
| |
King Durin Account closed
Registered: Oct 2007 Posts: 85 |
Quote: KD: Thanks for the link to the file :). I have read the detailed manual about EAPI but was just unsure where the latest version currently was. Also, thanks for letting me know which version Vice is based on. Would be nice if it did automatically update the version directly on the attached cart actually. New feature perhaps?
Not sure what you meant by the automatically updating part. Do you mean the linking tool, or EasyProg? The only reason to include EAPI in the linking tool is so that VICE has EAPI to work with. On real EF hardware EasyProg injects the latest version of EAPI for the hardware's controller when you write the EasyFlash cart image to the EasyFlash. |
| |
Conrad
Registered: Nov 2006 Posts: 849 |
Quote: Not sure what you meant by the automatically updating part. Do you mean the linking tool, or EasyProg? The only reason to include EAPI in the linking tool is so that VICE has EAPI to work with. On real EF hardware EasyProg injects the latest version of EAPI for the hardware's controller when you write the EasyFlash cart image to the EasyFlash.
I'm talking about an actual option configured on Vice. For example, under Cartridge/IO settings -> EasyFlash, there can be a textbox containing a path to the EAPI binary which will inject into the EF .crt attached virtually to Vice. This would be handy when cross developing EF carts with no real C64 handy. ;) An additional checbox to enable/disable that option of course.
@Skoe: thanks for the links! :) |
| |
King Durin Account closed
Registered: Oct 2007 Posts: 85 |
Quote: I'm talking about an actual option configured on Vice. For example, under Cartridge/IO settings -> EasyFlash, there can be a textbox containing a path to the EAPI binary which will inject into the EF .crt attached virtually to Vice. This would be handy when cross developing EF carts with no real C64 handy. ;) An additional checbox to enable/disable that option of course.
@Skoe: thanks for the links! :)
Yes, that would be very helpful and would eliminate a step in EasyFlash Cart Builder. |
| |
Skoe Account closed
Registered: Jan 2008 Posts: 34 |
Of course EasyProg does not always put EAPI there. Only if one was there already (or better: if it can find the EAPI signature at this place) |