flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar
If you get the Ralph Brown's Interrupt List (from http://www.cs.cmu.edu/afs/cs/user/ralf/pub/WWW/files.html), you can find also the list of ports there inside - I've been using when doing OS programming and it's really good.
|
|||
![]() |
|
f0dder
It's generally a bad idea to go bashing ports unless you have a specific reason for it (ie, keyboard handler for a game, or drivers for an OS). If there's DOS or BIOS calls and they work, it's better to use them, as your code will be more likely to work everywhere (various DOS versions, v86 environments under various OSes, boch, dosbox, ...)
|
|||
![]() |
|
Slai
I had some troble finding it in all those files, but I finally found it in http://www.cs.cmu.edu/~ralf/interrupt-list/inter61d.zip Thanks Tomasz
yes f0dder I know, and it can be really dangerous coz I guess if used wrong, the in instruction can burn something in the computer .. ![]() |
|||
![]() |
|
Matrix
Slai wrote: I had some troble finding it in all those files, but I finally found it in http://www.cs.cmu.edu/~ralf/interrupt-list/inter61d.zip Thanks Tomasz i have not seen any burns, but, old monitors can be damaged by setting invalid video modes, refresh rates, and you can accidently format your hard disk, flash your bios, or set cmos password - this usually can be fixed. and note that windows nt, xp systems does not let you handle ports directly without a system driver, if you whould like to run your program on windows too... |
|||
![]() |
|
Borsuc
Matrix wrote: and note that windows nt, xp systems does not let you handle ports directly without a system driver, if you whould like to run your program on windows too... There are some tricks around that. But I think he's trying to do this for DOS anyway... |
|||
![]() |
|
f0dder
For direct port I/O on NT, forget the above link from The_Grey_Beast and have a look at this:
![]() http://win.asmcommunity.net/board/index.php?topic=18859.15 http://win.asmcommunity.net/board/index.php?topic=20093.0 |
|||
![]() |
|
Borsuc
f0dder wrote: For direct port I/O on NT, forget the above link from The_Grey_Beast and have a look at this: I am so blind ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.