im_irl_y
Data does not display correctly on the screen if the display is in the 80X25
mode after the cursor has scrolled off the bottom of the display. Set the
display to one of the other modes using im_set_display_mode.
To use this function, set the reader to Programmer mode using
im_set_input_mode.
You must install a protocol handler to use this function.
You must install the Reader Wedge to use this function. For information on
loading RWTSR.EXE, see "Runtime Requirements" in Chapter 2, "Working
With Ada."
im_irl_a, im_irl_k, im_irl_n, im_irl_v, im_set_display_mode,
See Also:
im_set_input_mode
Example
With System, Text_IO, Intrmecd_IO, Intrmecp_IO;
Use
System, Text_IO, Intrmecd_IO, Intrmecp_IO;
procedure ex_irl_y is
comm_buff
: Im_Buffer;
buff_size
: System.Word := 300;
buff_ptr
: System.Address := comm_buff(comm_buff'First)'Address;
cmd_count
: System.Word;
display_status : System.Word;
irl_string
: String(1..256);
link_status
: System.Word;
status
: System.Word;
begin
-- Set display mode to something other than 80X25
display_status := im_set_display_mode(IM_SIZE_MODE_20X16,
IM_STD_VIDEO_MODE_0, IM_LCD_SCROLL_AT_16, IM_STANDARD_CHAR_HEIGHT);
Put_Line(" Example im_irl_y");
New_Line;
Put_Line("Waiting for input");
Put_Line("
from COM1");
Put_Line("q to quit");
-- Link to protocol handler. A protocol handler MUST be installed.
link_status := im_link_comm(IM_COM1, buff_ptr, buff_size);
if im_isgood(link_status) then
-- Set Reader Wedge mode to program interface
im_set_input_mode(IM_PROGRAMMER);
3-66