flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Real-Mode <-> P-Mode Switchy |
Author |
|
Octavio 19 Jan 2006, 14:36
Valkyrie wrote: But does this switching, which may happen many times a second, put any undue stress on the CPU.Thanks No. |
|||
19 Jan 2006, 14:36 |
|
Dex4u 19 Jan 2006, 19:19
It's no differant than running any other code and it may not be as slow as some people think.
For my OS i written a pmode floppy driver, this worked great, but would not let me load from a USB pen drives, as i already had a function to go back and forth to real mode, i converted it to do int 13h for floppy functions, i thought it would be slow, but OK to load stuff from usb etc. To keep it simple it loads 512bytes in realmode switch to pmode loads the 512bytes to buffer and keeps switching until is loaded the file etc. But when i tested it, to my supprize it faster than a windows floppy driver . |
|||
19 Jan 2006, 19:19 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.