{% extends "base.src" %}
{% block header %}Curves{% endblock %}
{% block headers %}
  <style type="text/css">
    .dosbox-container { width: 640px; height: 400px; }
    .dosbox-container > .dosbox-overlay { background: url('screenshot.png'); }
    .dosbox-start { font-size: 35px !important; }
  </style>
{% endblock headers %}
{% block body %}
  <div id="dosbox"></div>
  <button onclick="dosbox.requestFullScreen();">Make fullscreen</button>
  <br />

  <a href="curves.zip">curves.zip</a> codice sorgente ed eseguibile MS-DOS


  <script type="text/javascript" src="https://js-dos.com/cdn/js-dos-api.js"></script>
  <script type="text/javascript">
    var dosbox = new Dosbox({
      id: "dosbox",
      onload: function (dosbox) {
        dosbox.run("curves.zip", "./CURVES.EXE");
      },
      onrun: function (dosbox, app) {
        console.log("App '" + app + "' is runned");
      }
    });
  </script>
{% endblock body %}
