flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Llama Boy
ok, i know the input and output using 21h, but i dont want it to rely on dos. can i see the code for platform independant INT 21h (ah=9) and INT 21h (ah=0Ah).
Thanks _________________ ![]() donut < llama < az http://llama.computerboffin.com/ <-signup http://llama.computerboffin.com/dotvs/ |
|||
![]() |
|
Llama Boy
well thanks. also, why are most major OSs protected mode?
|
|||
![]() |
|
revolution
Quote: why are most major OSs protected mode? Have a look at the FASM sources, each supported platform has it's own directory and files to allow the basic IO for use by the core. |
|||
![]() |
|
madmatt
Llama boy: protected mode allows access to MUCH more memory, better protection of memory resources, and on new processors, allows you to use hyperthreading for faster process multi-tasking, plus the stuff mentioned above
|
|||
![]() |
|
shaolin007
revolution wrote: There is no platform independent code for outputting text and inputting keystrokes. You can use the bios INT's 10 etc. but they only work in a real mode OS. Protected mode OS's each have their own style of doing IO and you have no choice but to learn for each OS you want to use. You could, in real mode that is, write directly to video memory or handle the output by hooking int 09. But why reinvent the wheel unless you have to? |
|||
![]() |
|
Llama Boy
im guessing protected mode os is much harder to write, seeing as how it gets all these awesome features.
|
|||
![]() |
|
smiddy
Llama Boy wrote: im guessing protected mode os is much harder to write, seeing as how it gets all these awesome features. Nah, it isn't harder. It is more time consuming since there are more opportunities for performance and features. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.