Ignore:
Timestamp:
Jun 3, 2000, 5:50:46 AM (25 years ago)
Author:
bird
Message:

Rewrote kRx.c in assembly!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/rexx/kRx.c

    r3518 r3650  
    1 /* $Id: kRx.c,v 1.1 2000-05-10 16:04:30 bird Exp $
     1/* $Id: kRx.c,v 1.2 2000-06-03 03:50:45 bird Exp $
    22 *
    33 * kRx - Small rexx script interpreter.
     4 *
     5 * Will be re-written in assembly later!!!
    46 *
    57 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     
    1719#define INCL_DOSERRORS
    1820
     21#undef DEBUGOUT
     22
    1923/*******************************************************************************
    2024*   Internal Functions                                                         *
     
    2529#include <stdio.h>
    2630#include <string.h>
    27 #include <malloc.h>
     31/*#include <malloc.h> */
    2832
    2933/**
     
    5155    int         argi;                   /* Argument index loop variable. */
    5256    APIRET      rc;                     /* Return code from RexxStart. */
    53 
     57    ULONG       ul;                     /* Dummy used by DosWrite. */
    5458
    5559    /*
     
    6872    if (iScriptName >= argc)
    6973    {
    70         fprintf(stderr, "Invalid parameters, script filename is missing\n");
     74        DosWrite(2, "Invalid parameters, script filename is missing.\r\n", 47, &ul);
    7175        return -10000;
    7276    }
     
    120124     * Debug display result.
    121125     */
     126    #ifdef DEBUGOUT
    122127    printf(
    123128        "Interpreter rc:    %d\n"
     
    127132        sRexxRc,
    128133        rxstrRexxRc.strptr);
    129 
     134    #endif
    130135
    131136    DosFreeMem(rxstrRexxRc.strptr);     /* Release storage from RexxStart. */
Note: See TracChangeset for help on using the changeset viewer.