jibrish is displayed when running Bare-Bones

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
stdcall
Member
Member
Posts: 78
Joined: Thu Mar 14, 2013 1:30 am

jibrish is displayed when running Bare-Bones

Post by stdcall »

Hi there,
I'm trying to run the barebones tutorial, but I when the kernel boots, the screen is filled with jibrish.
I compiled my own i586 cross compiler & bochs using the tutorials. I'm using NASM, and bochs to boot.
I followed all the steps, everything looks ok.
I know there can be a lot of reasons for this to happen, if you want me to post anything regarding my configuration, let me know.
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2

Educational Purpose Operating System - EPOS
Mikemk
Member
Member
Posts: 409
Joined: Sat Oct 22, 2011 12:27 pm

Re: jibrish is displayed when running Bare-Bones

Post by Mikemk »

May we see a screenshot?

EDIT: Here is a good way to test your setup.

Code: Select all

bits 16
org 0x7c00
mov ax, 0xb800
mov ds, ax
xor ax, ax
mov [ax], "S"
inc ax
mov [ax], 7
hlt
times 510-($-$$) db 0
dw 0x55aa
Last edited by Mikemk on Sat Mar 16, 2013 2:48 pm, edited 1 time in total.
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

Re: jibrish is displayed when running Bare-Bones

Post by xenos »

The bare bones tutorial should be small enough to single step through it, I would assume.
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
stdcall
Member
Member
Posts: 78
Joined: Thu Mar 14, 2013 1:30 am

Re: jibrish is displayed when running Bare-Bones

Post by stdcall »

I will try the assembly you provided.
“Meaningless! Meaningless!”
says the Teacher.
“Utterly meaningless!
Everything is meaningless.” - Ecclesiastes 1, 2

Educational Purpose Operating System - EPOS
Post Reply