yeah i made the change in my own code and i dunno if i was imagining it or not but the program actually seemed to perform a little better, faster and more consistently but like i said my mind could be playin tricks on me...
actually, i just found something else that i wanted to ask about too. in the multiboot structure we define the following:
Code: Select all
at multiboot_info.memoryLo dd 0
at multiboot_info.memoryHi dd 0
but again they are referenced later as:
Code: Select all
call BiosGetMemorySize64MB
cmp ax,-1
je .error
mov word [boot_info+multiboot_info.memoryLo],bx
mov word [boot_info+multiboot_info.memoryHi],ax
now obviously since we are working with 16-bit registers that is why we use word here, but will that cause an error or is this code correct? I dont seem to have problems with memory returns but this just seems odd is all.