Skip to content
This repository was archived by the owner on Mar 7, 2023. It is now read-only.

Commit a795051

Browse files
committed
v1.3.0
1 parent 337bbc4 commit a795051

File tree

7 files changed

+8
-26
lines changed

7 files changed

+8
-26
lines changed

MatrixOS.iso

0 Bytes
Binary file not shown.

bin/MatrixOS.bin

-440 Bytes
Binary file not shown.

grub/grub.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
menuentry "MatrixOS v1.2.3" {
2-
echo "Starting MatrixOS v1.2.3"
1+
menuentry "MatrixOS v1.3.0" {
2+
echo "Starting MatrixOS v1.3.0"
33
multiboot /MatrixOS.bin
44
module /initrd
55
}

isodir/MatrixOS.bin

-440 Bytes
Binary file not shown.

isodir/boot/grub/grub.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
menuentry "MatrixOS v1.2.3" {
2-
echo "Starting MatrixOS v1.2.3"
1+
menuentry "MatrixOS v1.3.0" {
2+
echo "Starting MatrixOS v1.3.0"
33
multiboot /MatrixOS.bin
44
module /initrd
55
}

src/kernel.c

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include "elf_loader.h"
2020

2121
#define VER_MAJOR 1
22-
#define VER_MINOR 2
23-
#define VER_FIX 3
22+
#define VER_MINOR 3
23+
#define VER_FIX 0
2424

2525
//#define TASKING_USER
2626

@@ -68,30 +68,12 @@ int kernel_main ( struct multiboot *mboot_point, u32int initial_stack ) {
6868

6969
init();
7070

71-
72-
//struct dirent *d;
73-
//d = (struct dirent*) readdir_fs(fs_root, 1);
74-
//struct fs_node *t;
75-
//t = (struct fs_node*) finddir_fs(fs_root, d->name);
76-
//serialf("inode: %d\n", t->inode);
77-
//char *but = (char*)kmalloc(sizeof(char) * 67);
78-
//read_fs(t, 0, 66, but);
79-
//serialf("out: %s\n", but);
80-
81-
/*FILE *f, *e, *g;
82-
f = (FILE*) f_open("1", fs_root, "r");
83-
g = (FILE*) f_open("2", fs_root, "rw");
84-
e = (FILE*) f_open("3", fs_root, "rwa");
85-
char *buf = (char*)kmalloc(sizeof(char) * 32);
86-
f_read(f, 0, 2, buf); //TODO start reading files;
87-
printf(buf);*/
88-
89-
FILE *q;
71+
/*FILE *q;
9072
q = ( FILE* ) f_open ( "1", fs_root, "r" );
9173
serialf ( "RETURNED\n" );
9274
char *buf = ( char* ) kmalloc ( sizeof ( char ) * 150 );
9375
f_read ( q, 0, 150, buf );
94-
serialf("\n\n%s\n", buf);
76+
serialf("\n\n%s\n", buf);*/
9577

9678
startShell();
9779

src/kernel.o

-1012 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)