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

Re: Screen Holes (was: Prodos Woes)



Hi, y'all!

"Paul R. Santa-Maria" <paulrsm@buckeye-express.com> wrote in message news:<3FF6E758.B94BA646@buckeye-express.com>...
> To copy a 40-column text screen from $6000 without touching
> the screen holes:
<--- snip --->

    Here's another version that's one instruction shorter:
;
;
;
	LDX	#0
L1	LDA	$6000,X
	STA	$0400,X
	LDA	$6100,X
	STA	$0500,X
	LDA	$6200,X
	STA	$0600,X
	LDA	$6300,X
	STA	$0700,X
	INX
	CPX	#$78
	BNE	L2
	LDX	#$80
L2	CPX	#$F8
	BNE	L1
	RTS


Willi