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

Re: Question on ProDOS SmartPort drive remapping



mdj wrote:
On Dec 6, 12:19 pm, "William Garber" <willy4...@garberstreet.com>
wrote:

"mdj" <mdj....@gmail.com> wrote in message14796293-2bd0-466e-b580-255332303953@e23g2000prf.googlegroups.com">news:14796293-2bd0-466e-b580-255332303953@e23g2000prf.googlegroups.com...

: 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

;-)

-michael

NadaPong: Network game demo for Apple II computers!
Home page:  http://members.aol.com/MJMahon/

"The wastebasket is our most important design
tool--and it's seriously underused."