|
From: Casper H. <ch...@us...> - 2001-10-10 14:00:42
|
On Wednesday 10 October 2001 00:40, Jurgen Van Gael wrote: > When I use the loop in loadros.asm, I get these results: > > If I put the break here: > > ;; > ;; Enter pmode and clear prefetch queue > ;; > mov eax,cr0 > or eax,0x10001 > mov cr0,eax > .break: > jmp .break > jmp .next > .next: > > Then the system freezes with a blue screen > > When I put the loop after jmp .next, the system reboots. > > Am I right we are talking pmode right now. Could it be that the gdt or > idt is not setup properly? Try changing: jmp .next .next: to: jmp next next: IIRC, it should be a far jump to clear the prefetch queue. - Casper ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |