2018-08-18 07:39:57 -07:00
|
|
|
// settings:
|
|
|
|
constant K_DEBUG(1) // slows down interrupt handling to enable debug routines
|
|
|
|
|
2018-08-16 10:53:31 -07:00
|
|
|
constant BLAH_BASE(0x803F)
|
|
|
|
constant BLAH_COUNTS(0x0010)
|
|
|
|
constant BLAH_SP_TASK(0x0040)
|
2018-08-20 19:40:25 -07:00
|
|
|
constant BLAH_XXD(0x0080)
|
2018-08-19 17:13:11 -07:00
|
|
|
constant BLAH_DLIST(0x1000)
|
2018-08-20 19:40:25 -07:00
|
|
|
constant BLAH_DLIST_JUMPER(BLAH_DLIST - 0xA8)
|
2018-08-16 23:02:25 -07:00
|
|
|
|
2018-08-19 17:13:11 -07:00
|
|
|
constant VIDEO_C_BUFFER(0x80100000)
|
|
|
|
constant VIDEO_C_BUFFER_SIZE(640 * 480 * 4)
|
|
|
|
constant VIDEO_Z_BUFFER(VIDEO_C_BUFFER + VIDEO_C_BUFFER_SIZE)
|
|
|
|
constant VIDEO_Z_BUFFER_SIZE(640 * 480 * 2)
|
|
|
|
constant VIDEO_SOMETHING(VIDEO_Z_BUFFER + VIDEO_Z_BUFFER_SIZE)
|
|
|
|
constant VIDEO_SOMETHING_SIZE(0x18000)
|
|
|
|
constant VIDEO_STACK(VIDEO_SOMETHING + VIDEO_SOMETHING_SIZE)
|
2018-08-16 10:53:31 -07:00
|
|
|
constant VIDEO_STACK_SIZE(0x400)
|
|
|
|
constant VIDEO_YIELD(VIDEO_STACK + VIDEO_STACK_SIZE)
|
|
|
|
constant VIDEO_YIELD_SIZE(0xC00)
|