flat assembler
Message board for the users of flat assembler.
Index
> DOS > programing without interrupts .. good or bad idea ? |
Author |
|
Tomasz Grysztar 29 Jan 2006, 09:44
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.
|
|||
29 Jan 2006, 09:44 |
|
f0dder 30 Jan 2006, 10:59
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, ...)
|
|||
30 Jan 2006, 10:59 |
|
Slai 01 Feb 2006, 03:28
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 .. |
|||
01 Feb 2006, 03:28 |
|
Matrix 02 Feb 2006, 13:01
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... |
|||
02 Feb 2006, 13:01 |
|
Borsuc 04 Feb 2006, 12:24
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... |
|||
04 Feb 2006, 12:24 |
|
f0dder 06 Feb 2006, 16:13
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 |
|||
06 Feb 2006, 16:13 |
|
Borsuc 08 Feb 2006, 10:40
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 |
|||
08 Feb 2006, 10:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.