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

Re: California Games For The Apple IIc+



On Friday, 12 October 2012 21:23:32 UTC+1, TomCh  wrote:
> On Monday, 8 October 2012 22:34:46 UTC+1, BLuRry  wrote:
> 
> > 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
> 
> 
> 
> Thanks Brendan, all that source code is very useful.
> 
> 
> 
> Now I'm just trying to juggle registers, zp access & opcodes to squeeze this SmartPort support alongside the current firmware... and all in 256 bytes :)
> 
> 
> 
> At least I have control of the underlying (virtual) hardware, so I can make my HDD interface card have things like FIFOs, DMA or bank-switched ROM mapped into $C7xx! (But I'll try to keep things as simple as possible.)
> 
> 
> 
> Tom

Got it working (without having to resort to whacky h/w solutions).

I'm assuming I can trash zp locations: $42..$47
(which the ProDOS entrypoint has params passed in)

Do you know if there's a spec?