Makefile 18.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
#!smake -k
#
# Makefile for RDP verification application test suite.
#
# Wed Oct  5 21:03:47 PDT 1994
#

PRDEPTH = ../..

include $(PRDEPTH)/PRdefs

APP =		rdpverif

OPTIMIZER =	-g -D_HW_VERSION_2
#OPTIMIZER =	-g -D_HW_VERSION_2 -DONETRI

TARGETS =	rom

EMULATE = $(ROOT)/usr/sbin/emulate

#
# ADD TEST CASE:
#
# Note: due to fopen() restrictions in the rsp simulator, the
# directory you send the output to must exist before running...
#
#

NIGHTLY_REGRESSION_TEST_ARCHIVE =	\
	InData/test030.30.rdp.Z.archive \
	InData/test031.31.rdp.Z.archive \
	InData/test032.32.rdp.Z.archive \
	InData/test036.36.rdp.Z.archive \
	InData/test037.37.rdp.Z.archive \
	InData/test038.38.rdp.Z.archive \
	InData/test039.39.rdp.Z.archive \
	InData/test040.40.rdp.Z.archive \
	InData/test042.42.rdp.Z.archive \
	InData/test044.44.rdp.Z.archive \
	InData/test045.45.rdp.Z.archive \
			\
	InData/test131.31.rdp.Z.archive \
	InData/test132.32.rdp.Z.archive \
	InData/test140.40.rdp.Z.archive


OTHER_TESTS_ARCHIVE =	\
	InData/test001.01.rdp.Z.archive \
	InData/test002.02.rdp.Z.archive \
	InData/test003.03.rdp.Z.archive \
	InData/test004.04.rdp.Z.archive \
	InData/test005.05.rdp.Z.archive \
	InData/test006.06.rdp.Z.archive \
	InData/test009.09.rdp.Z.archive \
	InData/test010.10.rdp.Z.archive \
	InData/test015.15.rdp.Z.archive \
	InData/test020.20.rdp.Z.archive \
	InData/test021.21.rdp.Z.archive \
	InData/test022.22.rdp.Z.archive \
	InData/test033.33.rdp.Z.archive \
	InData/test034.34.rdp.Z.archive \
	InData/test035.35.rdp.Z.archive

NIGHTLY_REGRESSION_TESTS 	= ${NIGHTLY_REGRESSION_TEST_ARCHIVE:R:R:R:R:T}
NIGHTLY_REGRESSION_TEST_TARGETS = ${NIGHTLY_REGRESSION_TEST_ARCHIVE:R}
OTHER_TESTS 			= ${OTHER_TESTS_ARCHIVE:R:R:R:R:T}
OTHER_TESTS_TARGETS 		= ${OTHER_TESTS_ARCHIVE:R}
TESTS 				= ${OTHER_TESTS} ${NIGHTLY_REGRESSION_TESTS}

TEXHFILES =	./RGBA16checker.h \
		./RGBA16mario.h	\
		./RGBA16mario_2.h \
		./RGBA16mario32.h \
		./RGBA16mario_32.h \
		./RGBA16dana.h	\
		./RGBA16grid.h	\
		./RGBA16grid_32.h	\
		./RGBA16grid_32mip.h	\
		./IA16grid.h	\
		./IA8grid.h	\
		./IA4grid.h	\
		./I8grid.h	\
		./I4grid.h	\
		./RGBA32eye.h 	\
		./RGBA16tree.h

HFILES =	$(TEXHFILES) rdpverif.h

CODEFILES =	rdpverif.c main.c
CODEOBJECTS =	$(CODEFILES:.c=.o)

DATAFILES =	dynamic.c zbuffer.c init.c static.c cfb.c
DATAOBJECTS =	$(DATAFILES:.c=.o)

CODESEGMENT =	codesegment.o

OBJECTS =	$(CODESEGMENT) $(DATAOBJECTS)

#LCINCS =	-I. -I$(ROOT)/usr/include/PR -DUSE_TEX
LCINCS =	-I. -I$(ROOT)/usr/include/PR
LCOPTS =	-fullwarn -non_shared -G 0
LCDEFS =	$(HW_FLAGS)

LDIRT  =	$(APP) $(TEXHFILES) InData/test*Z

LDFLAGS =	$(MKDEPOPT) -nostdlib -L$(ROOT)/usr/lib -L$(ROOT)/usr/lib/PR \
			-lultra

default:	$(TARGETS)

include $(COMMONRULES)

#
# what does it mean to 'install' this thing?
#
install:	default
		$(INSTALL) -m 444 -F /usr/src/PR/$(APP) rdpverif \
			$(HFILES) $(CODEFILES) $(DATAFILES) Makefile spec

$(CODESEGMENT):	$(CODEOBJECTS)
		$(LD) -o $(CODESEGMENT) -r $(CODEOBJECTS) $(LDFLAGS)

$(CODEOBJECTS): $(HFILES)

$(OBJECTS): $(HFILES)

rom $(APP):	spec $(OBJECTS) $(MAKEROM)
		$(MAKEROM) -r rom spec

#
# Header file build rules
#

./RGBA32eye.h: Texture/eye.rgb
	$(RGB2C) -f RGBA -s 32 -m RGBA32eye Texture/eye.rgb > RGBA32eye.h

./RGBA16dana.h: Texture/dana_tiny.rgb
	$(RGB2C) -m RGBA16dana Texture/dana_tiny.rgb > RGBA16dana.h

./RGBA16checker.h: Texture/checker.rgba
	$(RGB2C) -f RGBA -s 16 -m RGBA16checker Texture/checker.rgba > RGBA16checker.h


./RGBA16grid.h: Texture/grid.rgba
	$(RGB2C) -f RGBA -s 16 -m RGBA16grid Texture/grid.rgba > RGBA16grid.h

./RGBA16grid_32.h: Texture/grid.rgba
	$(RGB2C) -f RGBA -s 16 -m RGBA16grid_32 Texture/grid.rgba > RGBA16grid_32.h

./RGBA16grid_32mip.h: Texture/grid.rgba
	$(RGB2C) -o MIP -f RGBA -s 16 -m RGBA16grid_32mip Texture/grid.rgba > RGBA16grid_32mip.h

./RGBA16grid.tmem:
	$(RGB2C) -f RGBA -s 16 -o RAW -m RGBA16grid Texture/grid.rgba > RGBA16grid.raw
	$(ROOT)/PR/tools/tmemfmt/tmemfmt -a 0 -i RGBA16grid.raw -o RGBA16grid.tmem
	-rm RGBA16grid.raw

./RGBA16mario.h: Texture/mario_1.rgb
	$(RGB2C) -f RGBA -s 16 -m RGBA16mario Texture/mario_1.rgb > RGBA16mario.h

./RGBA16mario_sub.h: Texture/mario_sub.rgb
	$(RGB2C) -f RGBA -s 16 -m RGBA16mario_sub Texture/mario_sub.rgb > RGBA16mario_sub.h

./RGBA16mario_2.h: Texture/mario_2.rgb
	$(RGB2C) -f RGBA -s 16 -m RGBA16mario_2 Texture/mario_2.rgb > RGBA16mario_2.h

./RGBA16mario32.h: Texture/mario_32.rgb
	$(RGB2C) -f RGBA -s 16 -m RGBA16mario32 Texture/mario_32.rgb > RGBA16mario32.h

./RGBA16mario_32.h: Texture/mario_32.rgb
	$(RGB2C) -f RGBA -s 16 -m RGBA16mario_32 Texture/mario_32.rgb > RGBA16mario_32.h

./RGBA16tree.h: Texture/tree_32.rgba
	$(RGB2C) -f RGBA -s 16 -m RGBA16tree Texture/tree_32.rgba > RGBA16tree.h

./IA16grid.h: Texture/grid.rgba
	$(RGB2C) -f IA -s 16 -m IA16grid Texture/grid.rgba > IA16grid.h

./IA8grid.h: Texture/grid.rgba
	$(RGB2C) -f IA -s 8 -m IA8grid Texture/grid.rgba > IA8grid.h

./IA4grid.h: Texture/grid.rgba
	$(RGB2C) -f IA -s 4 -m IA4grid Texture/grid.rgba > IA4grid.h

./IA4grid.tmem: Texture/grid.rgba
	$(RGB2C) -f IA -s 4 -o RAW -m IA4grid Texture/grid.rgba > IA4grid.raw
	$(ROOT)/PR/tools/tmemfmt/tmemfmt -a 0 -i IA4grid.raw -o IA4grid
	-rm IA4grid.raw 

./I8grid.h: Texture/grid.rgba
	$(RGB2C) -f I -s 8 -m I8grid Texture/grid.rgba > I8grid.h

./I4grid.h: Texture/grid.rgba
	$(RGB2C) -f I -s 4 -m I4grid Texture/grid.rgba > I4grid.h

./CIgrid.h: Texture/grid.rgba
	$(RGB2C) -f CI -s 8 -m CIgrid Texture/grid.rgba > CIgrid.h

#
#
#  Build RDP Display Lists
#
#

test000:		InData/test000.0.rdp.Z

InData/test000.0.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-a -o 0 -n InData/test000" $(APP) rom
	compress -f InData/test000*.rdp

test001:		InData/test001.1.rdp.Z

InData/test001.1.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 1 -n InData/test001" $(APP) rom
	compress -f InData/test001*.rdp

test002:		InData/test002.2.rdp.Z

InData/test002.2.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 2 -n InData/test002" $(APP) rom
	compress -f InData/test002*.rdp

test003:		InData/test003.3.rdp.Z

InData/test003.3.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 3 -n InData/test003" $(APP) rom
	compress -f InData/test003*.rdp

test004:		InData/test004.4.rdp.Z

InData/test004.4.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 4 -o 4 -n InData/test004" $(APP) rom
	compress -f InData/test004*.rdp

test005:		InData/test005.5.rdp.Z

InData/test005.5.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 5 -o 5 -n InData/test005" $(APP) rom
	compress -f InData/test005*.rdp

test006:		InData/test006.6.rdp.Z

InData/test006.6.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 6 -n InData/test006" $(APP) rom
	compress -f InData/test006*.rdp

test009:		InData/test009.9.rdp.Z

InData/test009.9.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 9 -n InData/test009" $(APP) rom
	compress -f InData/test009*.rdp

test010:		InData/test010.10.rdp.Z

InData/test010.10.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 10 -n InData/test010" $(APP) rom
	compress -f InData/test010*.rdp

test015:		InData/test015.15.rdp.Z

InData/test015.15.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -o 15 -n InData/test015" $(APP) rom
	compress -f InData/test015*.rdp

test020:		InData/test020.14.rdp.Z

InData/test020.14.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -s 20 14 -f 20 -n InData/test020" $(APP) rom
	compress -f InData/test020.*.rdp

#
# Anti-aliased
#
test021:		InData/test021.19.rdp.Z

InData/test021.19.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -s 21 19 -f 21 -n InData/test021" $(APP) rom
	compress -f InData/test021.*.rdp

test022:		InData/test022.63.rdp.Z

InData/test022.63.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -s 22 63 -f 22 -n InData/test022" $(APP) rom
	compress -f InData/test022.*.rdp

#
# Collection of texture tests to run for nightly toplevel texture regression
# DP in 1 clock mode
#
test030:	InData/test030.30.rdp.Z InData/test030.30.rdram.Z

InData/test030.30.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 30 -o 30 -n InData/test030" $(APP) rom
	compress -f InData/test030.*.rdp

InData/test030.30.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a "-d -m -r -a -f 30 -o 30 -n InData/test030" $(APP) rom

#
# Collection of texture tests to run for nightly toplevel texture regression
# DP in 2 clock mode
#
test031:	InData/test031.31.rdp.Z InData/test031.31.rdram.Z

InData/test031.31.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 31 -o 31 -n InData/test031" $(APP) rom
	compress -f InData/test031.*.rdp

InData/test031.31.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -m -r -a -f 31 -o 31 -n InData/test031" $(APP) rom

#
# (32 bit version)
# Collection of texture tests to run for nightly toplevel texture regression
# DP in 2 clock mode
#
test131:	InData/test131.31.rdp.Z InData/test131.31.rdram.Z

InData/test131.31.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 31 -o 31 -n InData/test131 -t" $(APP) rom
	compress -f InData/test131.*.rdp

InData/test131.31.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -m -r -a -f 31 -o 31 -n InData/test131 -t" $(APP) rom

#
# Interlaced version of test 30, odd field
#
# Don't use the -r (shrink viewport) flag, as this test
# turns on scissoring, which only allows rendering in the middle of a
# 320x240 frame buffer region.
#
test032:	InData/test032.32.rdp.Z InData/test032.32.rdram.Z

InData/test032.32.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 32 -o 32 -n InData/test032" $(APP) rom
	compress -f InData/test032.*.rdp

InData/test032.32.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-m -d -a -f 32 -o 32 -n InData/test032" $(APP) rom

#
# (32 bit version)
# Interlaced version of test 30, odd field
#
# Don't use the -r (shrink viewport) flag, as this test
# turns on scissoring, which only allows rendering in the middle of a
# 320x240 frame buffer region.
#
test132:	InData/test132.32.rdp.Z InData/test132.32.rdram.Z

InData/test132.32.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 32 -o 32 -n InData/test132 -t" $(APP) rom
	compress -f InData/test132.*.rdp

InData/test132.32.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-m -d -a -f 32 -o 32 -n InData/test132 -t" $(APP) rom

#
# Interlaced version of test 30, even field
#
# Don't use the -r (shrink viewport) flag, as this test
# turns on scissoring, which only allows rendering in the middle of a
# 320x240 frame buffer region.
#
test033:	InData/test033.33.rdp.Z InData/test033.33.rdram.Z

InData/test033.33.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 33 -o 33 -n InData/test033" $(APP) rom
	compress -f InData/test033.*.rdp

InData/test033.33.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-m -d -a -f 33 -o 33 -n InData/test033" $(APP) rom

test034:		InData/test034.34.rdp.Z

InData/test034.34.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 34 -o 34 -n InData/test034" $(APP) rom
	compress -f InData/test034.*.rdp

test035:		InData/test035.35.rdp.Z

InData/test035.35.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 35 -o 35 -n InData/test035" $(APP) rom
	compress -f InData/test035.*.rdp

#
# 16-bit copies
#
test036:	InData/test036.36.rdp.Z InData/test036.36.rdram.Z

InData/test036.36.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 36 -o 36 -n InData/test036" $(APP) rom
	compress -f InData/test036.*.rdp

InData/test036.36.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 36 -o 36 -n InData/test036" $(APP) rom

#
# 16-bit texture rectangle in 1 cycle mode
# 123pixels x 125pixels
#
test037:	InData/test037.37.rdp.Z InData/test037.37.rdram.Z

InData/test037.37.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 37 -o 37 -n InData/test037" $(APP) rom
	compress -f InData/test037.*.rdp

InData/test037.37.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 37 -o 37 -n InData/test037" $(APP) rom

#
# 1 cycle Texture LOD test
#
test038:	InData/test038.38.rdp.Z InData/test038.38.rdram.Z

InData/test038.38.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 38 -o 38 -n InData/test038" $(APP) rom
	compress -f InData/test038.*.rdp

InData/test038.38.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 38 -o 38 -n InData/test038" $(APP) rom

#
# 2 cycle trilerp texture + detail test (Anti-aliased)
#
test039:	InData/test039.39.rdp.Z InData/test039.39.rdram.Z

InData/test039.39.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 39 -o 39 -n InData/test039" $(APP) rom
	compress -f InData/test039.*.rdp

InData/test039.39.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 39 -o 39 -n InData/test039" $(APP) rom

#
# load_tlut_dl
#
test040:	InData/test040.40.rdp.Z InData/test040.40.rdram.Z

InData/test040.40.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 40 -o 40 -n InData/test040" $(APP) rom
	compress -f InData/test040.*.rdp

InData/test040.40.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 40 -o 40 -n InData/test040" $(APP) rom

#
# (32 bit version)
# load_tlut_dl
#
test140:	InData/test140.40.rdp.Z InData/test140.40.rdram.Z

InData/test140.40.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 40 -o 40 -n InData/test140 -t" $(APP) rom
	compress -f InData/test140.*.rdp

InData/test140.40.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 40 -o 40 -n InData/test140 -t" $(APP) rom

#
# Texture sharpen test
#
test042:	InData/test042.42.rdp.Z InData/test042.42.rdram.Z

InData/test042.42.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 42 -o 42 -n InData/test042" $(APP) rom
	compress -f InData/test042.*.rdp

InData/test042.42.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 42 -o 42 -n InData/test042" $(APP) rom

#
# 2 cycle trilerp texture + detail test
# (different mask and shift from Test 39) (Anti-aliased)
#
test044:	InData/test044.44.rdp.Z InData/test044.44.rdram.Z

InData/test044.44.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-r -m -a -f 44 -o 44 -n InData/test044" $(APP) rom
	compress -f InData/test044.*.rdp

InData/test044.44.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -r -m -a -f 44 -o 44 -n InData/test044" $(APP) rom

#
# 2 clock test with exact differences between clock 1 and 2 in CC/BL/MS
# has random noise, therefore, visual checks only
#
test045:	InData/test045.45.rdp.Z InData/test045.45.rdram.Z

InData/test045.45.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 45 -o 45 -n InData/test045" $(APP) rom
	compress -f InData/test045.*.rdp

InData/test045.45.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -a -f 45 -o 45 -n InData/test045" $(APP) rom

#
# Clear frame buffer (16-bit)
#
test050:	InData/test050.50.rdp.Z InData/test050.50.rdram.Z

InData/test050.50.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 50 -o 50 -n InData/test050" $(APP) rom
	compress -f InData/test050.*.rdp

InData/test050.50.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 50 -o 50 -n InData/test050" $(APP) rom

#
# Clear frame buffer
#
test051:	InData/test051.51.rdp.Z InData/test051.51.rdram.Z

InData/test051.51.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 51 -o 51 -n InData/test051" $(APP) rom
	compress -f InData/test051.*.rdp

InData/test051.51.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 51 -o 51 -n InData/test051" $(APP) rom

#
# Clear frame buffer - (32-bit)
#
test152:	InData/test152.52.rdp.Z InData/test152.52.rdram.Z

InData/test152.52.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 52 -o 52 -n InData/test152 -t" $(APP) rom
	compress -f InData/test152.*.rdp

InData/test152.52.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 52 -o 52 -n InData/test152 -t" $(APP) rom

#
# Clear frame buffer
#
test053:	InData/test053.53.rdp.Z InData/test053.53.rdram.Z

InData/test053.53.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 53 -o 53 -n InData/test053" $(APP) rom
	compress -f InData/test053.*.rdp

InData/test053.53.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 53 -o 53 -n InData/test053" $(APP) rom

#
# Clear frame buffer
#
test054:	InData/test054.54.rdp.Z InData/test054.54.rdram.Z

InData/test054.54.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 54 -o 54 -n InData/test054" $(APP) rom
	compress -f InData/test054.*.rdp

InData/test054.54.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 54 -o 54 -n InData/test054" $(APP) rom

#
# Clear frame buffer
#
test055:	InData/test055.55.rdp.Z InData/test055.55.rdram.Z

InData/test055.55.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 55 -o 55 -n InData/test055" $(APP) rom
	compress -f InData/test055.*.rdp

InData/test055.55.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 55 -o 55 -n InData/test055" $(APP) rom

#
# Clear frame buffer
#
test056:	InData/test056.56.rdp.Z InData/test056.56.rdram.Z

InData/test056.56.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 56 -o 56 -n InData/test056" $(APP) rom
	compress -f InData/test056.*.rdp

InData/test056.56.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 56 -o 56 -n InData/test056" $(APP) rom

#
# Clear frame buffer
#
test057:	InData/test057.57.rdp.Z InData/test057.57.rdram.Z

InData/test057.57.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 57 -o 57 -n InData/test057" $(APP) rom
	compress -f InData/test057.*.rdp

InData/test057.57.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 57 -o 57 -n InData/test057" $(APP) rom

#
# Clear frame buffer
#
test158:	InData/test158.58.rdp.Z InData/test158.58.rdram.Z

InData/test158.58.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 58 -o 58 -n InData/test158 -t" $(APP) rom
	compress -f InData/test158.*.rdp

InData/test158.58.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 58 -o 58 -n InData/test158 -t" $(APP) rom

#
# Clear frame buffer
#
test059:	InData/test059.59.rdp.Z InData/test059.59.rdram.Z

InData/test059.59.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -r -a -f 59 -o 59 -n InData/test059" $(APP) rom
	compress -f InData/test059.*.rdp

InData/test059.59.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -r -a -f 59 -o 59 -n InData/test059" $(APP) rom

#
# YUV texture load/render
#
test060:	InData/test060.60.rdp.Z InData/test060.60.rdram.Z

InData/test060.60.rdp.Z:	$(APP)
	$(EMULATE) -n -s -a "-m -a -f 60 -o 60 -n InData/test060" $(APP) rom
	compress -f InData/test060.*.rdp

InData/test060.60.rdram.Z:	$(APP)
	$(EMULATE) -n -s -a \
	    "-d -F -m -a -f 60 -o 60 -n InData/test060" $(APP) rom



tests:	$(TESTS)

#
# Run a smaller subset of the total test coverage on a nightly basis.
#
nightly_regression: $(NIGHTLY_REGRESSION_TESTS)

#
# Run test not run in nightly regression
#
other_tests: $(OTHER_TESTS)

#
# Only checkin archived versions of the .mem, .rdp files on a periodic, 
# on-demand basis (e.g. whenever an RSP simulator/ucode change affects the 
# output files mumble.mem or mumble.rdp).
#
# Otherwise we'll pollute the source tree with unnecessary copies
# of these data files.  The intent is to provide a way to resurrect data
# files for downstream simulation purposes whenever the output files generated
# by the rsp sim environment causes a hiccup downstream.
#
periodic_checkin: $(NIGHTLY_REGRESSION_TESTS)
	$(ROOT)/PR/tools/scripts/copyToArchive $(NIGHTLY_REGRESSION_TEST_TARGETS)