MS-DOS: CON, AUX, PRN, CLOCK$, A:-D:, COM1, LPT1, LPT2, LPT3, CONFIG$, COM2, COM3, COM4
FreeDOS: CON, PRN, AUX, LPT1, LPT2, COM1, COM2, COM3, COM4, CLOCK$, A:-D:


Fortunately, fixing this is very easy. It's enough to swap the corresponding entries in io.asm. Do I need to provide a patch for this?

Here it is, below. Now stdaux and stdprn should work as in MS-DOS.


Lucho

--- io.asm      2003-06-15 16:21:26.000000000 +0200
+++ io.asm      2004-04-05 20:08:32.000000000 +0200
@@ -81,33 +81,33 @@
                 ;
                 global  _con_dev
 _con_dev        equ     $
-                dw      _prn_dev,LGROUP
+                dw      _aux_dev,LGROUP
                 dw      8013h           ; con device (stdin & stdout)
                 dw      GenStrategy
                 dw      ConIntr
                 db      'CON     '

                 ;
-                ; Generic prn device that can be redirected via mode
-                ;
-                global  _prn_dev
-_prn_dev        dw      _aux_dev,LGROUP
-                dw      0A040h
-                dw      GenStrategy
-                dw      PrnIntr
-                db      'PRN     '
-
-                ;
                 ; Generic aux device that can be redirected via mode
                 ;
                 global  _aux_dev
-_aux_dev        dw      _Lpt1Dev,LGROUP
+_aux_dev        dw      _prn_dev,LGROUP
                 dw      8000h
                 dw      GenStrategy
                 dw      AuxIntr
                 db      'AUX     '

                 ;
+                ; Generic prn device that can be redirected via mode
+                ;
+                global  _prn_dev
+_prn_dev        dw      _Lpt1Dev,LGROUP
+                dw      0A040h
+                dw      GenStrategy
+                dw      PrnIntr
+                db      'PRN     '
+
+                ;
                 ; Printer device drivers
                 ;
 _Lpt1Dev        dw      _Lpt2Dev,LGROUP


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to