Compare commits

...

3 Commits

Author SHA1 Message Date
daviac 503a46830f Hillbilly1 updates 2024-02-20 19:32:55 +11:00
daviac 6f90667d9e footer update script 2024-02-20 19:29:38 +11:00
daviac b659d005aa Footer update 2024-02-20 19:29:22 +11:00
3 changed files with 14 additions and 13 deletions

View File

@ -1,9 +1,3 @@
<div id="footer" class="footer"> <div id="footer" class="footer">
<p>site last updated: <p>site last updated: 2024-02-20 19:24 UTC+11</p>
<?php
$shell_out = null;
$retval = null;
exec('cd /var/www/daviac ; git show -s --format=%ci', $shell_out, $retval);
print_r($shell_out[0]);
?></p>
</div> </div>

View File

@ -15,9 +15,8 @@
<div id="main-text" class="main"> <div id="main-text" class="main">
<h2> The Hillibilly1 Assembler </h2> <h2> The Hillibilly1 Assembler </h2>
<p> The DOS binary and potentially source code will be provided at a later date </p> <p> The DOS binary and potentially source code will be provided at a later date </p>
<p> The program's <a href="/hillbilly1/Hillbilly1.txt">help output</a> provides the assembler -> machine code mappings: </p> <p> The program's <a href="/hillbilly1/Hillbilly1.txt">help output</a> provides some usage info and the assembler -> machine code mappings reproduced here: </p>
<pre> <pre>
Relay Computer Assembler: Ver. Beta 0.4.3 Relay Computer Assembler: Ver. Beta 0.4.3
@ -90,7 +89,7 @@ WAIT : 0c 00001100
<p> <a href="/hillbilly1/ADD16.asm">Here</a> is an example 16 bit adder program for the DAVIAC-1.</p> <p> <a href="/hillbilly1/ADD16.asm">Here</a> is an example 16 bit adder program for the DAVIAC-1.</p>
<pre> <pre>
\ RAM Variables \ RAM Variables
ORG 0800H \RAM at 0800h ORG 0800H \RAM at 0800h
DEF X_Lo *1 DEF X_Lo *1
DEF X_Hi *1 DEF X_Hi *1
@ -109,7 +108,7 @@ WAIT : 0c 00001100
\ \
\ 16bit ADD X + Y -> Z + Carry_Hi \ 16bit ADD X + Y -> Z + Carry_Hi
\ \
\ \
NOP NOP
ADD16: ADD16:
@ -131,7 +130,7 @@ ADD16J1:
BRNO ADD16J2: BRNO ADD16J2:
LDAA 01h \might be a hi carry LDAA 01h \might be a hi carry
STAA Carry_Hi STAA Carry_Hi
ADD16J2: ADD16J2:
MOVC,A MOVC,A
LDAB Carry_Lo \include any lo carry LDAB Carry_Lo \include any lo carry
ADD ADD
@ -139,7 +138,7 @@ ADD16J2:
BRNO ADD16J3: BRNO ADD16J3:
LDAA 01h LDAA 01h
STAA Carry_Hi \which may trigger a hi carry STAA Carry_Hi \which may trigger a hi carry
ADD16J3: ADD16J3:
\ \
BRA ADD16: BRA ADD16:
\ \

8
update_footer.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
update_timestamp=`git show -s --format=%ci`
echo "<div id=footer class=footer>
<p>Site last updated $update_timestamp</p>
</div>
" > footer.php