flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3, 4 |
Author |
|
f0dder 12 Feb 2010, 13:10
smiddy wrote:
![]() But yes, staying in RM and not CLI'ing, it would turn off automagically. _________________ ![]() |
|||
![]() |
|
asmmsa 12 Feb 2010, 15:39
im not there yet in details, but paging is basicly simple.
CR3 holds pointer to first element of table. x86 x86 PAE x86 PSE x86_64 all have diffrent tables when you switch to 1 of those moeds, you have to prepare specyfic page table. translation is basicly index in that table = virtual address, and under it u have physical mapping. |
|||
![]() |
|
smiddy 12 Feb 2010, 20:36
Exactly!
![]() |
|||
![]() |
|
smiddy 12 Feb 2010, 20:38
f0dder wrote: I wouldn't use the word "kernel" if I stayed in real-mode Ah, where's my head at, kernel meaning !RM... ![]() |
|||
![]() |
|
egos 13 Feb 2010, 07:05
f0dder wrote: out(70h,8Fh) is for disabling NMIs - dunno about the rest. baldr wrote: 0x03F2 port is digital output register of FDC, out(0x03F2, 0) stops drives' motors, disables DMA and resets controller. ![]() f0dder wrote: Ah yes, I see I had that 0x3F2 code in my toy kernel bootloader as well - been quite a while since I messed with it ![]() |
|||
![]() |
|
f0dder 13 Feb 2010, 07:22
egos wrote: It is a good idea even if booting occurred from non-floppy media _________________ ![]() |
|||
![]() |
|
baldr 13 Feb 2010, 08:31
f0dder,
Are you joking? 99.(9) % of machines are booting off non-floppy media. ![]() |
|||
![]() |
|
f0dder 13 Feb 2010, 08:33
baldr wrote: f0dder, ![]() _________________ ![]() |
|||
![]() |
|
baldr 13 Feb 2010, 08:35
f0dder,
I second that. He should check the presence of FDC beforehand. ![]() |
|||
![]() |
|
egos 13 Feb 2010, 10:45
BIOS checks on existing floppy disk in the drive by reading it (i.e. with turning on the motor). If you have boot sequence "FDD, HDD" and there is no floppy disk in the drive at boot time then BIOS would try to boot the system from hard drive, but the motor could stay turned on. I have no floppy drive (but FDC is present), however this command is accepted well.
|
|||
![]() |
|
smiddy 13 Feb 2010, 14:24
I would contend...
Your OS should check for all hardware, catalog it (in a form your OS knows), reset it (nominally and minimally) to the quiescent state(s), making them ready to use for your OS, at start up, in my opinion. -smiddy |
|||
![]() |
|
Goto page Previous 1, 2, 3, 4 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.