[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The Apple II is EVIL, it's the computer of SATAN ! ! ! !
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In article <MOvfd.35$ct5.46@news.oracle.com>,
Martin Doherty <martin.doherty@undisclosed.com> wrote:
>Scott Alfter wrote:
>> The source code doesn't match the object code, and writing directly to
>> screen memory probably isn't a good idea:
>>
>> 0300 - 20 58 FC JSR $FC58
>> 0303 - A2 00 LDX #$00
>> 0305 - BD 11 03 LDA #$0311,X
>> 0308 - F0 06 BEQ $0310
>> 030A - 20 ED FD JSR $FDED
>> 030D - E8 INX
>> 030E - D0 F5 BNE $0305
>> 0310 - 60 RTS
>
>I am aghast at my presumption in saying this, due to the fact that I am
>a complete ninny when it comes to 6502 assembly, but ... shouldn't it be
>"LDA $0311,X" ?
Um...oops. :-| Correcting someone else's mistake while making one yourself
is bad form; I didn't figure I'd make that goof. Yes, it should be more
like this:
0300 - 20 58 FC JSR $FC58
0303 - A2 00 LDX #$00
0305 - BD 11 03 LDA $0311,X
0308 - F0 06 BEQ $0310
030A - 20 ED FD JSR $FDED
030D - E8 INX
030E - D0 F5 BNE $0305
0310 - 60 RTS
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( http://alfter.us/ Top-posting!
\_^_/ rm -rf /bin/laden >What's the most annoying thing on Usenet?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Linux)
iD8DBQFBfojsVgTKos01OwkRArvsAKCBSpZ+ZUEx+/nCPL35smG2oY64eQCgrqF2
48ODtiZf1BXTutn/YZ1Sv7A=
=8fR7
-----END PGP SIGNATURE-----