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

Re: Question on ProDOS SmartPort drive remapping



Michael J. Mahon <mjmahon@aol.com> wrote:

> mdj wrote:
> > On Dec 6, 12:19 pm, "William Garber" <willy4...@garberstreet.com>
> > wrote:
> > 
> >>"mdj" <mdj....@gmail.com> wrote:
> >>
> >>: On Dec 6, 11:13 am, vladitx <vlad...@nucleusys.com> wrote:
> >>: > On Dec 5, 10:58 am, demp...@actrix.gen.nz (David Empson) wrote:
> >>: >
> >>: > > That's something else ingrained in my brain.
> >>: >
> >>: > > A9 C1 20 ED FD 18 69 01 C9 DB D0 F6 60
> >>: >
> >>: > hmm ...
> >>: >
> >>: >  LDA #$C1
> >>: > loop:
> >>: >  JSR $FDED
> >>: >  CLC
> >>: >  ADC #$01
> >>: >  CMP #$DB
> >>: >  BNE loop
> >>: >  RTS
> >>: >
> >>: > > I don't know all the opcodes, just the common ones.
> >>: > > Complete and utter waste of brain cells. :-)
> >>: >
> >>: > Seems you're not the only one wasting precious cells. :-)
> >>:
> >>: You forgot:
> >>:
> >>: COUT  EQU   $FDED
> >>:
> >>: If we're going to be pedantic about it ... ;-)
> >>
> >>Which makes the first line in 'loop:'
> >>
> >>JSR COUT
> >>
> >>Might as well go all out, eh?  :o)))))))
> > 
> > Well, I would've gone for the character literals, but that'll do
> > Bill ;-)
> 
> Thanks, you just stopped me from doing that!  ;-)
> 
> In any case, the result of running it is:
> ABCDEFGHIJKLMNOPQRSTUVWXYZ
> 
> ;-)

Thanks for testing it for me. I'm calling it "AlphaPrint". Someone want
to set up an open source project to maintain it? :-)

-- 
David Empson
dempson@actrix.gen.nz