Código fuente del séptimo CD de Hot Shareware (2 de 2)

Source code from the seventh Hot Shareware CD (2 of 2)

🌐 Read this in English

💿 Hot Shareware 07 · Abril 1996 · Pro: Lenguaje C · 20 ZIP

En 1995 se aprendía a programar leyendo el código de otros: C, ensamblador, Turbo Pascal, Delphi 1 y Clipper que circulaban por las BBS, del CD 07 de Hot Shareware (abril de 1996). De cada ZIP mostramos la ficha de Hobby Press y las primeras líneas de su archivo principal.

Todas las hojas: 1 · 2

Nexus Third Party Development Kit Rev

NXDEV099.ZIP → NEXUS.INC

Nexus Third Party Development Kit Rev 0.99. Kit de desarrollo para Nexus. Incluye información sobre el formato de los ficheros. Incluye las estructuras de Turbo Pascal.

{────────────────────────────────────────────────────────────────────────────}
{ ▒▒▒▒▄ ▒▒▒▒▄   ▒▒▒▒▄     Intuitive Vision Software                          }
{ ▒▒▒▒█ ▒▒▒▒█  ▒▒▒▒█      P.O. Box 257773                                    }
{  ▀▀▀▀ ▒▒▒▒█ ▒▒▒▒█       Chicago, IL 60625-7773                             }
{ ▒▒▒▒▄ ▒▒▒▒█▒▒▒▒█        (312) 583-2480                                     }
{ ▒▒▒▒█ ▒▒▒▒▒▒▒▒█                                                            }
{ ▒▒▒▒█ ▒▒▒▒▒▒▒█                                                             }
{ ▒▒▒▒█ ▒▒▒▒▒█▀           "Today's Leader in Sensible Software Solutions"    }
{  ▀▀▀▀  ▀▀▀▀▀                                                               }
{ S O F T W A R E (tm)                                                       }
{                                                                            }
{ Nexus (tm) - Next Epoch matriX User System (tm)                            }
{                                                                            }
{ Data Structures (Turbo Pascal (tm) Format)                                 }

OK4DOS

OK4DOS.ZIP → OK4DOS.C

OK4DOS. Programa que chequea programas compilados con Maximus v3.0 para dar conformidad de que pueden ejecutarse con la versión de Maximus v3.0 para DOS.

/*********************************************************************/
/*                                                                   */
/* Check a compiled Maximus 3.0 MEX program to see if it will run in */
/* DOS.                                                              */
/*                                                                   */
/* This program simply opens up the .VM file and checkes if the word */
/*   at offset x'14' is less than x'0b9b'.                           */
/* If so it prints an "OK" message and exits with errorlevel 0       */
/* Otherwise it prints a message telling how much too big it is and  */
/*   exits with errorlevel 1.                                        */
/* If any problems are encountered a error message is printed and    */
/*   we exit with error level 2.                                     */
/*                                                                   */
/*********************************************************************/

Programa en C que genera números aleatorios

PRIME10A.ZIP → PRIMEOS2.C

Programa en C que genera números aleatorios. Para DOS, OS/2 y Macintosh.

/*
        PRIME is (C)opyright 1995 by Paul Damer and Jawed Karim
        You may distribute the source freely only if it remains
        unchanged. You may also recompile it for whatever
        platform, and give yourself credit by letting it display
        your name upon startup of PRIME. Leave the authors display
        lines unchanged however.
        Jawed Karim <kari0022@gold.tc.umn.edu>
*/
#define INCL_VIO
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <os2.h>

PTRTUTR01

PTRTUT01.ZIP → PTRTUT01.TXT

PTRTUTR01.ZIP, Ted Jensen. Tutorial sobre punteros y arrays en C.

PTRTUT01.TXT   12/3/95
           A TUTORIAL ON POINTERS AND ARRAYS IN C
                     by Ted Jensen
                      Version 0.1
      This material is hereby placed in the public domain.
                    TABLE OF CONTENTS
        Preface
        Introduction
        Chapter 1:  What is a Pointer?
        Chapter 2:  Pointer Types and Arrays.
        Chapter 3:  Pointers and Strings
        Chapter 4:  More on Strings
        Chapter 5:  Pointers and Structures
        Chapter 6:  More on Strings and Arrays of Strings

RT_AZ

RT_AZ.ZIP → COMPO.PAS

Intro ganadora del segundo puesto en la competición de programación de intros en tiempo real, realizada por Andrew Zabolotny, en Enlight 95.

{$A-,B-,D+,E+,F-,G+,I-,L+,N-,O-,P-,Q-,R-,S-,T-,V-,X+}
{$M 16384,0,655360}
const
    ON          = true;
    OFF         = false;
type
    pArrOfByte  = ^tArrOfByte;
    tArrOfByte  = array[0..65000] of Byte;
    tVGApalette = array[0..256*3-1] of Byte;
    tCEL        = record
                   Picture : pArrOfByte;
                   Palette : pArrOfByte;
                  end;
var CEL         : tCEL;

RT_MMAX

RT_MMAX.ZIP → SHOWCEL.PAS

Intro ganadora del primer puesto de la competición de programación de intros en tiempo real, realizada por Mad Max. Presentada en Enlight 95.

{ Real-Time Coders Compo }
{ Mad Max / Queue Members Group }
Uses Dos, CRT;
type
  TRGBPalette = array[0..255] of record R,G,B: Byte; end;
const
  Cell = 10;
var
  Timer : LongInt absolute $40:$6C;
procedure TDelay( Ticks: Integer );
var
  Time:         LongInt;
begin
    Time := Timer+Ticks;

SoftKey

SOFTKEY.ZIP → README.TXT

SoftKey v1.0, Roberto Peláez Fernández. Utilidad compuesta por un teclado alfanumérico y un teclado numérico. Permiten introducir texto o números sin utilizar el teclado, sólo con el ratón. Es un editor de propiedades que se utiliza en el Inspector de Objetos del entorno de programación de Delphi. Lo que hace es ampliar la forma de editar las propiedades, conservando todas las características anteriores. En castellano.

            SoftKey 1.0
    ¿ Que es SoftKey ?.
    Archivos que componen SoftKey.
    ¿ Instalar SoftKey ?.
    Para registrarse.
    Garantia.
    ==================================================
    ==================================================
    ¿ Que es SoftKey ?.
    ===================
    Es una utilidad compuesta por un teclado alfanumerico
y un teclado numerico. Permiten introducir texto o numeros sin
utilizar el teclado, solo con el raton.
    Es un editor de propiedades que se utiliza en el Inspector

STARSDOS

STARSDOS.ZIP → STARS.PAS

Programa escrito en Turbo Pascal que dibuja estrellas en la pantalla hasta la pulsación de una tecla. Incluye código fuente.

uses graph,crt;
type
    stepup = ^location;
    location =
    record
          x, y  : integer;
          color : word;
          next  : stepup;
    end;
var
   grdriver, grmode : integer;
   number, counter  : longint;
   stars, temp      : stepup;
   tmp1, tmp2, tmp3 : byte;

Unreadable

TC_UNR.ZIP → TC.NFO

Unreadable, The Coexistence. Intro de 64Kb presentada en The Party 95.

─═════════════════════════════════════════════════════════════════════════════─
                                          ▄
                            ▀▀████▀▀ ▓███ █ ▓███▀█
                              ███░   ▒███▀█ ▒███▄
                              ███▒   ████ █ ████▄▄
                           ▄                                                 TM
▓███▀█ ▓███▀█ ▓███▀█ ▓███ ██  ▀▀▀  ▓██▀█  ▀▀████▀▀ ▓███▀█ ▓███▀█ ▓███▀█ ▓███▀█
▒███   ▒███ █ ▒███▄   █████  ███░  ▒██▄▄    ███░   ▒███▄  ▒███ █ ▒███   ▒███▄
████▄█ ████▄█ ████▄▄ ████ ██ ███▒  ▄▄███    ███▒   ████▄▄ ████ █ ████▄█ ████▄▄
─═════════════════════════════════════════════════════════════════════════════─
                         iNFORMATiON TEXTFiLE VERSiON 06
───────────────────────────────────────────────────────────────────────────────
 ┌───────────────────────────────────────────────────────────────────────────┐
 │░░░▒▒▒▓▓▓                     Table Of Contents                   ▓▓▓▒▒▒░░░│

Editor de listados de BBS para Telegard

TGBBSED1.ZIP → TGBBSED.PAS

Editor de listados de BBS para Telegard v3.0.

{Telegard 3.0 BBS List Freeware Editor}
{This program canot be used or modified for profit}
Program TGBBSED;
USES DOS,CRT;
TYPE {Taken from Telegard developement package}
  unixtime  = longint;
  bbslistrec=           { *.BBS : BBS Listings }
  record
     phone          : string[20];             { BBS Phone Number }
     name,                                    { BBS Name }
     sysop          : string[30];             { BBS SysOp Name }
     description    : string[30];             { Other Description }
     speed          : string[4];              { Speed }
     software       : string[8];              { Software }

TREE

TREE.ZIP → TREE.PRG

Programa Clipper para mostrar un árbol de directorios con recursión.

*:*****************************************************************************
*:
*: Procedure file: J:\TREE\TREE.PRG
*:
*:         System: Directory Recursion with Graphical Tree
*:         Author: Phil Barnett
*:      Copyright (c) 1994, Public Domain
*:  Last modified: 09/14/94      9:33
*:
*:  Procs & Fncts: TREE()
*:               : DIR_RECURS
*:               : Branch()
*:               : SHOW1
*:               : SHOW2

Módulos de 32-bit para aplicaciones Visual Basic

VB40032.ZIP

Módulos de 32-bit para aplicaciones Visual Basic.

VBU18

VBU18.ZIP → VBASIC.LST

Listado en formato texto de todos los programas de Dominio Público y Shareware en Visual Basic, por tipo. Incluye la fecha de realización y descripción.

    Page No.     1
    11/01/95
                         PD/Shareware Products in Library
    Release Date    Product Description
    ** Type Business
    05/29/91        Questionnaire for employees to evaluate fellow workers in
                    several personality areas. Choices are made from pick
                    lists. (This is one of the earliest Visual Basic
                    programs. Author Steve Gibson wrote about this program in
                    Infoworld before VB was released.)
    11/12/91        Time usage tracker and billing program for professionals.
                    Good layout and design.
    11/20/91        A quick way to keep track of auto maintenance.  Includes
                    a "Next Service Due" option based on a user entered

VTREE

VTREE.ZIP → VTREE.PRG

Otro programa Clipper que permite construir un árbol de directorios con recursión.

PROCEDURE Demo()
LOCAL a1 := GetTree( "C", { |c| Qout( c ) } )
LOCAL a2
 ? "Ready"
 INKEY(0)
 a2 := BuildTree( a1 )
 aEVAL( a2, { |e| Qout( PADR( e[1],30 )+PADR(e[2],49) ) } )
RETURN
*===========================================================================*
* Auther     : Mathieu De Smet
* CIS        : 100140,1375
* Date       : 17 Aug 1994
* Function   : GetTree
* Parameters : cDrive  char       drivename, will read the tree from the drive

Surprise Coding Competition

W95SPCOD.ZIP → CROSSING.TXT

Surprise Coding Competition. Código fuente assembler y ejecutables en formato COM presentados y/o realizados durante Wired 95.

──────────────────────────────────────────────────────────────────────────────
        ▄█▓▓▒░▄   ▀██▓▒░▀█░▒▓▀  ▄█▓▓▒░░▒▓▀ ▄█▓▒░▀█  ▀██▓   ░▒▓▀ ▄▓█▀█▓▄
     ▄▄█▓▒▒▒░▒░█▄▄ ▐▓▒░▌ ▐▒▀ ▄▄▀▀▓▒▒░▒▒▀  ██▓▒░▄▄▄▄  ▐▓▒▌ ▐▒▓▌ ▐▓▒▌ ▐▒▓▌
     ▀    ▒░░▌   ▀  ▒░▒▌▄▄        ▒░▒▌   ▄▄▄▄▄ ▐░░▒▌ ▐▒░▌ ▐░▒▌ ▐▒░▌ ▐░▒▌
          ░▒▒▌      ░▒░▌          ░▒▒▌   █████ ▐░▒▓▌ ▐░▒▌ ▐▒░▌ ▐░▒▌ ▐▒░▌
          ▒▒▓▌      ▒░▒▌ ▄        ▒▒▓▌   █████▌▐▒▓█▌ ▐▒░▌ ▐░▒▌ ▐▒░▌ ▐░▒▌
         ▐▒▓█░     ▐░▒▓▌ ▐█▄     ▐▒▓█░   ▐████▌▐▓██▀ ▐░▒▌ ▐▒░▌ ▐░▒▌ ▐▒░▌
        ▄▒▓██▒░▄  ▄░▒▓██▄████   ▄▒▓██▒░▄  ▀██████▀    ▀▒█▄█▒▀   ▀▓█▄█▓▀
┌───────────────────────────────────────────────────────────────────────────┐
│    ∙─═■[ +32-(0)2-772 52 29    24/24    SYSoP : PoM / Co'S : NiC ]■═─∙    ·
│                           Pc - Falcon - MaNGa
│
│                ─═■  W·O·R·L·D   H·E·A·D·Q·U·A·R·T·E·R·S  ■═─
│       [ TRB / FuNViSioN / TFL-TDV / MeNaCe II SoCieTY / iSCH CReW PC ]

Windows Tech Journal

WTJ038.ZIP → WWLABEL.CPP

Windows Tech Journal. Conjunto de códigos fuente de Delphi publicados en esta revista.

// wwlabel.cpp : implementation file
//
//| Who Rel  Date     | Comment
//|-------------------|---------------------------------
//| bf  1.02 95/02/03 | Implement m_clrText handling
//| bf  1.02 95/01/29 | OnPaint: Don't use InflateRect for AutoSize border
//| bf  1.02 95/01/22 | OnSetText: InvalidateRect(NULL)
//|-------------------|---------------------------------
#include "stdafx.h"
#include "wwlblw.h"
#include "wwlabel.h"
#include "wwlcons.h"
#ifdef _DEBUG
#undef THIS_FILE

Windows Tech Journal

WTJ040.ZIP → LABELCTL.CPP

Windows Tech Journal. Conjunto de códigos fuente en Borland C++ publicados en esta revista.

// labelctl.cpp : Implementation of the CwwLabelCtrl OLE control class.
#include "stdafx.h"
#include "wwlblo16.h"
#include "labelctl.h"
#include "labelppg.h"
#include "wwlcons.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CwwLabelCtrl, CwwOleControl)
/////////////////////////////////////////////////////////////////////////////
// Message map
//#define COleControl CwwOleControl

Windows Tech Journal

WTJ044.ZIP → RESWIZ.C

Windows Tech Journal. Conjunto de código fuente para Borland C++ publicados en esta revista.

//    This code was created as an example of how to build a Wiazrd by
//  Forrest Houlette for the Windows Tech Journal.  It is provided as
//  is without warranty as to the fitness of the code.
//
//    PROGRAM:    ResWiz.c
//
//    PURPOSE:    Demonstrates how to build a Wizard
//
//    PLATFORMS:    Windows 95
//
//    FUNCTIONS:
//        WinMain() - calls initialization function, sets up message loop
//        InitApplication() - Initializes and registers the window
//        InitInstance() -saves the instance handle and creates the main window

XDIR

XDIR.ZIP → XDIR__.PRG

Completo programa para generar directorios de ficheros complejos. En Clipper.

//********************************************************************************
// XDIR.PRG
//     A: Support for NDX's
//     B: Changed the time to the 12 hour clock,
//     C: Allowed path names
//     D: Print to a file or the printer (ie: print to PRN)
//     E: Ability to sort by Name /ON
//                        by Date /OD
//                        by File Size /OS
//     F: Print pathway and files specification selected
//     G: Print total space left on the drive selected
//     H: Checks for color board and if so writes yellow on blue
// PKLITE will reduce this program to 132K and it will run fine
// Compile: Clipper XDIR /n/m/w

Zen Timer

ZTIMER22.ZIP → INSTALL.ME

Zen Timer v2.2. Librería que ofrece una alta precisión en la temporización, para programas en modo real a 16-bit, en modo protegido a 16 y 32-bit. Soporta Borland C, Watcom C, Visual C, Symantec C, Metaware C y DJGPP.

        SciTech Software Distribution - Standard Directory Structure
        ------------------------------------------------------------
This file describes the general directory structure of the SciTech Software
programming libraries that you have installed. This directory structure
is common to all SciTech Software products.
Where to get the latest releases
--------------------------------
The latest releases of all SciTech Software products are always uploaded to
the Simtel-20 MSDOS internet archives (oak.oakland.edu) and to various
areas on CompuServe and America Online. However to obtain the obsolute
latest release of all SciTech Software products, you can ftp them from
our home site:
    ftp.scitechsoft.com (152.160.1.26)
If you wish to contact SciTech Software for feedback or bug reports on

Los programas son de sus autores: aquí solo los reseñamos. Si tienes el CD, el archivo está en la ruta indicada; el CRC32 sirve para comprobar que tu copia está entera.

💿 Todo el CD 07

¿Tenías este CD o la revista? Cuéntanos en el grupo de Telegram: Grupo de Telegram

¿Te gustó? Síguenos en las redes

Cada semana publicamos cosas nuevas: no te las pierdas.

YouTubeFacebookXInstagramTelegram