[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: California Games For The Apple IIc+



On Monday, October 8, 2012 3:08:51 PM UTC-5, TomCh wrote:
> On Monday, 8 October 2012 17:09:18 UTC+1, BLuRry  wrote:
> 
> > 
> 
> > Glad to help!  Does the 2MG version of Prince of Persia work in AppleWin? That was the original reason I supported the smartport firmware calls for 2MG images.
> 
> > 
> 
> > 
> 
> > 
> 
> > -Brendan
> 
> 
> 
> This one: Prince of Persia (Original 3.5 floppy for IIc+).2MG ?
> 
> No, I just get a blank screen (or maybe I'm not being patient enough).
> 
> 
> 
> Sounds like it works in Jace, so I'll retry it.
> 
> 
> 
> Thanks,
> 
> Tom

Make sure that you've implemented the smartport calls -- the prodos MLI is not used at all.  It really threw me for a loop initially, but fortunately the smartport service routine does virtually the same thing for block reads/writes so it might not be too heavy of a burden to support.  The Jace implementation is zero-firmware, so I'm afraid I can't be much help in providing a 6502-based smartport handler or anything.  If you're taking a similar zero-firmware approach though, you might want to peek at how I abstracted the smartport calls in case it is of any use to you (pointer arithmetic, PC and stack manipulation, etc)

Abstracted smartport driver: http://java-ace.svn.sourceforge.net/viewvc/java-ace/jace/src/jace/hardware/SmartportDriver.java?revision=241&content-type=text%2Fplain

Mass Storage implementation (the Smartport MLI glue is at the very end of the file): http://java-ace.svn.sourceforge.net/viewvc/java-ace/jace/src/jace/hardware/massStorage/CardMassStorage.java?revision=268&content-type=text%2Fplain

-Brendan