Page 1 of 1

what is my mistake

Posted: Thu May 27, 2010 6:47 pm
by machka
hi all,

i have e820 bios call, it is limited also working wrong i think so i try to implement code by provieded osdev which is "http://wiki.osdev.org/How_Do_I_Determine_The_Amount_Of_RAM" although my code working for first 2-3 blocks of memory the code on the osdev doesn't working. so i try to understand the error on code but nothing happens. i use nasm for this code i think it is suitable for this code and i fix the errors for example
.e820f:
mov [mmap_ent], bp ; store the entry count
clc ; there is "jc" on end of list to this point, so the carry must be cleared
ret


mmap_ent was undecleared i fix it then nasm doesn't gives any error but nothing happens on computer screen. does anyone know what is the problem here?

regards

Re: what is my mistake

Posted: Thu May 27, 2010 8:05 pm
by gerryg400

Code: Select all

but nothing happens on computer screen. does anyone know what is the problem here?
Where is the code that writes to the screen?