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

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


#!/bin/rc
rfork e
res=(575 538 839 767)
while(~ $1 -*){
	if(~ $1 -2)
		res=(778 744 1298 1199)
	args=($args $1)
	shift
}
game=$1
if(! ~ $game /*)
	game=`{pwd}^/$game
args=($args $game)
window -r $res 'label snes '$1'; games/snes -s '$"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 webmaster@9p.io.