[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 in message _didndphVKWsEMranZ2dnUVZ_uDinZ2d@comcast.com">news:_didndphVKWsEMranZ2dnUVZ_uDinZ2d@comcast.com...
: 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

I just can't stop. In Applesoft BASIC it's:

10  FOR T = 193 TO 218
20  PRINT  CHR$ (T);
30  NEXT T

Sorry, I just had to do it.   >:O)

William Garber
Email Address - willy46pa@garberstreet.com
Alt. Email - willy46pa@comcast.net
Web address - http://www.garberstreet.com