Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/nes

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
rfork e
res=(565 520 826 767)
while(~ $1 -*){
	if(~ $1 -2)
		res=(754 706 1278 1199)
	args=($args $1)
	shift
}
game=$1
if(! ~ $game /*)
	game=`{pwd}^/$game
args=($args $game)
window -r $res 'label nes '$1'; games/nes '$"args

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].