amiga.php

Denna kod är public domain. Om ni hittar fel eller vill ändra något i koden blir jag jätteglad om ni skickar dessa ändringar till jesper [at] fantasi [punkt] se.


<?php // yo, emacs! This is an -*- HTML -*- file.
  $title="Amiga";
  $currentFile=__FILE__;
  include("header.php");
?>

  <h1>Amiga Software and Hardware hacks</h1>

  <p class="maincontent">
    Below are a few of my Amiga hacks. I intend to continue the
    development of these eventually, but currently time is not at
    hand. If you have suggestions or comments about the programs don't
    hesitate to send them to me. To the right you can find links to
    some hardware hacks I have collected. Some are my own design,
    others are from the <a href="http://www.aminet.net/">Aminet</a>.
  </p>

  <table class="noborder fullwidth"><tr><td align="center" valign="top">
    <table class="headercell"><tr>
      <td class="headercell_a"><h2 class="noborder">W R I G G L E</h2></td>
      <td class="headercell_b"><h3 class="noborder">v2.2</h3></td>
    </tr></table>
    <img width="320" height="266" src="gfx/amiga-wriggle.png" alt="Wriggle ScreenShoot">
    <p class="maincontent">
      An intriguing worm game where you control the worm with the
      mouse. This might be tricky at first, but after a few rounds
      you'll see the advantages with a non-square worm.  Move freely
      in the world and pick up the food and other bonus items.
    </p>
    <font class="download">
      <a href="download/Wriggle.lha">Download latest version</a>
    </font>
    <br>
    Old versions:
    <a href="download/Wriggle2.1.lha">v2.1</a> |
    <a href="download/Wriggle2.lha">v2</a> |
    <a href="download/Wriggle2b.lha">v2&beta;</a> |
    <a href="download/Wriggle1.5.lha">v1.5</a>

    <table class="headercell"><tr>
      <td class="headercell_a"><h2 class="noborder">Ev</h2></td>
      <td class="headercell_b"><h3 class="noborder">v1.3</h3></td>
    </tr></table>
    <p class="maincontent">
      I were for some time very unsatisfied with the functions of the
      tool eval (a part of Amiga OS). I was hoping for an update in
      Amiga OS 3.5, but no changes were made.  Therefor I wrote my own
      tool for mathematical evaluations, and since no update were made
      in Amiga OS 3.9 either, I'm glad I did.  I did contact both
      Amiga Inc. and Haage&amp;Partner to offer this tool as a
      contribution but they did not seem interested. In the second
      Boing Bag for OS 3.9 they finally fixed some of the bugs in
      Eval, but <b>Ev</b> still includes more features.
    </p>
    <p class="maincontent">
      The worst things about the <b>old eval</b>:
    </p>
    <ul class="maincontent">
      <li>It can't count! 1+2*3 should equal 7 not 9!! (no priorities?)</li>
      <li>It only supports integers, no fractions, no binary numbers etc.</li>
      <li>To few functions to be of any real use</li>
      <li>Not flexible enough to be user friendly</li>
    </ul>
    <p class="maincontent">
      <b>Ev is improved</b> in these areas and some other:
    </p>
    <ul class="maincontent">
      <li>The priorities are correct! 1+2*3 = 7</li>
      <li>Ev supports all the old Eval input for compatibility reasons (except for e)</li>
      <li>Support for binary numbers added in input and output</li>
      <li>Support for fractional numbers added with correct rounding of decimals</li>
      <li>New flexibility added with support for:
      <ul>
        <li>The constants <code>pi</code> and <code>e</code></li>
        <li>the words and (<code>&amp;</code>), or (<code>|</code>), not (<code>~</code>)</li>
        <li>both <code>&lt;&lt;</code>, <code>&gt;&gt;</code> and <code>lsh</code>,
            <code>rsh</code> (and <code>l</code>, <code>r</code>) for left/right shift</li>
        <li><code>d</code>## and <code>@d</code> for decimal input and output</li>
        <li>several new ESC-codes in output (tab, bell, form feed etc.)</li>
        <li>number of digits in octal and hexadecimal output is configurable</li>
        <li>multiplication without '<code>*</code>'-token in obvious places</li>
        <li>reading expressions from a file or stdin</li>
        <li>multiple expression calculation</li>
        <li>variables</li>
      </ul></li>
      <li>Several new functions:
      <ul>
        <li>absolute value (<code>abs</code>)</li>
        <li>square root (<code>sqrt</code>)</li>
        <li>factorial (<code>!</code>)</li>
        <li>powered numbers (<code>^</code>)</li>
        <li>trigonometric functions (<code>sin</code>, <code>cos</code>,
            <code>tan</code>, <code>asin</code>, <code>acon</code>,
            <code>atan</code>, <code>sinh</code>, <code>cosh</code>, <code>tanh</code>)</li>
        <li>random number (<code>rnd</code>)</li>
        <li>logarithmic functions (<code>ln</code>, <code>log</code>,
            <code>log2</code>, <code>logx</code>)</li>
      </ul></li>
    </ul>

    <font class="download"><a href="download/Ev.lha">Download</a></font><br>
    <font class="note">Source code:</font>
    <font class="download">
      <a href="http://user.it.uu.se/cgi-bin/cgiwrap/jesperw/sourceview?/~jesperw/source/ev.c">ev.c</a> &sdot;
      <a href="http://user.it.uu.se/cgi-bin/cgiwrap/jesperw/sourceview?/~jesperw/source/ev.lex">ev.lex</a> &sdot;
      <a href="http://user.it.uu.se/cgi-bin/cgiwrap/jesperw/sourceview?/~jesperw/source/ev.yac">ev.yac</a>
    </font>
    <br>

    <table class="headercell"><tr>
      <td class="headercell_a"><h2 class="noborder">Char Counter</h2></td>
      <td class="headercell_b"><h3 class="noborder"></h3></td>
    </tr></table>
    <p class="maincontent">
      Finds the n'th character in a file and displays it and its
      surroundings.  Nice to have around when a program (a compiler
      for instance) tells you there is an error on character 4711 in a
      file.
    </p>
    <font class="download">
      <a href="download/cc.lha">Download</a> |
      <a href="sourceview.php?file=source/cc.c">View C source</a>
    </font>
    <br>

    <table class="headercell"><tr>
      <td class="headercell_a"><h2 class="noborder">JiVe Menu System</h2></td>
      <td class="headercell_b"><h3 class="noborder">v1.0</h3></td>
    </tr></table>
    <img width="310" height="160" src="gfx/amiga-jwmenu.png" alt="JWMenu ScreenShoot">
    <p class="maincontent">
      A menu. No more, no less. No fancy GUI, no preference program,
      no extra garbage.  It's small, only 3k, requires very little
      memory, and practically no CPU time.  100% system friendly (if
      configured correctly...)
    </p>
    <font class="download">
      <a href="download/JWMenu.lha">Download</a> |
      <a href="sourceview.php?file=source/menu.e">View Amiga E source</a>
    </font>
    <br>

    <table class="headercell"><tr>
      <td class="headercell_a"><h2 class="noborder">S n o O o w !</h2></td>
      <td class="headercell_b"><h3 class="noborder">v1.1</h3></td>
    </tr></table>
    <img width="200" height="150" src="gfx/amiga-snooow.png" alt="SnoOow! ScreenShoot">
    <p class="maincontent">
      A nice window with falling snow. Very configurable!
    </p>
    <font class="download">
      <a href="download/SnoOow.lha">Download</a> |
      <a href="sourceview.php?file=source/snooow.e">View Amiga E source</a>
    </font>
    <br><br>
  </td>

  <td class="rightcolumn">
    <h3>Amiga related hardware information<br><font class="subtext">(in Swedish)</font></h3>
    <ul class="amigalist">
      <li> <a href="article.php?key=Amiga" class="note">Historien om min Amiga 1200</a></li>
      <li> <a href="article.php?key=amigaportar" class="note">Amiga I/O port pinkonfiguration</a></li>
      <li> <a href="article.php?key=mc68020" class="note">MC68020/EC020</a></li>
    </ul>

    <h3>Amiga hardware hack<br><font class="subtext">(in Swedish) Available to buy from <a href="elektronik.php">Fantasi</a></font></h3>
    <ul class="amigalist">
      <li> <a href="article.php?key=1mchip" class="note">Get 1MB chip mem in Amiga 500</a></li>
      <li> <a href="article.php?key=nyckelbrytare" class="note">Lock the Amiga with a key</a></li>
      <li> <a href="article.php?key=pausknapp" class="note">Install a pause switch</a></li>
      <li> <a href="article.php?key=level7" class="note">Switch to generate level 7 interrupts</a></li>
      <li> <a href="article.php?key=resetknapp" class="note">Connect the reset-button in a tower</a></li>
      <li> <a href="article.php?key=ide-reset" class="note">Find the hard drive after reset</a></li>
      <li> <a href="article.php?key=ide-adapter" class="note">Connect four IDE units</a></li>
      <li> <a href="article.php?key=fyraspelaradapter" class="note">Connect two joysticks to the parallel port</a></li>
      <li> <a href="article.php?key=musjoyswitch" class="note">Mouse/Joystick switch</a></li>
      <li> <a href="article.php?key=monostereo" class="note">Mono/Stereo switch</a></li>
      <li> <a href="article.php?key=cdaudio" class="note">Get audio from the CD player</a></li>
      <li> <a href="article.php?key=volymknapp" class="note">Volume control</a></li>
    </ul>

    <h3>Other Amiga hardware pages</h3>
    <ul class="amigalist">
      <li> <a href="http://amigahardware.mariomisic.de/index_e.html" class="note">Big Book of Amiga Hardware</a></li>
      <li> <a href="http://amiga.resource.cx/" class="note">Amiga Hardware Database</a></li>
      <li> <a href="http://www.thule.no/haynie/" class="note">The Dave Haynie Archives</a></li>
      <li> <a href="http://www.shiftreload.com.au/users/4x4/schematics/index.html" class="note">Amiga Schematics and Manuals</a></li>
      <li> <a href="http://www.ianstedman.co.uk/Amiga/amiga.html" class="note">Ian Stedman's homepage</a></li>
      <li> <a href="http://www.ianstedman.co.uk/Amiga/amiga_hacks/Amiga_Power_supplies/body_amiga_power_supplies.html" class="note">Amiga power supplies</a></li>
      <li> <a href="http://amigakit.com/" class="note">Amigakit</a></li>
      <li> <a href="http://phase5.a1k.org/" class="note">Phase5 unofficial support page</a></li>
      <li> <a href="http://www.jschoenfeld.de/indexe.htm" class="note">Individual Computers</a></li>
      <li> <a href="http://www.e3b.de/usb/index_e.html" class="note">E3B</a></li>
    </ul>

    <h3>Other Amiga related pages</h3>
    <ul class="amigalist">
      <li> <a href="http://www.aminet.net/" class="note">Aminet</a></li>
      <li> <a href="http://www.amigarulez.com/" class="note">AmigaRulez</a></li>
      <li> <a href="http://safir.amigaos.com/" class="note">Safir</a></li>
      <li> <a href="http://www.intuitionbase.com/index.php" class="note">IntuitionBase</a></li>
      <li> <a href="http://utilitybase.com/" class="note">UtillityBase</a></li>
      <li> <a href="http://www.whdload.de/" class="note">WHDLoad</a></li>
      <li> <a href="http://www.back2roots.org/News/" class="note">Back To The Roots</a></li>
      <li> <a href="http://www.gregdonner.org/workbench/" class="note">Workbench Nostalgia</a></li>
      <li> <a href="http://hol.abime.net/" class="note">Hall of light</a></li>
      <li> <a href="http://www.amigaremix.com/" class="note">Amiga Remix</a></li>
      <li> <a href="http://www.gurumeditation.se/" class="note">Guru Meditation</a></li>
    </ul>

    <h3>Some art</h3>
    <p class="maincontent">
      These objects and scenes are created using Real3D on my Amiga 1200.
      Click on the images for a larger picture.
    </p>
    <a href="gfx/bord.jpg"><img width="100" height="" src="gfx/bord.jpg" alt="A table with some stuff on it" border="0"></a>
    <a href="gfx/piano.jpg"><img width="100" height="" src="gfx/piano.jpg" alt="A piano" border="0"></a>

    <h3>Amiga favicons</h3>
    <p class="maincontent">
      And finally, you are encouraged to add a favicon to your
      site. You are free to use these favicons. If you decide to
      create your own Amiga favicon I would be glad to publish them
      here.  To add a favicon to your page simply add the following
      line within the <code>&lt;head&gt;</code>-container of your
      pages.
    </p>
    <p class="codebox">
      <code>&lt;link rel="shortcut icon" href="http://www.your.url/boing.ico"&gt;</code>
    </p>
    <p class="maincontent">
      <a href="gfx/favicons/boing.ico"><img width="16" height="16" src="gfx/favicons/boing.png" alt="*" border="0"><img width="10" height="16" src="gfx/pixel.gif" border="0" alt=" ">Boing</a><br>
      <a href="gfx/favicons/a.ico"><img width="16" height="16" src="gfx/favicons/a.png" alt="*" border="0"><img width="10" height="16" src="gfx/pixel.gif" border="0" alt=" ">A</a><br>
      <a href="gfx/favicons/amiga.ico"><img width="16" height="16" src="gfx/favicons/amiga.png" alt="*" border="0"><img width="10" height="16" src="gfx/pixel.gif" border="0" alt=" ">Amiga</a><br>
      <a href="gfx/favicons/amigav.ico"><img width="16" height="16" src="gfx/favicons/amigav.png" alt="*" border="0"><img width="10" height="16" src="gfx/pixel.gif" border="0" alt=" ">Workbench logo</a><br>
      <br>
      Read more about favicons at <a href="http://www.favicon.com">favicon.com</a>.
    </p>
  </td></tr></table>

  <p align="center">
    <script language=javascript type="text/javascript" src="http://ss.webring.com/navbar?f=j;y=joppe;u=10108590">
    </script><br>
    Powered by <a href="http://dir.webring.com/rw" target="_top">WebRing</a>.
    <noscript><table bgcolor="gray" cellspacing="0" border="2"><tr>
      <td><table cellpadding="2" cellspacing="0" border="0"><tr><td align="center">
        <font face="arial" size="-1">This site is a member of WebRing. <br>
          To browse visit <a href="http://ss.webring.com/navbar?f=l;y=joppe;u=10108590"> Here</a>.
        </font>
      </td></tr></table></td></tr></table>
    </noscript>
  </p>

<?php include("footer.php"); ?>