Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Operating_System
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hazal2.Veziroglu@live.uwe.ac.uk
Operating_System
Commits
82d859bd
Commit
82d859bd
authored
5 months ago
by
Hazal2.Veziroglu@live.uwe.ac.uk
Browse files
Options
Downloads
Patches
Plain Diff
Update file README.md
parent
6f9082e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tiny-os/README.md
+51
-14
51 additions, 14 deletions
tiny-os/README.md
with
51 additions
and
14 deletions
tiny-os/README.md
+
51
−
14
View file @
82d859bd
...
...
@@ -43,17 +43,20 @@ tiny-os/
Key features of this project include:
1. Bootloader:
1.
**
Bootloader
**
:
- GRUB is used to load the kernel.
- The kernel starts execution at the entry point defined in loader.asm.
2. Transition to C:
- The kernel successfully calls and executes functions implemented in kernel.c.
3.Framebuffer Driver:
- The kernel starts execution at the entry point defined in `loader.asm`.
2. **Transition to C**:
- The kernel successfully calls and executes functions implemented in `kernel.c`.
3. **Framebuffer Driver**:
- Implements the following functions:
-fb_clear(): Clears the screen.
-fb_print(): Prints text at specified row and column.
-fb_move(): Moves the cursor to a specific position.
4.QEMU Testing:
- `fb_clear()`: Clears the screen.
- `fb_print()`: Prints text at specified row and column.
- `fb_move()`: Moves the cursor to a specific position.
4. **QEMU Testing**:
- The OS is tested using QEMU in graphical and curses modes.
---
...
...
@@ -96,8 +99,9 @@ void kernel_main() {
while (1) {}
}
```
Framebuffer Driver (fb.c)
-
Framebuffer Driver (fb.c)
Implements APIs for interacting with the framebuffer:
```
c
#include "fb.h"
#include "io.h"
...
...
@@ -136,5 +140,38 @@ void fb_move(unsigned short row, unsigned short col) {
```
bash
make clean
```
2. Build the Kernel and ISO
```
bash
make
```
3. Run in QEMU
```
bash
qemu-system-i386 -boot d -cdrom os.iso -m 32
```
4. Run in Curses Mode
```
bash
qemu-system-i386 -curses -boot d -cdrom os.iso -m 32
```
---
## **6. Testing and Outputs**
**Expected Output**
1. First Row: Sum: 6
2. Second Row: Booting Tiny OS
3. Cursor Position: The cursor is positioned on the third row.
## **QEMU Output**

## **7. Refences**
- Worksheet 2 Part1
- The Little Boob of OS Development
## **8. Future Enchancements**
Potential improvements include:
1. Adding text color support in fb_print.
2. Extending the framebuffer driver to support scrolling.
3. Handling keyboard input for user interaction.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment