mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
distro files
This commit is contained in:
Binary file not shown.
@@ -0,0 +1 @@
|
||||
root::0:0:root:/root:/usr/bin/bash
|
||||
@@ -0,0 +1,8 @@
|
||||
NORMAL="\[\e[0m\]"
|
||||
RED="\[\e[1;31m\]"
|
||||
GREEN="\[\e[1;32m\]"
|
||||
BLUE="\[\e[1;36m\]"
|
||||
WHITE="\[\e[1;37m\]"
|
||||
PS1="$GREEN\u$NORMAL@$BLUE\h$NORMAL:$WHITE\w$NORMAL>"
|
||||
|
||||
alias ls="ls --color=auto"
|
||||
@@ -0,0 +1 @@
|
||||
mkdir /tmp
|
||||
@@ -0,0 +1,15 @@
|
||||
Section "Module"
|
||||
Load "fbdev"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Card0"
|
||||
Driver "fbdev"
|
||||
EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
Identifier "Keyboard"
|
||||
Driver "kbd"
|
||||
Option "Device" "/dev/keyboard"
|
||||
Option "Protocol" "Standard"
|
||||
EndSection
|
||||
@@ -0,0 +1,13 @@
|
||||
section .text
|
||||
global _start
|
||||
_start:
|
||||
mov rax, 9
|
||||
mov rdi, 1
|
||||
mov rsi, msg
|
||||
mov rdx, 14
|
||||
syscall
|
||||
mov rax,15
|
||||
xor rdi, rdi
|
||||
syscall
|
||||
section .data
|
||||
msg: db "Hello, world!", 0xA
|
||||
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
printf("Hello, world!\n");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(){
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
echo Hello, World!
|
||||
Reference in New Issue
Block a user