Changeset 37bb9bf in rtems


Ignore:
Timestamp:
Aug 14, 2002, 10:43:10 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a681285
Parents:
2129ac8
Message:

2002-08-14 Joel Sherrill <joel@…>

  • start/start16.S: Per PR259, added code to test for video present before touching the adapter. Eric Norum <eric.norum@…> tested this patch.
Location:
c/src/lib/libbsp/i386/pc386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    r2129ac8 r37bb9bf  
     12002-08-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * start/start16.S: Per PR259, added code to test for video present
     4        before touching the adapter.  Eric Norum <eric.norum@usask.ca>
     5        tested this patch.
     6
    172002-08-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • c/src/lib/libbsp/i386/pc386/start/start16.S

    r2129ac8 r37bb9bf  
    5555#if defined(RTEMS_VIDEO_80x50)
    5656       
     57        movl    $0x0040,%eax    # use 32 bit constant to ensure 16 MSB=0
     58        mov     %ax,%es
     59        movw    %es:0x4a, %ax   # get 16 bit number of columns
     60        cmpw    $0, %ax         # or 0 if no video adapter
     61        je      1f              # if no video, skip touching it
    5762        /*---------------------------------------------------------------------+
    5863        | Switch VGA video to 80 lines x 50 columns mode. Has to be done before
     
    7277        int     $0x10
    7378
     79+1:
    7480#endif /* RTEMS_VIDEO_80x50 */
    7581
Note: See TracChangeset for help on using the changeset viewer.