diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/hostname | 1 | ||||
-rw-r--r-- | etc/motd | 4 | ||||
-rw-r--r-- | etc/oemu/emutest.rc | 5 | ||||
-rw-r--r-- | etc/oemu/test-00.s | 20 | ||||
-rw-r--r-- | etc/passwd | 1 |
5 files changed, 31 insertions, 0 deletions
diff --git a/etc/hostname b/etc/hostname new file mode 100644 index 0000000..c90b108 --- /dev/null +++ b/etc/hostname @@ -0,0 +1 @@ +osmora diff --git a/etc/motd b/etc/motd new file mode 100644 index 0000000..62718f4 --- /dev/null +++ b/etc/motd @@ -0,0 +1,4 @@ +::::::::::::::::::::::::::::::::::::::: +:: OSMORA GATEWAY ~ Every key echos :: +:: ..... Proceed with purpose ..... :: +::::::::::::::::::::::::::::::::::::::: diff --git a/etc/oemu/emutest.rc b/etc/oemu/emutest.rc new file mode 100644 index 0000000..39607dd --- /dev/null +++ b/etc/oemu/emutest.rc @@ -0,0 +1,5 @@ +@ Test emulator +echo Generating /tmp/a.out +oasm /etc/oemu/test-00.s /tmp/a.out +echo Running emulator... +oemu /tmp/a.out diff --git a/etc/oemu/test-00.s b/etc/oemu/test-00.s new file mode 100644 index 0000000..f6015c1 --- /dev/null +++ b/etc/oemu/test-00.s @@ -0,0 +1,20 @@ +mov x0, #1 ! ~ 0x00000000 +mov x1, #2 ! ~ 0x00000004 +mov x2, #3 ! ~ 0x00000008 + ! X +some_label: ! X + mov x2, #20 ! ~ 0x0000000C + br x2 ! ~ 0x00000010 -----+ + !!!!!!!!!!!!!! X | + !!!!!!!!!!!!!! X | + ! X | + dec x0 ! ~ 0x00000014 <----+ + inc x1 ! ~ 0x00000018 + add x2, #3 ! ~ 0x0000001C + mrow x4, #0 ! ~ 0x00000020 + nop ! ~ 0x00000024 + or x1, #3 ! ~ 0x00000028 + xor x2, #3 ! ~ 0x0000002C + lsr x2, #1 ! ~ 0x00000030 + lsl x2, #1 ! ~ 0x00000034 + hlt ! ~ 0x00000038 diff --git a/etc/passwd b/etc/passwd new file mode 100644 index 0000000..7855b99 --- /dev/null +++ b/etc/passwd @@ -0,0 +1 @@ +root:4813494d137e1631bba301d5acab6e7bb7aa74ce1185d456565ef51d737677b2:0:0:Not a ruler:/root:/usr/bin/osh |