ASCII display station
187-132  3151 ASCII Display Station
189-071  New Models And Enhancements (510/560 and 610/660)
Common Problems and Questions About 3151 Terminals    Not working, but available  

3151 Models    Just a few tables
3151 Errors   Just a stub...

GA18-2633-0 3151 ASCII Display Station Guide to Operations May, 1987 
GA18-2634-0 3151 ASCII Display Station Reference Manual Apr, 1987 
GA18-2654-0 3151 User's Guide for Cartridge to Emulate IBM / DEC Terminals Apr, 1987

Video Calls under Console Mode 
Can Serial Console Support be Added to a Model 90? 

       The IBM 3151 ASCII Display Station is a two-element workstation that provides attachment capabilities to both IBM and non-IBM processors.  A native mode and 10 non-IBM emulation modes are included in the base of all models.  The Model 110 should be used for entry level applications requiring an 80-column display.  Models 310
and 410 (which are functionally identical to each other except for the color of the display phosphor) should be used with applications that require 80- or 132-characters-per-line capability, 3101 emulation, a dedicated numeric keypad, Program Access (PA) keys, greater than 12 function keys or RS422A capability via cartridge. Additional emulations and attachment capabilities are provided in two new slim-line cartridges for Models 310 and 410.

The IBM 3151 Cartridge for Emulating IBM and DEC Terminals provides the ability for IBM 3151 Models 310/410 and 360/460 to support RS422A communications for the emulations provided on that cartridge.  The RS422A interface supports a point-to-point direct coupling with a maximum cable length of 4,000 feet.

       The main communications port has a selectable transmission rate from 50 bps to 38,400 bps, inbound and outbound XON/XOFF pacing (inbound pacing is the default and not selectable), and echo/character/block modes, and supports seven- or eight-bit word length and no/odd/even/mark and space for parity.

       The auxiliary port on the 3151 Model 110/160 is a unidirectional RS232C port for attaching another asynchronous ASCII device such as an ASCII printer.  On IBM 3151 Models 310/410 and 360/460 the auxiliary port is enhanced with a bidirectional data capability.  This allows the attachment of output devices, such as a printer, as well as input devices, such as wands and ASCII terminals. Transmission rates from 50 bps to 19,200 bps are selectable independent of the main communications port speed settings.

The 3151 and 3153 keyboards are not interchangeable. The following is a diagram of the modular RJ keyboard connector: 
3151 NAME 
3153 NAME


These pins and connector drawing are relative to the connector on the 3151, 3153 video element. These pins and connectors are not relative  to the connector on the keyboard coiled cable. 

Which port is the main communication port? 
    If you look at the back of the 3151, the main port is on the right-hand side,  closest to the edge. The auxiliary port is closest to the power cord. 

Anyone know why I don't have the option for an ASCII display under Set Console? I tryed it on my 9595-0LF and 9595-3PT.  Neither one has it.  The 9595-0LF did  go into "96-8N1" mode by itself about a month ago but it won't now that I want it to! 

I have a "IBM Cartridge to emulate IBM and DEC terminals" P/N 94X4114.  Of course nothing works with or without it installed ... 

Hi Dennis ! 
   You need a nullmodem cable for the terminal and no cartridge installed (native mode). The terminal test switch must be in "normal". 

   The 9595 should be configured to "keyboard and videoless mode" somewhere in additional features. Then the video card must be removed to force the machine to kickstart the ASCII-terminal at COM1. 

   There should be a chapter on using the ASCII console in the EPRM ... 

Video Calls under Console Mode  

Major Tom has conducted painful probulation and reports:

In the console mode they are overriding all video calls (int 10) with a special table that transforms it to some special serial port calls (undocumented int 14 functions 60-64 - exclusively used by the serial console code), and they are doing some magic with keyboard buffers as well. I think the serial console mode should work fine in most "well behaved" text mode applications.

That's what I wanna test... It will also help me figure out meaning of some of the CMOS, NVRAM, and EBDA fields.

Quick & dirty list of the undocumented int 14 functions:

int 14 AH=60h - begin serial console mode
int 14 AH=61h - get serial console mode status
int 14 AH=62h - send char to serial console (AL - char)
int 14 AH=63h - send string to serial console (ES:SI - string ptr)
int 14 AH=64h - end serial console mode

Incomplete and not quite confirmed yet, I will have to put more work into this. The serial console stuff is not a priority, and I'm just mapping what is what at this point.

Can Serial Console Support be Added to a Model 90?  

They actually disabled the serial console mode on Model 90 directly in the POST code. It checks the planar ID, and if it's FF6Fh, it completely skips the serial console initialization code. Not sure if there is any technical reason for this, or if they did it just for market segmentation reasons, but I could easily patch the ROM and see if it enables the console on Model 90 (well, if I actually had one...).

Some other patching may be necessary though, as to enter the console mode on my 9595 I had to physically remove the video adapter from it. Changing the console settings, and disconnecting my keyboard and/or monitor wouldn't do it. And Model 90 has the always present on-board XGA... Maybe this was just a PEBCAK though, as I didn't have much time to play around with it.

So, the serial console mode may be possible on some of the late PS/2 machines (will have to check the ROMs), but it would be fairly difficult to add it to the older systems. There is A LOT of code related to the console mode in the ROM, and it's spread all over the place. Even thinking about backporting all that to the older POST/BIOS code gives me a headache.

The 8595 / 9595 / 95A supports the specialized use of some ASCII display stations instead of a display and a keyboard.  The following IBM ASCII display stations can be attached to a serial port:  3151, 3161, 3162, 3163, and 3164. 

Keep in mind if you plan to use an ASCII display station: 
o Verify operating system supports an ASCII display station. Not all do.
o BASIC language is not supported. 
o High-resolution graphics (icons and graphic-based programs) are not available. 
o Power-on self-tests (POST) text messages and logs are not available. 


Use the setup instructions that came with your ASCII display station and the information in this section to attach it to your server. 

  1. Use a null-modem cable or adapter. Without one, the ASCII display station has no communications link with the server.
  2. If your ASCII display station has a test switch next to the keyboard connector, make sure it is in the normal position, not the test position. 
  3. When using system programs to define setup values on the ASCII display station, be sure terminal machine mode matches the actual display station. Example, if installing a 3151 ASCII Display Station, you must set Machine Mode on terminal Setup Menu to IBM3151.When the setup values correctly match the display station type, the machine is considered to be in the native-machine mode. 

To set up your ASCII display station:
   1. Attach null-modem cable [or adapter] to the ASCII display station. Connect the other end to one of the serial connectors on the server. 
      Note:  For 95A systems, if serial port power-on mode is enabled, attach the ASCII display station to serial port B. 
      Connect power cord to server; then plug it in. 
      Connect power cable to ASCII display and plug it in. 

  2.  Turn on ASCII display station [is it in native-machine mode?]. (See note 3)
  3. Set the communication values on display station: 
      a. Press Ctrl and Setup to display General Setup Menu. 
      b. Press Send to display Communication Setup Menu. 
      c. Review communication values and compare them to the values shown below. 
            Line Speed (bps)             9600
            Word Length (bits)              8
            Parity                         No
            Stop Bit                        1

      d. To change a value, move cursor to highlight it, then press space bar to display alternative values. 
      e. When all communication values match the values specified in this section, press Send twice to display Function Menu. 
      f. Move the cursor to Save data field and press space bar to store these values. 

      a. When using system programs, do not install an emulation cartridge unless it will support native-machine mode. 
      b. The display stations designed for countries where English is not the native language must support the ISO 8859/1.2 code page. Some display stations require a cartridge to support this code page. 
      c. For additional information about communication values, refer to the documentation that was supplied with your ASCII display station. 
   4. Verify that all the correct values have been stored: 
      a. Move cursor to Recall data field.  This displays current communication values.  (Your server uses these during configuration process.) 
      b. Press Ctrl and Setup to exit.  Only the cursor will be displayed on the screen. 

  5.  Start system programs. 
     o If you are using an ASCII display station: 
         a. Insert Reference Diskette in diskette drive. 
         b. Turn on ASCII display station and server. 
         c. When cursor moves to top-right corner of screen, press and hold Crtl-I. (the letter i) to view Main Menu of the system programs. 

     o If you are using a keyboard and a display: 
         a. Insert Reference Diskette in diskette drive. 
         b. Turn on server and allow POST to finish. 
         c. Press F1 to view Main Menu of system programs. 

  6.  Change Console Select settings to select an ASCII display station.
Warning: Before making changes using Console Select program, make sure you have an ASCII display station attached to server.  If you do not, there will be no way for you to communicate with the server. 

      When you are at Main Menu, 
      a. Select Set features; then, press Enter. 
      b. Select Set console from the Set Features Menu; then, press Enter. 
      c. Select ASCII display station from Set Console Menu; then, press Enter. 

   7. Make sure the values are set as shown: 
         Baud rate               9600
         Bits per character          8
         Parity                  None
         Stop bits                  1

      Any time you change the ASCII display station values, you must also update the system unit values to match.  The baud rate should always be 9600 or above.  If you set the baud rate below 9600, the system performance decreases.

  Note:  These instructions assume that the display station has already been set to these values (see step 3 of this procedure). 

  Some server operations change when you use an ASCII display (see the following). 

Communication  When using an ASCII display station, the communication parameters will appear on the 95's information panel (example, 96-8N1).  This is not an error message. 

Configuration    When you run the server setup programs, system programs, or diagnostics programs from the ASCII display station, the display station values might change.  If display problems occur after you run these programs, check the display station values. To check these values, press Ctrl and Setup.  Modify the values if necessary. 

Utility Programs To start the server system programs when using an ASCII display station, insert the Reference Diskette into the startup drive. Turn on your server. 

       Note:  To restart your server after running the utility programs, press and hold Ctrl, then press C, A, and D.  Release C, A, and D.  Then, release Ctrl. 

Diagnostic Tests When you select an ASCII display station as the system console, the keyboard, mouse, system board async port, and video displays will not on the diagnostic Installed Device list. 

9595 Main Page