You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
681 B
HTML
34 lines
681 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>PPRGM</title>
|
|
<style type="text/css">
|
|
#content {
|
|
position: absolute;
|
|
left: 0; right: 0; top: 0; bottom: 0;
|
|
}
|
|
#canvas {
|
|
width: 100%;
|
|
max-height: 100%;
|
|
/*height: 100%;*/
|
|
margin: 0 auto;
|
|
display: block;
|
|
image-rendering: pixelated;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="content">
|
|
<canvas id="canvas" oncontextmenu="event.preventDefault()" onmousedown="window.focus()"></canvas>
|
|
</div>
|
|
<script type="text/javascript">
|
|
var Module =
|
|
{
|
|
canvas: document.getElementById('canvas'),
|
|
arguments:['pprgm.tic']
|
|
}
|
|
</script>
|
|
<script src="tic80.js"></script>
|
|
</body>
|
|
</html> |