home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / ECO30603.ZIP / ECO30603.LZH / ECOLIBNG / SOURCE / ECO_FUNC.DAT < prev    next >
Encoding:
Text File  |  1992-06-09  |  57.3 KB  |  1,978 lines

  1. !short  Assignaux                                                        ECO_232
  2.  
  3.    ^Bprocedure assignaux(var f: text; port, params: word);^N
  4.  
  5.    This command enables you to control the CRT COM port, like
  6.    The DOS MODE command does.
  7.  
  8.    ^R Control bits: ^N
  9.  
  10.  
  11.      byte: 7   6   5    4    3       2      1    0
  12.            ─────────    ──────    ───────   ──────
  13.            baud rate    parity    stopbit   length
  14.  
  15.  
  16.            tabel  I:                │       tabel  II:
  17.                                     │
  18.    baud rate:   bit: 7  6  5        │  parity:   bit   4   3
  19.    ─────────────────────────────────┼─────────────────────────────
  20.                                     │
  21.          110         0  0  0        │    none          0   0
  22.          150         0  0  1        │
  23.          300         0  1  0        │     odd          0   1
  24.          600         0  1  1        │
  25.         1200         1  0  0        │    even          1   1
  26.         2400         1  0  1        │
  27.         4800         1  1  0        │
  28.         9600         1  1  1        │
  29.  
  30.  
  31.            tabel  iii:              │       tabel  iv:
  32.    stop bits:      bit: 2           │  length:   bit:  1   0
  33.    ─────────────────────────────────┼─────────────────────────────
  34.                                     │
  35.        1  bit           0           │  7 bits          1   0
  36.                                     │
  37.        2 bits           1           │  8 bits          1   1
  38.  
  39.  
  40.    ^Rconvert this binary code into a hexadecimal code and use it as in the^N
  41.    ^RFollowing Example:^N
  42.  
  43.    uses
  44.      eco_232
  45.  
  46.      ;
  47.  
  48.  
  49.    var
  50.      com1: text;
  51.  
  52.    begin
  53.      assignaux(com1,0,$83);  /this ($83) means com1, 1200 baud, no parity\
  54.      rewrite(com1);          /1 stop bit and 8 data bits                 \
  55.      writeln(com1,'devicedriver by UltiHouse Software / The ECO Group.')
  56.      close(com1);
  57.    end.
  58.  
  59.  
  60. !short  Bios_rs232_init(comport: integer; comparm: word);                ECO_asyn
  61.  
  62.    ^Bprocedure bios_rs232_init(comport: integer; comparm: word);^N
  63.  
  64.    This function initializes the BIOS comport.
  65.    
  66. !short  Async_close(drop_dtr: boolean);                                  ECO_asyn
  67.  
  68.    ^Bprocedure async_close(drop_dtr: boolean);^N
  69.  
  70.    This function close the asynchronous port directly
  71.  
  72. !short  Async_clear_errors;                                              ECO_asyn
  73.  
  74.    ^Bprocedure async_clear_errors;^N
  75.  
  76.    This function clears any errors that may be currently
  77.    being reported by the asynchronous port buffer.
  78.  
  79.  
  80. !short  Async_reset_port()                                               ECO_asyn
  81.  
  82.    ^Bprocedure async_reset_port()
  83.    ^B  comport      : integer;^N
  84.    ^B  baudrate     : word;^N
  85.    ^B  parity       : char;^N
  86.    ^B  wordsize     : integer;^N
  87.    ^B  stopbits     : integer^N
  88.    ^B);^N
  89.  
  90.    This function issues a standard reset on the asynchronous
  91.    communications port.
  92.  
  93.  
  94. !short  Async_open();                                                    ECO_asyn
  95.  
  96.    ^Bfunction  async_open(^N
  97.    ^B  comport      : integer;^N
  98.    ^B  baudrate     : word;^N
  99.    ^B  parity       : char;^N
  100.    ^B  wordsize     : integer;^N
  101.    ^B  stopbits     : integer^N
  102.   ^B): boolean;^N
  103.  
  104.    This function opens the asynchronous communications port to enable
  105.    writing commands to it.
  106.  
  107.  
  108. !short  Async_send(c: char);                                             ECO_asyn
  109.  
  110.    ^Bprocedure async_send(c: char);^N
  111.  
  112.    This function sends characters to the asynchronous
  113.    communications port to which connection has been set up.
  114.  
  115.  
  116. !short  Async_receive(var c: char): boolean;                             ECO_asyn
  117.  
  118.    ^Bfunction  async_receive(var c: char): boolean;^N
  119.  
  120.    This function tries to receive characters from the asynchronous
  121.    communications port to which connection has been set up.
  122.  
  123.  
  124. !short  Async_receive_with_timeout();                                    ECO_asyn
  125.  
  126.    ^Bprocedure async_receive_with_timeout();^N
  127.  
  128.    This function tries to receive characters from the asynchronous
  129.    communications port to which connection has been set up.
  130.    It takes a certain timeout period before it stops trying.
  131.  
  132. !short  Async_stuff(ch: char);                                           ECO_asyn
  133.  
  134.    ^Bprocedure async_stuff(ch: char);^N
  135.  
  136.    This function tries to stuff characters into the asynchronous
  137.    communications port to which connection has been set up, by filling
  138.    the buffer to be used.
  139.  
  140. !short  Async_find_delay(var one_ms_delay: integer);                     ECO_asyn
  141.  
  142.    ^Bprocedure async_find_delay(var one_ms_delay: integer);^N
  143.    
  144.  
  145. !short  Async_init(                                                      ECO_asyn
  146.  
  147.    ^Bprocedure async_init(^N
  148.    ^B  async_buffer_max : integer;^N
  149.    ^B  async_obuffer_max: integer;^N
  150.    ^B  async_high_lev1  : integer;^N
  151.    ^B  async_high_lev2  : integer;^N
  152.    ^B  async_low_lev    : integer^N
  153.    ^B);^N
  154.  
  155.    Set up the asynchronous communications port and initialize it.
  156.    It is not opened until you issue the open command.
  157.  
  158.  
  159. !short  Async_carrier_detect: boolean;                                   ECO_asyn
  160.  
  161.    ^Bfunction  async_carrier_detect: boolean;^N
  162.  
  163.    Detects whether a carrier is present at the currently set up
  164.    asynchronous communications port.
  165.  
  166.  
  167. !short  Async_carrier_drop: boolean;                                     ECO_asyn
  168.  
  169.    ^Bfunction  async_carrier_drop: boolean;^N
  170.  
  171.    Force the carrier to drop from the asynchronous communications port
  172.  
  173. !short  Async_term_ready(ready_status: boolean);                         ECO_asyn
  174.  
  175.    ^Bprocedure async_term_ready(ready_status: boolean);^N
  176.  
  177.    Request readiness of asynchronous communications port.
  178.  
  179.  
  180. !short  Async_buffer_check: boolean;                                     ECO_asyn
  181.  
  182.    ^Bfunction  async_buffer_check: boolean;^N
  183.  
  184.    Check whether buffer of current asynchronous communications port
  185.    is working.
  186.  
  187. !short  Async_line_error(var error_flags: byte): boolean;                ECO_asyn
  188.  
  189.    ^Bfunction  async_line_error(var error_flags: byte): boolean;^N
  190.  
  191.    Retrive errorflags of asynchronous communications port.
  192.  
  193. !short  Async_ring_detect: boolean;                                      ECO_asyn
  194.  
  195.    ^Bfunction  async_ring_detect: boolean;^N
  196.  
  197.    Detect ring signal from current asynchronous communications port.
  198.    (not used frequently enymore.)
  199.  
  200. !short  Async_send_break;                                                ECO_asyn
  201.  
  202.    ^Bprocedure async_send_break;^N
  203.  
  204.    Send the BRK signal to the currently set up asynchronous
  205.    communications port.
  206.  
  207. !short  Async_send_string(s: string);                                    ECO_asyn
  208.  
  209.    ^Bprocedure async_send_string(s: string);^N
  210.  
  211.  
  212. !short  Async_send_string_with_delays(                                   ECO_asyn
  213.  
  214.    ^Bprocedure async_send_string_with_delays(^N
  215.    ^B  s         : string;^N
  216.    ^B  char_delay: integer;^N
  217.    ^B  eos_delay : integer^N
  218.    ^B);^N
  219.  
  220.    Send to the asynchronous communications port a string with
  221.    timed delays.
  222.  
  223. !short  Async_percentage_used: real;                                     ECO_asyn
  224.  
  225.    ^Bfunction  async_percentage_used: real;^N
  226.  
  227.    Buffer check of asynchronous communications port currently
  228.    being used.
  229.  
  230.  
  231. !short  Async_purge_buffer;                                              ECO_asyn
  232.  
  233.    ^Bprocedure async_purge_buffer;^N
  234.  
  235.    Empty the buffer of the asynchronous communications port
  236.    currently being used.
  237.  
  238.  
  239. !short  Async_peek(nchars: integer): char;                               ECO_asyn
  240.  
  241.    ^Bfunction  async_peek(nchars: integer): char;^N
  242.  
  243.    Look at buffer from the asynchronous communications port,
  244.    to inspect whats present.
  245.  
  246. !short  Async_setup_port(                                                ECO_asyn
  247.  
  248.    ^Bprocedure async_setup_port(^N
  249.    ^B  comport      : integer;^N
  250.    ^B  base_address : integer;^N
  251.    ^B  irq_line     : integer;^N
  252.    ^B  int_numb     : integer^N
  253.    ^B);^N
  254.  
  255.    Set up the current asynchronous communications port with new data.
  256.  
  257.  
  258. !short  Async_release_buffers;                                           ECO_asyn
  259.  
  260.    ^Bprocedure async_release_buffers;^N
  261.  
  262.    Purge all buffers from all asynchronous communications ports, by
  263.    throwing all data away.
  264.  
  265.  
  266. !short  Async_flush_output_buffer;                                       ECO_asyn
  267.  
  268.    ^Bprocedure async_flush_output_buffer;^N
  269.  
  270.    Purge all buffers from all asynchronous communications ports, but not
  271.    by throwing all data away.
  272.  
  273. !short  Async_drain_output_buffer(max_wait_time: integer);               ECO_asyn
  274.  
  275.    ^Bprocedure async_drain_output_buffer(max_wait_time: integer);^N
  276.  
  277.    Read all data from buffer of asynchronous communications port
  278.    at once.
  279.  
  280.  
  281. !short  Async_port_address_given(com_port): boolean;                     ECO_asyn
  282.  
  283.    ^Bfunction  async_port_address_given(com_port): boolean;^N
  284.  
  285.    Change the address of the current asynchronous communications port.
  286.  
  287.  
  288. !short  Async_send_now(c: char);                                         ECO_asyn
  289.  
  290.    ^Bprocedure async_send_now(c: char);^N
  291.  
  292.    Directly send a character to the asynchronous communications port.
  293.  
  294.  
  295. !short  Async_wait_for_quiet()                                           ECO_asyn
  296.  
  297.    ^Bfunction  async_wait_for_quiet(^N
  298.    ^B  max_wait: longint;^N
  299.    ^B  wait_time: longint^N
  300.    ^B): boolean;^N
  301.  
  302.    Wait on the current asynchronous communications port until silence
  303.    is detected.
  304.  
  305. !short  Send_modem_command(modem_text: string);                          ECO_asyn
  306.  
  307.    ^Bprocedure send_modem_command(modem_text: string);^N
  308.  
  309.    Send a modemcommand to the modem on the current
  310.    asynchronous communications port.
  311.  
  312.  
  313. !short  Set_params(first_time: boolean): boolean;                        ECO_asyn
  314.  
  315.    ^Bfunction  set_params(first_time: boolean): boolean;^N
  316.  
  317.    Mark whether you're initializing for the first time or
  318.    whether you're reassigning.
  319.  
  320. !short  Initialize_modem;                                                ECO_asyn
  321.  
  322.    ^Bprocedure initialize_modem;^N
  323.  
  324.    ATZ command
  325.  
  326. !short  Pak_tv;                                                          ECO_atv
  327.  
  328.    ^Bfunction  pak_tv(arc: pathstr; var opt: optiontype): boolean;^N
  329.  
  330.    The ECO Shell for CFI interface. Makes all knowledge about the
  331.    various archivers completely superfluous.
  332.    The actions to be performed must be send, though.
  333.  
  334. !short  Atv;                                                             ECO_atv
  335.  
  336.    ^Bfunction  atv(arcname: pathstr): boolean;^N
  337.  
  338.    The ECO Shell for CFI interface. Makes all knowledge about the
  339.    various archivers completely superfluous. Can be used as completely
  340.    independent interface for all archives and actions.
  341.  
  342.  
  343.  
  344. !short  Base(x: longint;b: byte): basestr;                               ECO_bcnv
  345.  
  346.    ^Bfunction  base(x: longint;b: byte): basestr;^N
  347.  
  348.  
  349. !short  Basef(x: longint;b, f: byte): basestr;                           ECO_bcnv
  350.  
  351.    ^Bfunction  basef(x: longint;b, f: byte): basestr;^N
  352.  
  353.  
  354. !short  Hex(x: longint): basestr;                                        ECO_bcnv
  355.  
  356.    ^Bfunction  hex(x: longint): basestr;^N
  357.  
  358.  
  359. !short  Hexf(x: longint;f: byte): basestr;                               ECO_bcnv
  360.  
  361.    ^Bfunction  hexf(x: longint;f: byte): basestr;^N
  362.  
  363.  
  364. !short  Dez(x: basestr;s: byte): longint;                                ECO_bcnv
  365.  
  366.    ^Bfunction  dez(x: basestr;s: byte): longint;^N
  367.  
  368.  
  369. !short  Dezh(x: basestr): longint;                                       ECO_bcnv
  370.  
  371.    ^Bfunction  dezh(x: basestr): longint;^N
  372.  
  373.  
  374.  
  375. !short  Calendaraction;                                                  ECO_cal
  376.  
  377.    ^Bprocedure calendaraction;^N
  378.  
  379.    Eternal calendar interface.
  380.  
  381. !short  Tan(radians: real): real;                                        ECO_calc
  382.  
  383.    ^Bfunction  tan(radians: real): real;^N
  384.  
  385.  
  386. !short  Arcsin(invalue: real): real;                                     ECO_calc
  387.  
  388.    ^Bfunction  arcsin(invalue: real): real;^N
  389.  
  390.  
  391. !short  Arccos(invalue: real): real;                                     ECO_calc
  392.  
  393.    ^Bfunction  arccos(invalue: real): real;^N
  394.  
  395.  
  396. !short  Degreestoradians(degrees: real): real;                           ECO_calc
  397.  
  398.    ^Bfunction  degreestoradians(degrees: real): real;^N
  399.  
  400.  
  401. !short  Radianstodegrees(radians: real): real;                           ECO_calc
  402.  
  403.    ^Bfunction  radianstodegrees(radians: real): real;^N
  404.  
  405.  
  406. !short  Sin_degree(degrees: real): real;                                 ECO_calc
  407.  
  408.    ^Bfunction  sin_degree(degrees: real): real;^N
  409.  
  410.  
  411. !short  Cos_degree(degrees: real): real;                                 ECO_calc
  412.  
  413.    ^Bfunction  cos_degree(degrees: real): real;^N
  414.  
  415.  
  416. !short  Tan_degree(degrees: real): real;                                 ECO_calc
  417.  
  418.    ^Bfunction  tan_degree(degrees: real): real;^N
  419.  
  420.  
  421. !short  Arcsin_degree(degrees: real): real;                              ECO_calc
  422.  
  423.    ^Bfunction  arcsin_degree(degrees: real): real;^N
  424.  
  425.  
  426. !short  Arccos_degree(degrees: real): real;                              ECO_calc
  427.  
  428.    ^Bfunction  arccos_degree(degrees: real): real;^N
  429.  
  430.  
  431. !short  Arctan_degree(degrees: real): real;                              ECO_calc
  432.  
  433.    ^Bfunction  arctan_degree(degrees: real): real;^N
  434.  
  435.  
  436. !short  Degreepartstodegrees()                                           ECO_calc
  437.  
  438.    ^Bfunction  degreepartstodegrees(degrees, minutes, sECOnds: real): real;^N
  439.  
  440.  
  441. !short  Degreepartstoradians()                                           ECO_calc
  442.  
  443.    ^Bfunction  degreepartstoradians(degrees, minutes, sECOnds: real): real;^N
  444.  
  445.  
  446. !short  Degreestodegreeparts();                                          ECO_calc
  447.  
  448.    ^Bprocedure degreestodegreeparts(^N
  449.    ^B  degreesin: real; var degrees, minutes, sECOnds: real^N
  450.    ^B);^N
  451.  
  452.  
  453. !short  Radianstodegreeparts();                                          ECO_calc
  454.  
  455.    ^Bprocedure radianstodegreeparts(^N
  456.    ^B  radians: real; var degrees, minutes, sECOnds: real^N
  457.    ^B);^N
  458.  
  459.  
  460. !short  Sin_degreeparts();                                               ECO_calc
  461.  
  462.    ^Bfunction  sin_degreeparts(degrees, minutes, sECOnds: real): real;^N
  463.  
  464.  
  465. !short  Cos_degreeparts();                                               ECO_calc
  466.  
  467.    ^Bfunction  cos_degreeparts(degrees, minutes, sECOnds: real): real;^N
  468.  
  469.  
  470. !short  Tan_degreeparts();                                               ECO_calc
  471.  
  472.    ^Bfunction  tan_degreeparts(degrees, minutes, sECOnds: real): real;^N
  473.  
  474.  
  475. !short  Arcsin_degreeparts();                                            ECO_calc
  476.  
  477.    ^Bfunction  arcsin_degreeparts(degrees, minutes, sECOnds: real): real;^N
  478.  
  479.  
  480. !short  Arccos_degreeparts();                                            ECO_calc
  481.  
  482.    ^Bfunction  arccos_degreeparts(degrees, minutes, sECOnds: real): real;^N
  483.  
  484.  
  485. !short  Arctan_degreeparts();                                            ECO_calc
  486.  
  487.    ^Bfunction  arctan_degreeparts(degrees, minutes, sECOnds: real): real;^N
  488.  
  489.  
  490. !short  Degreetypetodegrees();                                           ECO_calc
  491.  
  492.    ^Bfunction  degreetypetodegrees(degreevar: degreetype): real;^N
  493.  
  494.  
  495. !short  Degreetypetoradians(degreevar: degreetype): real;                ECO_calc
  496.  
  497.    ^Bfunction  degreetypetoradians(degreevar: degreetype): real;^N
  498.  
  499.  
  500. !short  Degreetypetodegreeparts();                                       ECO_calc
  501.  
  502.   ^Bprocedure degreetypetodegreeparts(^N
  503.    ^B degreevar: degreetype; var degrees, minutes, sECOnds: real^N
  504.   ^B);^N
  505.  
  506. !short  Degreestodegreetype();                                           ECO_calc
  507.  
  508.    ^B procedure degreestodegreetype(degrees: real; var degreevar: degreetype);^N
  509.  
  510. !short  Radianstodegreetype();                                           ECO_calc
  511.  
  512.    ^B procedure radianstodegreetype(radians: real; var degreevar: degreetype);^N
  513.  
  514.  
  515. !short  Degreepartstodegreetype();                                       ECO_calc
  516.  
  517.   ^Bprocedure degreepartstodegreetype(^N
  518.    ^B degrees, minutes, sECOnds: real; var degreevar: degreetype^N
  519.   ^B);^N
  520.  
  521.  
  522. !short  Sin_degreetype(degreevar: degreetype): real;                     ECO_calc
  523.  
  524.    ^Bfunction  sin_degreetype(degreevar: degreetype): real;^N
  525.  
  526.  
  527. !short  Cos_degreetype(degreevar: degreetype): real;                     ECO_calc
  528.  
  529.    ^Bfunction  cos_degreetype(degreevar: degreetype): real;^N
  530.  
  531.  
  532. !short  Tan_degreetype(degreevar: degreetype): real;                     ECO_calc
  533.  
  534.    ^Bfunction  tan_degreetype(degreevar: degreetype): real;^N
  535.  
  536.  
  537. !short  Arcsin_degreetype(degreevar: degreetype): real;                  ECO_calc
  538.  
  539.    ^Bfunction  arcsin_degreetype(degreevar: degreetype): real;^N
  540.  
  541.  
  542. !short  Arccos_degreetype(degreevar: degreetype): real;                  ECO_calc
  543.  
  544.    ^Bfunction  arccos_degreetype(degreevar: degreetype): real;^N
  545.  
  546.  
  547. !short  Arctan_degreetype(degreevar: degreetype): real;                  ECO_calc
  548.  
  549.    ^Bfunction  arctan_degreetype(degreevar: degreetype): real;^N
  550.  
  551.  
  552. !short  Sinh(invalue: real): real;                                       ECO_calc
  553.  
  554.    ^Bfunction  sinh(invalue: real): real;^N
  555.  
  556.  
  557. !short  Cosh(invalue: real): real;                                       ECO_calc
  558.  
  559.    ^Bfunction  cosh(invalue: real): real;^N
  560.  
  561.  
  562. !short  Tanh(invalue: real): real;                                       ECO_calc
  563.  
  564.    ^Bfunction  tanh(invalue: real): real;^N
  565.  
  566.  
  567. !short  Coth(invalue: real): real;                                       ECO_calc
  568.  
  569.    ^Bfunction  coth(invalue: real): real;^N
  570.  
  571.  
  572. !short  Sech(invalue: real): real;                                       ECO_calc
  573.  
  574.    ^Bfunction  sech(invalue: real): real;^N
  575.  
  576.  
  577. !short  Csch(invalue: real): real;                                       ECO_calc
  578.  
  579.    ^Bfunction  csch(invalue: real): real;^N
  580.  
  581.  
  582. !short  Arcsinh(invalue: real): real;                                    ECO_calc
  583.  
  584.    ^Bfunction  arcsinh(invalue: real): real;^N
  585.  
  586.  
  587. !short  Arccosh(invalue: real): real;                                    ECO_calc
  588.  
  589.    ^Bfunction  arccosh(invalue: real): real;^N
  590.  
  591.  
  592. !short  Arctanh(invalue: real): real;                                    ECO_calc
  593.  
  594.    ^Bfunction  arctanh(invalue: real): real;^N
  595.  
  596.  
  597. !short  Arccoth(invalue: real): real;                                    ECO_calc
  598.  
  599.    ^Bfunction  arccoth(invalue: real): real;^N
  600.  
  601.  
  602. !short  Arcsech(invalue: real): real;                                    ECO_calc
  603.  
  604.    ^Bfunction  arcsech(invalue: real): real;^N
  605.  
  606.  
  607. !short  Arccsch(invalue: real): real;                                    ECO_calc
  608.  
  609.    ^Bfunction  arccsch(invalue: real): real;^N
  610.  
  611.  
  612. !short  Log10(innumber: real): real;                                     ECO_calc
  613.  
  614.    ^Bfunction  log10(innumber: real): real;^N
  615.  
  616.  
  617. !short  Log(base, innumber: real): real;                                 ECO_calc
  618.  
  619.    ^Bfunction  log(base, innumber: real): real;^N
  620.  
  621.  
  622. !short  Power(innumber, exponent: real): real;                           ECO_calc
  623.  
  624.    ^Bfunction  power(innumber, exponent: real): real;^N
  625.  
  626.  
  627. !short  Root(innumber, theroot: real): real;                             ECO_calc
  628.  
  629.    ^Bfunction  root(innumber, theroot: real): real;^N
  630.  
  631.  
  632.  
  633. !short  Closecfi;                                                        ECO_cfi
  634.  
  635.    ^Bprocedure closecfi;^N
  636.  
  637.   Ancestor compression file interface function
  638.  
  639.  
  640. !short  Opencfifile(f: str79): boolean;                                  ECO_cfi
  641.  
  642.    ^Bfunction  opencfifile(f: str79): boolean;^N
  643.  
  644.   Ancestor compression file interface function
  645.  
  646. !short  Cfinext: boolean;                                                ECO_cfi
  647.  
  648.    ^Bfunction  cfinext: boolean;^N
  649.  
  650.   Ancestor compression file interface function
  651.  
  652. !short  Dectohex(l: longint; cfityp: byte): str8;                        ECO_cfi
  653.  
  654.    ^Bfunction  dectohex(l: longint; cfityp: byte): str8;^N
  655.  
  656.   Ancestor compression file interface function
  657.  
  658.  
  659. !short  __crc32(value: byte; crc: longint): longint;                     ECO_crc
  660.  
  661.    ^Bfunction  __crc32(value: byte; crc: longint): longint;^N
  662.  
  663.   var
  664.     crc32 : longint;
  665.   begin
  666.     crc32 := $ffffffff;
  667.     crc32 := __crc32(xxxx, crc32);
  668.   end;
  669.  
  670. !short  __crc16(value: byte; crc: word)   :    word;                     ECO_crc
  671.  
  672.    ^Bfunction  __crc16(value: byte; crc: word)   :    word;^N
  673.  
  674.   var
  675.     crc16 : longint;
  676.  
  677.   begin
  678.     crc16 := $0000;
  679.     crc16 := __crc16(xxxx, crc16);
  680.   end;
  681.  
  682.  
  683. !short  Desqviewpresent: boolean;                                        ECO_dsqv
  684.  
  685.    ^Bfunction  desqviewpresent: boolean;^N
  686.  
  687.   Checks whether DesqView is present or not
  688.  
  689. !short  Starttask(x: str2);                                              ECO_dsqv
  690.  
  691.    ^Bprocedure starttask(x: str2);^N
  692.  
  693.    Start a DesqView task
  694.  
  695. !short  Giveupcpu;                                                       ECO_dsqv
  696.  
  697.    ^Bprocedure giveupcpu;^N
  698.  
  699.    Give up DesqView CPU time.
  700.  
  701. !short  Giveupidle;                                                      ECO_dsqv
  702.  
  703.    ^Bprocedure giveupidle;^N
  704.  
  705.    Give up time back to DesqView  (when waiting for keypresses, e.g.).
  706.  
  707. !short  Exittask;                                                        ECO_dsqv
  708.  
  709.    ^Bprocedure exittask;^N
  710.  
  711.    Quit a DesqView task.
  712.  
  713. !short  Initmouse;                                                       ECO_emou
  714.  
  715.    ^Bprocedure initmouse;^N
  716.  
  717.    Initialise the Microsoft mouse.
  718.  
  719. !short  Showmouse;                                                       ECO_emou
  720.  
  721.    ^Bprocedure showmouse;^N
  722.  
  723.    Show the Microsoft mouse.
  724.  
  725. !short  Hidemouse;                                                       ECO_emou
  726.  
  727.    ^Bprocedure hidemouse;^N
  728.  
  729.    Hide the Microsoft mouse.
  730.  
  731. !short  Readmouse;                                                       ECO_emou
  732.  
  733.    ^Bprocedure readmouse;^N
  734.  
  735.    Read the position of the Microsoft mouse.
  736.  
  737. !short  Setmouseposition(x, y: word);                                    ECO_emou
  738.  
  739.    ^Bprocedure setmouseposition(x, y: word);^N
  740.  
  741.    Move the Microsoft mouse to certain location.
  742.  
  743. !short  Setmousepoint(x, y: word);                                       ECO_emou
  744.  
  745.    ^Bprocedure setmousepoint(x, y: word);^N
  746.  
  747.    Move the Microsoft mouse graphics cursor.
  748.  
  749. !short  Mousepress();                                                    ECO_emou
  750.  
  751.    ^Bfunction  mousepress(button: word;^N
  752.    ^B  var count, lastx, lasty: word^N
  753.    ^B): word;^N
  754.  
  755.    Checks whether the Microsoft mouse buttons have been pressed.
  756.  
  757. !short  Mouserelease();                                                  ECO_emou
  758.  
  759.    ^Bfunction  mouserelease(^N
  760.      button: word;
  761.      var count, lastx, lasty: word
  762.    ): word;
  763.  
  764.    Checks whether the Microsoft mouse buttons have been released.
  765.  
  766. !short  Setmousearea(x1, y1, x2, y2: word);                              ECO_emou
  767.  
  768.    ^Bprocedure setmousearea(x1, y1, x2, y2: word);^N
  769.  
  770.    Confine the Microsoft mouse to a certain boxlocation.
  771.  
  772. !short  Setmouseboxarea(var r);                                          ECO_emou
  773.  
  774.    ^Bprocedure setmouseboxarea(var r);^N
  775.  
  776.  
  777. !short  Mousegraphiccursor(shape: integer);                              ECO_emou
  778.  
  779.    ^Bprocedure mousegraphiccursor(shape: integer);^N
  780.  
  781.    Create a new shape in the graphics mousecursor.
  782.  
  783. !short  Setmousegraphiccursor(var mask: masktype);                       ECO_emou
  784.  
  785.    ^Bprocedure setmousegraphiccursor(var mask: masktype);^N
  786.  
  787.    Create a new shape in the graphics mousecursor.
  788.  
  789. !short  Mousetextcursor(select, start, stop: word);                      ECO_emou
  790.  
  791.    ^Bprocedure mousetextcursor(select, start, stop: word);^N
  792.  
  793.    Create a new shape in the textmode mousecursor.
  794.  
  795. !short  Readmickey(var x, y: word);                                      ECO_emou
  796.  
  797.    ^Bprocedure readmickey(var x, y: word);^N
  798.  
  799.    Where is the mouse?
  800.  
  801. !short  Setmouseisr(mask: word; var address);                            ECO_emou
  802.  
  803.    ^Bprocedure setmouseisr(mask: word; var address);^N
  804.  
  805.    Create handler
  806.  
  807. !short  Lightpen(flag: boolean);                                         ECO_emou
  808.  
  809.    ^Bprocedure lightpen(flag: boolean);^N
  810.  
  811.    Where is lightpen
  812.  
  813. !short  Setpixeltomickey(x, y: word);                                    ECO_emou
  814.  
  815.    ^Bprocedure setpixeltomickey(x, y: word);^N
  816.  
  817.  
  818. !short  Hidemousearea(x1, y1, x2, y2: word);                             ECO_emou
  819.  
  820.    ^Bprocedure hidemousearea(x1, y1, x2, y2: word);^N
  821.  
  822.  
  823. !short  Hidemouseboxarea(var r);                                         ECO_emou
  824.  
  825.    ^Bprocedure hidemouseboxarea(var r);^N
  826.  
  827.  
  828. !short  Mousethreshold(threshold: word);                                 ECO_emou
  829.  
  830.    ^Bprocedure mousethreshold(threshold: word);^N
  831.  
  832.  
  833. !short  Swapmouseisr(var mask: word; var address);                       ECO_emou
  834.  
  835.    ^Bprocedure swapmouseisr(var mask: word; var address);^N
  836.  
  837.  
  838. !short  Setmousepage(page: word);                                        ECO_emou
  839.  
  840.    ^Bprocedure setmousepage(page: word);^N
  841.  
  842.  
  843. !short  Getmousepage: word;                                              ECO_emou
  844.  
  845.    ^Bfunction  getmousepage: word;^N
  846.  
  847.  
  848. !short  Mousein(x1, y1, x2, y2: word): boolean;                          ECO_emou
  849.  
  850.    ^Bfunction  mousein(x1, y1, x2, y2: word): boolean;^N
  851.  
  852.  
  853. !short  Mouseinbox(var r): boolean;                                      ECO_emou
  854.  
  855.    ^Bfunction  mouseinbox(var r): boolean;^N
  856.  
  857.  
  858. !short  Mouseclick: boolean;                                             ECO_emou
  859.  
  860.    ^Bfunction  mouseclick: boolean;^N
  861.  
  862.  
  863. !short  Mouseclickin(x1, y1, x2, y2: word): boolean;                     ECO_emou
  864.  
  865.    ^Bfunction  mouseclickin(x1, y1, x2, y2: word): boolean;^N
  866.  
  867.  
  868. !short  Mouseclickinbox(var r): boolean;                                 ECO_emou
  869.  
  870.    ^Bfunction  mouseclickinbox(var r): boolean;^N
  871.  
  872.  
  873. !short  Pushmouse: boolean;                                              ECO_emou
  874.  
  875.    ^Bfunction  pushmouse: boolean;^N
  876.  
  877.  
  878. !short  Popmouse: boolean;                                               ECO_emou
  879.  
  880.    ^Bfunction  popmouse: boolean;^N
  881.  
  882.  
  883. !short  Zapmousestack;                                                   ECO_emou
  884.  
  885.    ^Bprocedure zapmousestack;^N
  886.  
  887.  
  888.  
  889. !short  Getptr(vector: byte): combufptr;                                 ECO_exe
  890.  
  891.    ^Bfunction  getptr(vector: byte): combufptr;^N
  892.  
  893.    Get a pointer to a common dataplace (likely to reside in 
  894.    the memory of a hostprogram, that spawns children)
  895.  
  896. !short  Cseg_t(): word;                                                  ECO_exe
  897.  
  898.    ^Bfunction  cseg_t(var comseg, compars: word; vector: byte): word;^N
  899.  
  900.    read info about the common data place.
  901.  
  902.  
  903. !short  Chain_t(): word;                                                 ECO_exe
  904.  
  905.    ^Bfunction  chain_t(prog, cmd: string; vector: byte): word;^N
  906.  
  907.    Enter data about what program to rechain. (respawn)
  908.  
  909. !short  Default_t(): word;                                               ECO_exe
  910.  
  911.    ^Bfunction  default_t(prog: string; vector: byte): word;^N
  912.  
  913.    What program to default spawn if the normal chain is broken.
  914.  
  915. !short  __attr(f, b: byte): byte;                                        ECO_ext
  916.  
  917.    ^Bfunction  __attr(f, b: byte): byte;^N
  918.  
  919.    Construct a byte from two colours.
  920.  
  921. !short  __coordmou(var x: word; var y: word);                            ECO_ext
  922.  
  923.    ^Bprocedure __coordmou(var x: word; var y: word);^N
  924.  
  925.    PowerTools Mouse functions made easy.
  926.  
  927. !short  __delay(w: word);                                                ECO_ext
  928.  
  929.    ^Bprocedure __delay(w: word);^N
  930.  
  931.    Wait a delay, using the timer instead of the CRT unit.
  932.  
  933. !short  __delaykey(w: word);                                             ECO_ext
  934.  
  935.    ^Bprocedure __delaykey(w: word);^N
  936.  
  937.    Wait a delay, using the timer instead of the CRT unit,
  938.    immediately if a key is pressed.
  939.  
  940. !short  __fastkey;                                                       ECO_ext
  941.  
  942.    ^Bprocedure __fastkey;^N
  943.  
  944.    Set Extended keyboard to FAST response.
  945.  
  946. !short  __funcmou(): mouseaction;                                        ECO_ext
  947.  
  948.    ^Bfunction  __funcmou(var b: word; var x: word; var y: word): mouseaction;^N
  949.  
  950.    PowerTools Mouse Functions made easy.
  951.  
  952. !short  __isboxmou(x1, y1, x2, y2, cx, cy: word): boolean;               ECO_ext
  953.  
  954.    ^Bfunction  __isboxmou(x1, y1, x2, y2, cx, cy: word): boolean;^N
  955.  
  956.    PowerTools Mouse Functions made easy.
  957.  
  958. !short  __keypressed: boolean;                                           ECO_ext
  959.  
  960.    ^Bfunction  __keypressed: boolean;^N
  961.  
  962.    Does not use CRT. Checks BIOS keyboardbuffer change.
  963.  
  964. !short  __keyword(k: _keys): word;                                       ECO_ext
  965.  
  966.    ^Bfunction  __keyword(k: _keys): word;^N
  967.  
  968.    PowerTools Keyboarde Functions made easy.
  969.    Returns key, using __getkey;
  970.    Change keypoller := NIL; to keypoller := @keyprocedure
  971.    if you want a procedure to be called between keypollings.
  972.  
  973.    Where:
  974.      ^Rkeyprocedure(var reg: registers); far;^N
  975.  
  976. !short  __main(b: longint; w: word): longint;                            ECO_ext
  977.  
  978.    ^Bfunction  __main(b: longint; w: word): longint;^N
  979.  
  980.    Calculates the main.
  981.  
  982.    ^RExamples:^N
  983.      __main(   0, 8192) =    0
  984.      __main(2182, 8192) = 8192
  985.      __main(8192, 8192) = 8192
  986.      __main(8193, 8192) = 16384
  987.  
  988.  
  989. !short  __max(v1, v2: longint): longint;                                 ECO_ext
  990.  
  991.    ^Bfunction  __max(v1, v2: longint): longint;^N
  992.  
  993.    Calculates the maximum of two.
  994.  
  995.    ^RExample:^N
  996.      __max(4, 90) = 90;
  997.  
  998. !short  __min(v1, v2: longint): longint;                                 ECO_ext
  999.  
  1000.    ^Bfunction  __min(v1, v2: longint): longint;^N
  1001.  
  1002.    Calculates the minimum of two.
  1003.  
  1004.    ^RExample:^N
  1005.      __min(4, 90) = 4;
  1006.  
  1007. !short  __power(x, y: integer): longint;                                 ECO_ext
  1008.  
  1009.    ^Bfunction  __power(x, y: integer): longint;^N
  1010.  
  1011.    Calculates the power of two numbers.
  1012.  
  1013.    ^RExamples:^N
  1014.      __power(2, 3) = 8;
  1015.      __power(3, 4) = 81;
  1016.      __power(1, 0) = 1;
  1017.  
  1018. !short  __readkey: char;                                                 ECO_ext
  1019.  
  1020.    ^Bfunction  __readkey: char;^N
  1021.  
  1022.    Read a key from the keyboard.
  1023.    Does not use the CRT unit.
  1024.  
  1025. !short  __retdow(y, m, d: word): word;                                   ECO_ext
  1026.  
  1027.    ^Bfunction  __retdow(y, m, d: word): word;^N
  1028.  
  1029.    Returns the day of the week using date Y/M/D
  1030.  
  1031. !short  __retkey: word;                                                  ECO_ext
  1032.  
  1033.    ^Bfunction  __retkey: word;^N
  1034.  
  1035.    Returns key word;
  1036.  
  1037.  
  1038. !short  __str(st: string): integer;                                      ECO_ext
  1039.  
  1040.    ^Bfunction  __str(st: string): integer;^N
  1041.  
  1042.    Evaluate a number in a string
  1043.  
  1044. !short  __today: byte;                                                   ECO_ext
  1045.  
  1046.    ^Bfunction  __today: byte;^N
  1047.  
  1048.    Current day of week.
  1049.      0 - sunday,  6 - saturday
  1050.  
  1051. !short  __val(st: string): longint;                                      ECO_ext
  1052.  
  1053.    ^Bfunction  __val(st: string): longint;^N
  1054.  
  1055.      Evaluate string number to longint (larger numbers)
  1056.  
  1057. !short  Packetname_:  string;                                            ECO_fido
  1058.  
  1059.    ^Bfunction  packetname_:  string;^N
  1060.  
  1061.  
  1062. !short  Packetmessage_:  string;                                         ECO_fido
  1063.  
  1064.    ^Bfunction  packetmessage_:  string;^N
  1065.  
  1066.  
  1067. !short  Packetheader_:  string;                                          ECO_fido
  1068.  
  1069.    ^Bfunction  packetheader_:  string;^N
  1070.  
  1071.  
  1072. !short  Netmessage_:  string;                                            ECO_fido
  1073.  
  1074.    ^Bfunction  netmessage_:  string;^N
  1075.  
  1076.  
  1077. !short  Getpath_(var fname: string): boolean;                            ECO_fido
  1078.  
  1079.    ^Bfunction  getpath_(var fname: string): boolean;^N
  1080.  
  1081.  
  1082. !short  Getnet_(gn: string):  string;                                    ECO_fido
  1083.  
  1084.    ^Bfunction  getnet_(gn: string):  string;^N
  1085.  
  1086.  
  1087. !short  Getnode_(gn: string):  string;                                   ECO_fido
  1088.  
  1089.    ^Bfunction  getnode_(gn: string):  string;^N
  1090.  
  1091.  
  1092. !short  Msgdatestamp_:  string;                                          ECO_fido
  1093.  
  1094.    ^Bfunction  msgdatestamp_:  string;^N
  1095.  
  1096.  
  1097. !short  Lastmsgnum_(_netpath: string): integer;                          ECO_fido
  1098.  
  1099.    ^Bfunction  lastmsgnum_(_netpath: string): integer;^N
  1100.  
  1101.  
  1102. !short  Hex_ (n: word):  string;                                         ECO_fido
  1103.  
  1104.    ^Bfunction  hex_ (n: word):  string;^N
  1105.  
  1106.  
  1107. !short  Archivename_:  string;                                           ECO_fido
  1108.  
  1109.    ^Bfunction  archivename_:  string;^N
  1110.  
  1111.  
  1112. !short  Expandnodenumbers_();                                            ECO_fido
  1113.  
  1114.    ^Bprocedure expandnodenumbers_(var list: string; var totalnumber: integer);^N
  1115.  
  1116.  
  1117. !short  Convertnetnode_();                                               ECO_fido
  1118.  
  1119.    ^Bprocedure convertnetnode_(netnode: string; var net, node: word);^N
  1120.  
  1121.  
  1122.  
  1123. !short  __attrfilter(fileattr, filter: byte): boolean;                   ECO_fil
  1124.  
  1125.    ^Bfunction  __attrfilter(fileattr, filter: byte): boolean;^N
  1126.  
  1127.    Selects whether a file is admissible.
  1128.    ^RExamples:^N
  1129.         archive + hidden + readonly + sysfile + directory + volumid + only +
  1130.      ^B1 finding all normal files^N
  1131.        if __attrfilter(
  1132.          search.attr,
  1133.          archive + readonly
  1134.        ) then writeln('Found: ', search.name);
  1135.        Files that are found can have: none, arc, r/o or arc + r/o attributes!
  1136.  
  1137.      ^B2 finding all system files files^N
  1138.        if __attrfilter(
  1139.          search.attr,
  1140.          hidden + sysfile + only
  1141.        ) then writeln('Found: ', search.name);
  1142.        Files that are found can have ^Bonly^N hidden + sysfile attributes!
  1143.  
  1144.      ^B3 finding all system files files^N
  1145.        if __attrfilter(
  1146.          search.attr,
  1147.          volumid  directory + only + notnone
  1148.        ) then writeln('Found: ', search.name);
  1149.        Files that are found cannot have ^Bno attributes^N since
  1150.        "notnone" is specified.
  1151.        Furthermore they can have directory or volumid attributes.
  1152.        By error, since DOS normally does not allow it, files
  1153.        with both VolumID and Directory attributes are found, too.
  1154.  
  1155. !short  __comexebatfilter(s: namestr): boolean;                          ECO_fil
  1156.  
  1157.    ^Bfunction  __comexebatfilter(s: namestr): boolean;^N
  1158.  
  1159.    Checks whether the file specified  (like "HELLO.EXE")  end
  1160.    on either COM, EXE or BAT. Quite handy!
  1161.  
  1162. !short  __curdir: string;                                                ECO_fil
  1163.  
  1164.    ^Bfunction  __curdir: string;^N
  1165.  
  1166.    Returns the current directory, ending in "\".
  1167.  
  1168. !short  __delvlfil(drive: char): boolean;                                ECO_fil
  1169.  
  1170.    ^Bfunction  __delvlfil(drive: char): boolean;^N
  1171.  
  1172.    Delete a VolumeID
  1173.  
  1174. !short  __deverr: string;                                                ECO_fil
  1175.  
  1176.    ^Bfunction  __deverr: string;^N
  1177.  
  1178.    Returns the doserror in a string;
  1179.  
  1180.    ^RExample:^N
  1181.      if doserror > 0 then begin writeln(__deverror); halt(doserror) end;
  1182.  
  1183. !short  __drvparm(drv: char);                                            ECO_fil
  1184.  
  1185.    ^Bprocedure __drvparm(drv: char);^N
  1186.    
  1187.    Retrieve drive parameters into unit variables.
  1188.  
  1189.  
  1190. !short  __erasefiles(s: string);                                         ECO_fil
  1191.  
  1192.    ^Bprocedure __erasefiles(s: string);^N
  1193.  
  1194.    Erase files with dos wildcards.
  1195.  
  1196. !short  __existpath(s: string): boolean;                                 ECO_fil
  1197.  
  1198.    ^Bfunction  __existpath(s: string): boolean;^N
  1199.  
  1200.    Does a path exist?
  1201.  
  1202. !short  __extractext(name: pathstr): str3;                               ECO_fil
  1203.  
  1204.    ^Bfunction  __extractext(name: pathstr): str3;^N
  1205.  
  1206.    Extract name from pathname C:\...\FILE.EXT
  1207.    EXT is returned
  1208.  
  1209. !short  __extractname(s: string): string;                                ECO_fil
  1210.  
  1211.    ^Bfunction  __extractname(s: string): string;^N
  1212.  
  1213.    Extract name from pathname C:\...\FILE.EXT
  1214.    FILE is returned
  1215.  
  1216. !short  __extractpath(s: string): string;                                ECO_fil
  1217.  
  1218.    ^Bfunction  __extractpath(s: string): string;^N
  1219.  
  1220.    Extract name from pathname C:\...\FILE.EXT
  1221.    C:\...\ is returned
  1222.  
  1223. !short  __findfil(f: string; var s: string): boolean;                    ECO_fil
  1224.  
  1225.    ^Bfunction  __findfil(f: string; var s: string): boolean;^N
  1226.  
  1227.    Finds files with wildcards in f; found file is returned in s.
  1228.    If you don't (re-)move s, then the same s is found everytime.
  1229.    
  1230.  
  1231. !short  __inparams(s: string): boolean;                                  ECO_fil
  1232.  
  1233.    ^Bfunction  __inparams(s: string): boolean;^N
  1234.  
  1235.    Quickly check whether a certain parameter is present in the
  1236.    commandline.
  1237.  
  1238. !short  __packfil(str: string; size: byte): string;                      ECO_fil
  1239.  
  1240.    ^Bfunction  __packfil(str: string; size: byte): string;^N
  1241.  
  1242.    Display as much info as possible in size spaces. At least 15 positions.
  1243.    ("C:\FILENAME.EXT")
  1244.    ^RExample:^N
  1245.      writeln(__packfil('C:\PROG\PROJ\COMM\FILE1\COMMPROG.PAS', 20));
  1246.      writes: "C:FILE1\COMMPROG.PAS"
  1247.  
  1248. !short  __parsefil();                                                    ECO_fil
  1249.  
  1250.    ^Bprocedure __parsefil(name: filestr; var nam: namestr; var ext: extstr);^N
  1251.  
  1252.    filestr = string[12];
  1253.  
  1254. !short  __retdfil(drive: char): byte;                                    ECO_fil
  1255.  
  1256.    ^Bfunction  __retdfil(drive: char): byte;^N
  1257.  
  1258.  
  1259. !short  __reteqfil(drv: char; var errorcode: byte): char;                ECO_fil
  1260.  
  1261.    ^Bfunction  __reteqfil(drv: char; var errorcode: byte): char;^N
  1262.  
  1263.    Scans ghost drives and finds "brother"-drive.
  1264.  
  1265. !short  __searchrec();                                                   ECO_fil
  1266.  
  1267.    ^Bfunction  __searchrec(^N
  1268.    ^B  src                 : searchrec;^N
  1269.    ^B  nm, woord, mainsize :      word;^N
  1270.    ^B  takemainsize, extended, ^N
  1271.    ^B  ampm, show_attr, ^N
  1272.    ^B  wide                :   boolean^N
  1273.    ^B): string;^N
  1274.  
  1275.    To save space.
  1276.  
  1277. !short  __srec2srec(s: searchrec; var s2: searchrecord);                 ECO_fil
  1278.  
  1279.    ^Bprocedure __srec2srec(s: searchrec; var s2: searchrecord);^N
  1280.  
  1281.    Easy conversion
  1282.  
  1283. !short  __seteqfil(drv: char; var errorcode: byte): char;                ECO_fil
  1284.  
  1285.    ^Bfunction  __seteqfil(drv: char; var errorcode: byte): char;^N
  1286.  
  1287.    Set brother-drive up as ghost.
  1288.  
  1289. !short  __sizefil(pt: string): longint;                                  ECO_fil
  1290.  
  1291.    ^Bfunction  __sizefil(pt: string): longint;^N
  1292.  
  1293.    Return size of a file.
  1294.  
  1295. !short  __speedfil;                                                      ECO_fil
  1296.  
  1297.    ^Bprocedure __speedfil;^N
  1298.  
  1299.    Speeds up drive table of floppy drive.
  1300.  
  1301. !short  __strattr(attr: byte): string;                                   ECO_fil
  1302.  
  1303.    ^Bfunction  __strattr(attr: byte): string;^N
  1304.  
  1305.    Return attributes in a string.
  1306.  
  1307. !short  Fos_atcmd_(): boolean;                                           ECO_fos
  1308.  
  1309.    ^Bfunction  fos_atcmd_(comport_ : byte;  command_: string): boolean;^N
  1310.  
  1311.  
  1312. !short  Fos_avail_(comport_ : byte): boolean;                            ECO_fos
  1313.  
  1314.    ^Bfunction  fos_avail_(comport_ : byte): boolean;^N
  1315.  
  1316.  
  1317. !short  Fos_cd_(comport_ : byte): boolean;                               ECO_fos
  1318.  
  1319.    ^Bfunction  fos_cd_(comport_ : byte): boolean;^N
  1320.  
  1321.  
  1322. !short  Fos_checkmodem_(comport_ : byte): boolean;                       ECO_fos
  1323.  
  1324.    ^Bfunction  fos_checkmodem_(comport_ : byte): boolean;^N
  1325.  
  1326.  
  1327. !short  Fos_empty_comport_ : byte): boolean;                             ECO_fos
  1328.  
  1329.    ^Bfunction  fos_empty_(comport_ : byte): boolean;^N
  1330.  
  1331.  
  1332. !short  Fos_hangup_(comport_ : byte): boolean;                           ECO_fos
  1333.  
  1334.    ^Bfunction  fos_hangup_(comport_ : byte): boolean;^N
  1335.  
  1336.  
  1337. !short  Fos_oktosend_(comport_ : byte): boolean;                         ECO_fos
  1338.  
  1339.    ^Bfunction  fos_oktosend_(comport_ : byte): boolean;^N
  1340.  
  1341.  
  1342. !short  Fos_receive_(comport_ : byte): char;                             ECO_fos
  1343.  
  1344.    ^Bfunction  fos_receive_(comport_ : byte): char;^N
  1345.  
  1346.  
  1347. !short  Fos_reboot_;                                                     ECO_fos
  1348.  
  1349.    ^Bprocedure fos_reboot_;^N
  1350.  
  1351.  
  1352. !short  Fos_ansi_(character: char);                                      ECO_fos
  1353.  
  1354.    ^Bprocedure fos_ansi_(character: char);^N
  1355.  
  1356.  
  1357. !short  Fos_bios_(character: char);                                      ECO_fos
  1358.  
  1359.    ^Bprocedure fos_bios_(character: char);^N
  1360.  
  1361.  
  1362. !short  Fos_clear_regs_;                                                 ECO_fos
  1363.  
  1364.    ^Bprocedure fos_clear_regs_;^N
  1365.  
  1366.  
  1367. !short  Fos_close_(comport_ : byte);                                     ECO_fos
  1368.  
  1369.    ^Bprocedure fos_close_(comport_ : byte);^N
  1370.  
  1371.  
  1372. !short  Fos_dtr_(comport_ : byte;  state: boolean);                      ECO_fos
  1373.  
  1374.    ^Bprocedure fos_dtr_(comport_ : byte;  state: boolean);^N
  1375.  
  1376.  
  1377. !short  Fos_flow_(comport_ : byte;  state: boolean);                     ECO_fos
  1378.  
  1379.    ^Bprocedure fos_flow_(comport_ : byte;  state: boolean);^N
  1380.  
  1381.  
  1382. !short  Fos_flush_(comport_ : byte);                                     ECO_fos
  1383.  
  1384.    ^Bprocedure fos_flush_(comport_ : byte);^N
  1385.  
  1386.  
  1387. !short  Fos_init_(comport_ : byte);                                      ECO_fos
  1388.  
  1389.    ^Bprocedure fos_init_(comport_ : byte);^N
  1390.  
  1391.  
  1392. !short  Fos_kill_out_(comport_ : byte);                                  ECO_fos
  1393.  
  1394.    ^Bprocedure fos_kill_out_(comport_ : byte);^N
  1395.  
  1396.  
  1397. !short  Fos_kill_in_(comport_ : byte);                                   ECO_fos
  1398.  
  1399.    ^Bprocedure fos_kill_in_(comport_ : byte);^N
  1400.  
  1401.  
  1402. !short  Fos_parms_();                                                    ECO_fos
  1403.  
  1404.    ^Bprocedure fos_parms_(^N
  1405.    ^B  comport_ : byte;^N
  1406.    ^B  baud: integer;^N
  1407.    ^B  databits: byte;^N
  1408.    ^B  parity: char;^N
  1409.    ^B  stopbit: byte^N
  1410.    ^B);^N
  1411.  
  1412.  
  1413. !short  Fos_string_(comport_ : byte;  outstring: string);                ECO_fos
  1414.  
  1415.    ^Bprocedure fos_string_(comport_ : byte;  outstring: string);^N
  1416.  
  1417.  
  1418. !short  Fos_stringcrlf_();                                               ECO_fos
  1419.  
  1420.    ^Bprocedure fos_stringcrlf_(comport_ : byte;  outstring: string);^N
  1421.  
  1422.  
  1423. !short  Fos_watchdog_(comport_ : byte;  state: boolean);                 ECO_fos
  1424.  
  1425.    ^Bprocedure fos_watchdog_(comport_ : byte;  state: boolean);^N
  1426.  
  1427.  
  1428. !short  Fos_write_(comport_ : byte;  character: char);                   ECO_fos
  1429.  
  1430.    ^Bprocedure fos_write_(comport_ : byte;  character: char);^N
  1431.  
  1432.  
  1433.  
  1434. !short  Restorekbdvectors;                                               ECO_kbd
  1435.  
  1436.    ^Bprocedure restorekbdvectors;^N
  1437.  
  1438.  
  1439. !short  Readkeyword: word;                                               ECO_kbd
  1440.  
  1441.    ^Bfunction  readkeyword: word;^N
  1442.  
  1443.  
  1444. !short  Hexw(w: word): string;                                           ECO_kbd
  1445.  
  1446.    ^Bfunction  hexw(w: word): string;^N
  1447.  
  1448.  
  1449.  
  1450. !short  Mreset(var mouse: resetrec);                                     ECO_mou
  1451.  
  1452.    ^Bprocedure mreset(var mouse: resetrec);^N
  1453.  
  1454.  
  1455. !short  Mshow;                                                           ECO_mou
  1456.  
  1457.    ^Bprocedure mshow;^N
  1458.  
  1459.  
  1460. !short  Mhide;                                                           ECO_mou
  1461.  
  1462.    ^Bprocedure mhide;^N
  1463.  
  1464.  
  1465. !short  Mpos(var mouse: locrec);                                         ECO_mou
  1466.  
  1467.    ^Bprocedure mpos(var mouse: locrec);^N
  1468.  
  1469.  
  1470. !short  Mmoveto(col, row: integer);                                      ECO_mou
  1471.  
  1472.    ^Bprocedure mmoveto(col, row: integer);^N
  1473.  
  1474.  
  1475. !short  Mpressed(button: integer; var mouse: locrec);                    ECO_mou
  1476.  
  1477.    ^Bprocedure mpressed(button: integer; var mouse: locrec);^N
  1478.  
  1479.  
  1480. !short  Mreleased(button: integer; var mouse: locrec);                   ECO_mou
  1481.  
  1482.    ^Bprocedure mreleased(button: integer; var mouse: locrec);^N
  1483.  
  1484.  
  1485. !short  Mcolrange(min, max: integer);                                    ECO_mou
  1486.  
  1487.    ^Bprocedure mcolrange(min, max: integer);^N
  1488.  
  1489.  
  1490. !short  Mrowrange(min, max: integer);                                    ECO_mou
  1491.  
  1492.    ^Bprocedure mrowrange(min, max: integer);^N
  1493.  
  1494.  
  1495. !short  Mgraphcursor();                                                  ECO_mou
  1496.  
  1497.    ^Bprocedure mgraphcursor(hhot, vhot: integer; maskseg, maskofs: word);^N
  1498.  
  1499.  
  1500. !short  Mtextcursor(ctype, p1, p2: word);                                ECO_mou
  1501.  
  1502.    ^Bprocedure mtextcursor(ctype, p1, p2: word);^N
  1503.  
  1504.  
  1505. !short  Mmotion(var moved: moverec);                                     ECO_mou
  1506.  
  1507.    ^Bprocedure mmotion(var moved: moverec);^N
  1508.  
  1509.  
  1510. !short  Minsttask(mask, taskseg, taskofs: word);                         ECO_mou
  1511.  
  1512.    ^Bprocedure minsttask(mask, taskseg, taskofs: word);^N
  1513.  
  1514.  
  1515. !short  Mlpenon;                                                         ECO_mou
  1516.  
  1517.    ^Bprocedure mlpenon;^N
  1518.  
  1519.  
  1520. !short  Mlpenoff;                                                        ECO_mou
  1521.  
  1522.    ^Bprocedure mlpenoff;^N
  1523.  
  1524.  
  1525. !short  Mratio(horiz, vert: integer);                                    ECO_mou
  1526.  
  1527.    ^Bprocedure mratio(horiz, vert: integer);^N
  1528.  
  1529.  
  1530. !short  Getcolor();                                                      ECO_pal
  1531.  
  1532.    ^Bfunction  getcolor(^N
  1533.    ^B  x_pos, y_pos, winf, winb, wintype: byte;^N
  1534.    ^B  var fore, back: byte;^N
  1535.    ^B  msg: string^N
  1536.    ^B): byte;^N
  1537.  
  1538.    Uses a palette in which you can move around to choose
  1539.    the colour. If you specify a default value in fore, back,
  1540.    then, when ESCaping, the original is restored.
  1541.    The cursor then also jumpes to the right loaction.
  1542.  
  1543. !short  __setpopascii(x, y, f1, b1: integer);                            ECO_pasc
  1544.  
  1545.    ^Bprocedure __setpopascii(x, y, f1, b1: integer);^N
  1546.  
  1547.    Determine data for a popup ASCII table.
  1548.  
  1549. !short  __popascii: char;                                                ECO_pasc
  1550.  
  1551.    ^Bfunction  __popascii: char;^N
  1552.  
  1553.    Return data from a popup ASCII table
  1554.  
  1555. !short  __setcalc(x, y, f, b: integer);                                  ECO_pclc
  1556.  
  1557.    ^Bprocedure __setcalc(x, y, f, b: integer);^N
  1558.  
  1559.    Determine data for a popup Calculator.
  1560.  
  1561. !short  __popcalc: real;                                                 ECO_pclc
  1562.  
  1563.    ^Bfunction  __popcalc: real;^N
  1564.  
  1565.    Return data from a popup Calculator.
  1566.  
  1567. !short  Setdefaultnotes;                                                 ECO_play
  1568.  
  1569.    ^Bprocedure setdefaultnotes;^N
  1570.  
  1571.    Initialise notes for PLAY Command
  1572.  
  1573. !short  Play(s: string);                                                 ECO_play
  1574.  
  1575.    ^Bprocedure play(s: string);^N
  1576.  
  1577.    Plays songs in BASICA style.
  1578.  
  1579.   ^Bcall: play(string)^N
  1580.  
  1581.         music_string --- the string containing the encoded music to be
  1582.                          played.  the format is the same as that of the
  1583.                          microsoft basic play statement.  the string
  1584.                          must be <= 254 characters in length.
  1585.  
  1586.   calls:  sound
  1587.           getint  (internal)
  1588.  
  1589.   remarks:  the characters accepted by this routine are: 
  1590.  
  1591.             a - g       musical notes
  1592.             # or +      following a - g note, indicates sharp
  1593.             -           following a - g note, indicates flat
  1594.             <           move down one octave
  1595.             >           move up one octave
  1596.             .           dot previous note (extend note duration by 3/2)
  1597.             mn          normal duration (7/8 of interval between notes)
  1598.             ms          staccato duration
  1599.             ml          legato duration
  1600.             ln          length of note (n=1-64; 1=whole note, 4=quarter note)
  1601.             pn          pause length (same n values as ln above)
  1602.             tn          tempo, n=notes/minute (n=32-255, default n=120)
  1603.             on          octave number (n=0-6, default n=4)
  1604.             nn          play note number n (n=0-84)
  1605.  
  1606.             the following two commands are ignored by play: 
  1607.  
  1608.             mf          complete note before continuing
  1609.             mb          another process may begin before speaker is
  1610.                         finished playing note
  1611.  
  1612.   ^Bimportant --- setdefaultnotes must have been called at least once before^N
  1613.    ^B             this routine is called.^N
  1614.  
  1615.  
  1616. !short  Beep(h, l: word);                                                ECO_play
  1617.  
  1618.    ^Bprocedure beep(h, l: word);^N
  1619.  
  1620.    Standaard issue beep to speaker.
  1621.  
  1622.  
  1623. !short  Screensaver(st: string);                                         ECO_scrn
  1624.  
  1625.    ^Bprocedure screensaver(st: string);^N
  1626.  
  1627.    Graphical screensaver.
  1628.  
  1629.  
  1630. !short  Blockpos(var buffer; size: word; s: string): integer;            ECO_srch
  1631.  
  1632.    ^Bfunction  blockpos(var buffer;size: word;s: string): integer;^N
  1633.  
  1634.    Search buffer for text
  1635.  
  1636. !short  Makeboyertable();                                                ECO_srch
  1637.  
  1638.    ^Bprocedure makeboyertable(matchstring: string;var table: boyertable);^N
  1639.  
  1640.    Set up a boyer searchtable
  1641.  
  1642. !short  Boyermoore();                                                    ECO_srch
  1643.  
  1644.    ^Bfunction  boyermoore(^N
  1645.    ^B  var bufferaddr;size: word;start: word;var table: boyertable^N
  1646.    ^B): word;^N
  1647.  
  1648.   Search boyermoore-like in buffer
  1649.  
  1650. !short  __app(var st: string; aps: string);                              ECO_str
  1651.  
  1652.    ^Bprocedure __app(var st: string; aps: string);^N
  1653.  
  1654.    Append string to string;
  1655.  
  1656. !short  __backapp(s: string): string;                                    ECO_str
  1657.  
  1658.    ^Bfunction  __backapp(s: string): string;^N
  1659.  
  1660.    append \ if not existing.
  1661.  
  1662. !short  __backrem(s: string): string;                                    ECO_str
  1663.  
  1664.    ^Bfunction  __backrem(s: string): string;^N
  1665.  
  1666.    remove \ if present.
  1667.  
  1668. !short  __comp(s1, s2: string): boolean;                                 ECO_str
  1669.  
  1670.    ^Bfunction  __comp(s1, s2: string): boolean;^N
  1671.  
  1672.    rough compare two strings; (uppercase, remove white, compare).
  1673.  
  1674. !short  __hxdecstr(hexstr: string): longint;                             ECO_str
  1675.  
  1676.    ^Bfunction  __hxdecstr(hexstr: string): longint;^N
  1677.  
  1678.    get number from hex input.
  1679.  
  1680. !short  __lo(s: string): string;                                         ECO_str
  1681.  
  1682.    ^Bfunction  __lo(s: string): string;^N
  1683.  
  1684.    lowercase a string.
  1685.  
  1686. !short  __num(nr: longint): string;                                      ECO_str
  1687.  
  1688.    ^Bfunction  __num(nr: longint): string;^N
  1689.  
  1690.    represent number textually.
  1691.  
  1692. !short  __nw(s: string): string;                                         ECO_str
  1693.  
  1694.    ^Bfunction  __nw(s: string): string;^N
  1695.  
  1696.    remove all white from string.
  1697.  
  1698. !short  __overtype(n: byte;strs, strt: string): string;                  ECO_str
  1699.  
  1700.    ^Bfunction  __overtype(n: byte;strs, strt: string): string;^N
  1701.  
  1702.    Overtype string with part of another.
  1703.  
  1704. !short  __pntstr(n: longint): string;                                    ECO_str
  1705.  
  1706.    ^Bfunction  __pntstr(n: longint): string;^N
  1707.  
  1708.    Represent a number with points in it:
  1709.  
  1710.    ^RExample:^N
  1711.      Writeln('Free on C: ', __pntstr(diskfree(0)), ' bytes.');
  1712.      writes: Free on C: 31.753.428 bytes.
  1713.  
  1714. !short  __rep(n: byte; character: char): string;                         ECO_str
  1715.  
  1716.    ^Bfunction  __rep(n: byte; character: char): string;^N
  1717.  
  1718.    Replicate a number of characters.
  1719.  
  1720. !short  __retdowstr(dayofweek: word; ful: boolean): string;              ECO_str
  1721.  
  1722.    ^Bfunction  __retdowstr(dayofweek: word; ful: boolean): string;^N
  1723.  
  1724.    Use in combination with __retdow.
  1725.    Result: "Monday", "Thursday" etc. when ful = true, else
  1726.            "Mon", "Thu" etc.
  1727.  
  1728. !short  __todaystr(ful: boolean): string;                                ECO_str
  1729.  
  1730.    ^Bfunction  __todaystr(ful: boolean): string;^N
  1731.  
  1732.    Today in string notation.
  1733.    like __retdowstr.
  1734.  
  1735.    Result: "Monday", "Thursday" etc. when ful = true, else
  1736.            "Mon", "Thu" etc.
  1737.  
  1738. !short  __up(s: string): string;                                         ECO_str
  1739.  
  1740.    ^Bfunction  __up(s: string): string;^N
  1741.  
  1742.    Uppercase string.
  1743.  
  1744. !short  __uprem(s: string): string;                                      ECO_str
  1745.  
  1746.    ^Bfunction  __uprem(s: string): string;^N
  1747.  
  1748.    Uppercase string, and remove all white.
  1749.  
  1750. !short  Copystoa(s: anystr; var a; length_a: integer);                   ECO_str
  1751.  
  1752.    ^Bprocedure copystoa(s: anystr; var a; length_a: integer);^N
  1753.  
  1754.    Copies string into charcterarray.
  1755.  
  1756. !short  Copys2ar(s: anystr; var a; length_a: integer);                   ECO_str
  1757.  
  1758.    ^Bprocedure copys2ar(s: anystr; var a; length_a: integer);^N
  1759.  
  1760.    Copies string into charcterarray.
  1761.  
  1762. !short  Read_ctrls(s: anystr): anystr;                                   ECO_str
  1763.  
  1764.    ^Bfunction  read_ctrls(s: anystr): anystr;^N
  1765.  
  1766.  
  1767. !short  Write_ctrls(s: anystr): anystr;                                  ECO_str
  1768.  
  1769.    ^Bfunction  write_ctrls(s: anystr): anystr;^N
  1770.  
  1771.  
  1772. !short  Asciiz_to_str(a: asciiz): string;                                ECO_str
  1773.  
  1774.    ^Bfunction  asciiz_to_str(a: asciiz): string;^N
  1775.  
  1776.  
  1777. !short  Str_to_asciiz(s: string; var a: asciiz);                         ECO_str
  1778.  
  1779.    ^Bprocedure str_to_asciiz(s: string; var a: asciiz);^N
  1780.  
  1781.  
  1782.  
  1783. !short  Switch(): integer;                                               ECO_swch
  1784.  
  1785.    ^Bfunction  switch(drive: integer; mem: integer; command: string): integer;^N
  1786.  
  1787.  
  1788.  
  1789. !short  Starttimer (whichclock: byte);                                   ECO_time
  1790.  
  1791.    ^Bprocedure starttimer (whichclock: byte);^N
  1792.    starts the internal clock.  resets the clock if it was previously set.
  1793.  
  1794.  
  1795. !short  Getlaptime (whichclock: byte): string;                           ECO_time
  1796.  
  1797.    ^Bfunction  getlaptime (whichclock: byte): string;^N
  1798.    returns a string showing the elapsed time.  the returned string is...
  1799.    "xx: xx: xx.xx".  the clock continues to run.
  1800.  
  1801.  
  1802. !short  Restarttimer (whichclock: byte);                                 ECO_time
  1803.  
  1804.    ^Bprocedure restarttimer (whichclock: byte);^N
  1805.    restarts the clock if the stoptimer procedure stopped the clock.
  1806.    it does nothing if the clock is still running.
  1807.  
  1808.  
  1809. !short  Stoptimer (whichclock: byte): string;                            ECO_time
  1810.  
  1811.    ^Bfunction  stoptimer (whichclock: byte): string;^N
  1812.    stops the timer without clearing the elapsed time.
  1813.    returned string will be one of the following...
  1814.    "xx: xx: xx.xx", or "Can't stop clock #0!".
  1815.  
  1816.  
  1817.  
  1818. !short  __palget(var origpal: paltype);                                  ECO_vga
  1819.  
  1820.    ^Bprocedure __palget(var origpal: paltype);^N
  1821.  
  1822.  
  1823. !short  __palfade(origpal: paltype; fadeout: boolean);                   ECO_vga
  1824.  
  1825.    ^Bprocedure __palfade(origpal: paltype; fadeout: boolean);^N
  1826.  
  1827.  
  1828. !short  __palblack(origpal: paltype);                                    ECO_vga
  1829.  
  1830.    ^Bprocedure __palblack(origpal: paltype);^N
  1831.  
  1832.  
  1833. !short  __palput(origpal: paltype);                                      ECO_vga
  1834.  
  1835.    ^Bprocedure __palput(origpal: paltype);^N
  1836.  
  1837.  
  1838.  
  1839. !short  __attrib(x1, y1, x2, y2, f, b: byte);                            ECO_vid
  1840.  
  1841.    ^Bprocedure __attrib(x1, y1, x2, y2, f, b: byte);^N
  1842.  
  1843.  
  1844. !short  __bandwin(del: boolean; x1, y1, x2, y2, f, b, bt: byte);         ECO_vid
  1845.  
  1846.    ^Bprocedure __bandwin(del: boolean; x1, y1, x2, y2, f, b, bt: byte);^N
  1847.  
  1848.  
  1849. !short  __barchoice(x, x1, y, f, b, h: byte; st: string): byte;          ECO_vid
  1850.  
  1851.    ^Bfunction  __barchoice(x, x1, y, f, b, h: byte; st: string): byte;^N
  1852.  
  1853.    ^RUsage:^N
  1854.    __barchoise(10, 30, 12, lightblue, black, lightred,
  1855.      ' Keep_option    Kill_it!     Next '
  1856.    );
  1857.    ^RWhere^N you can press <SPACE>, <LEFT?, <RIGHT>, <ESC>, <ENTER> or one of the
  1858.    uppercasedm, direct, letterkeys.
  1859.    ^RReturns^N
  1860.      0 = Esc
  1861.      1 = Item 1
  1862.      .
  1863.      .
  1864.      N = Item N
  1865.  
  1866. !short  __betwscn(x1, x2, y, f, b: byte; st: string);                    ECO_vid
  1867.  
  1868.    ^Bprocedure __betwscn(x1, x2, y, f, b: byte; st: string);^N
  1869.  
  1870.  
  1871. !short  __clrscn(x1, y1, x2, y2, f, b: byte; c: char);                   ECO_vid
  1872.  
  1873.    ^Bprocedure __clrscn(x1, y1, x2, y2, f, b: byte; c: char);^N
  1874.  
  1875.  
  1876. !short  __cls;                                                           ECO_vid
  1877.  
  1878.    ^Bprocedure __cls;^N
  1879.  
  1880.  
  1881. !short  __copyfil(): byte;                                               ECO_vid
  1882.  
  1883.    ^Bfunction  __copyfil(^N
  1884.    ^B  x1, x2, y, f, b: byte; fs: longint; src, targ: string^N
  1885.    ^B): byte;^N
  1886.  
  1887.    Copies a file, with attractive progression bar.
  1888.  
  1889. !short  __copyscn(x1, y1, x2, y2, x, y: byte);                           ECO_vid
  1890.  
  1891.    ^Bprocedure __copyscn(x1, y1, x2, y2, x, y: byte);^N
  1892.  
  1893.  
  1894. !short  __ECO_message;                                                   ECO_vid
  1895.  
  1896.    ^Bprocedure __ECO_message;^N
  1897.  
  1898.  
  1899. !short  __hbetwscn(x1, x2, y, f, b, h: byte; st: string);                ECO_vid
  1900.  
  1901.    ^Bprocedure __hbetwscn(x1, x2, y, f, b, h: byte; st: string);^N
  1902.  
  1903.    Like __quikscn;
  1904.    ^RUsage:^N
  1905.      __hbetwscn(1, 80, _currows div 2, 7, 0, 12, 'Choise: ~F1~: nothing');
  1906.      All is colour 7 (lightgray), F1 is lightred.
  1907.  
  1908. !short  __hquikscn(x, y, f, b, h: byte; st: string);                     ECO_vid
  1909.  
  1910.    ^Bprocedure __hquikscn(x, y, f, b, h: byte; st: string);^N
  1911.  
  1912.  
  1913. !short  __nocrt;                                                         ECO_vid
  1914.  
  1915.    ^Bprocedure __nocrt;^N
  1916.  
  1917.  
  1918. !short  __panelwin();                                                    ECO_vid
  1919.  
  1920.    ^Bprocedure __panelwin(del: boolean; x1, y1, x2, y2, f, b, bt: byte);^N
  1921.  
  1922.    Like bandwin;
  1923.  
  1924. !short  __partscn();                                                     ECO_vid
  1925.  
  1926.    ^Bprocedure __partscn(sc: pointer; x1, y1, x2, y2: byte; toscreen: boolean);^N
  1927.  
  1928.    Restore part of screen;
  1929.  
  1930. !short  __ptd_message;                                                   ECO_vid
  1931.  
  1932.    ^Bprocedure __ptd_message;^N
  1933.  
  1934.  
  1935. !short  __qvertscn(x1, y1, f, b: byte;  st: string);                     ECO_vid
  1936.  
  1937.    ^Bprocedure __qvertscn(x1, y1, f, b: byte;  st: string);^N
  1938.  
  1939.  
  1940. !short  __repscn(f, b: byte; st: string);                                ECO_vid
  1941.  
  1942.    ^Bprocedure __repscn(f, b: byte; st: string);^N
  1943.  
  1944.  
  1945. !short  __resscn(sc: _scnimageptr);                                      ECO_vid
  1946.  
  1947.    ^Bprocedure __resscn(sc: _scnimageptr);^N
  1948.  
  1949.  
  1950. !short  __savscn(sc: _scnimageptr);                                      ECO_vid
  1951.  
  1952.    ^Bprocedure __savscn(sc: _scnimageptr);^N
  1953.  
  1954.  
  1955. !short  __setblwin(blink: boolean);                                      ECO_vid
  1956.  
  1957.    ^Bprocedure __setblwin(blink: boolean);^N
  1958.  
  1959.    Set bit for blinking off or on.
  1960.    Works on Hercules, EGA or VGA.
  1961.    __BlinkScn works only on ?GA adapters.
  1962.  
  1963.  
  1964. !short  Zmodem_receive();                                                ECO_zmod
  1965.  
  1966.    ^Bfunction  zmodem_receive(^N
  1967.    ^B  path: string; comport: word; baudrate: longint^N
  1968.    ^B): boolean;^N
  1969.  
  1970.  
  1971. !short  Zmodem_send();                                                   ECO_zmod
  1972.  
  1973.    ^Bfunction  zmodem_send(^N
  1974.    ^B  pathname: string; lastfile: boolean; comport: word; baudrate: longint^N
  1975.    ^B): boolean;^N
  1976.  
  1977.  
  1978.