Re: [stella] HMBL 2600 Programmer

Subject: Re: [stella] HMBL 2600 Programmer
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Mon, 14 Oct 2002 22:35:34 +0200
Hi Kirk!

>Hi Manuel! Thanks for taking the time to 
>go in depth a bit!

Be my guest :-)

>Dangnabbit. So the page boundary is from f0ff to f100,
>huh?

Yes, I think so. Any branching from F0XX to F1XX will 
cost 4 cycles instead of three.

>Would you suggest using branch statements then, like 
>to jump to the initialization stuff, and then back?

If you think about your program as one giant loop, all 
you have to do is rotating it, until the kernel is on
top.

Try it like this for example:

	org $F000

	MainScreen
	Overscan
	VBLANK
	VSYNC
	JMP MainScreen

Start
	Init
	JMP VSYNC

	org $FFFC
	.word Start
	.word Start

Greetings,
	Manuel

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread