How do I call bios intterrupts in pm mode?
Do i switch to real mode and call in interrupt and switch back to PM Mode, do i emulate the interrupts or what
BIOS interrups in PM Mode
Re:BIOS interrups in PM Mode
I switch back to realmode for realmode int's, but most people scorn this practise, but i find it works great. having said that i would only use realmode ints for things like text/graphic mode switching etc.
For other things like floppy access, its best to make pmode functions.
Here is a link to the same topic, with some of my asm code on how i return to realmode and back may help ?.
http://board.flatassembler.net/topic.php?t=1854
\\\\||////
(@@)
ASHLEY4.
Batteries not included, Some assembly required.
For other things like floppy access, its best to make pmode functions.
Here is a link to the same topic, with some of my asm code on how i return to realmode and back may help ?.
http://board.flatassembler.net/topic.php?t=1854
\\\\||////
(@@)
ASHLEY4.
Batteries not included, Some assembly required.
Re:BIOS interrups in PM Mode
Is there a way to copy the real mode code to memory and then convert that memory to PM mode code and then referrence the converted code in the IDT.
Re:BIOS interrups in PM Mode
You could theoreticaly convert the entire BIOS to 32bit then attach the IDT to it but it would be impractical and far more complex then just writing a few functions to deal with disk IO and the screen.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:BIOS interrups in PM Mode
it would also be rather useless since there exist Virtual Mode to run 16 bits realmode code in protected environment