Código fuente del quinto CD de Hot Shareware (1 de 2)

Source code from the fifth Hot Shareware CD (1 of 2)

🌐 Read this in English

💿 Hot Shareware 05 · Febrero 1996 · DOS: Documentos · 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 05 de Hot Shareware (febrero 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

Código fuente para comprobación de tipo de CPU

386LOAD.ZIP → 386LOAD.ASM

Código fuente para comprobación de tipo de CPU, etc.

        Page    60,132
;---------------------------------------------------------------
;                          BEGIN LISTING 2
;---------------------------------------------------------------
;
; 386LOAD.ASM   Copyright (c) 1991, 1995  Robert Collins
;
;       You have my permission to copy and distribute this software for
;       non-commercial purposes.  Any commercial use of this software or
;       source code is allowed, so long as the appropriate copyright
;       attributions (to me) are intact, *AND* my email address is properly
;       displayed.
;
;       Basically, give me credit, where credit is due, and show my email

Area Change PEX

AREACHG.ZIP → AREACHG.C

Area Change PEX v1.0, Arthur Stark. Módulo EX que permite ir de un área a otra de ficheros. Incluye código fuente en Turbo C.

#include "pb_sdk.h"
#define notice "\r\n\n\07Area Change PEX 1.00 (c)1995 Arthur Stark\r\n"
#define NONE 0
#define UP 1
#define DOWN 1
void main(int argc, char *argv[])
  {
   char s[80], arg, status=NONE;
   for(arg=1; arg<argc; arg++)
     {
      switch(argv[arg][0])
        {
         case '1' : /*  File Area Up  */
                    if(status) MenuFunction(status, s);

Magic Assembler

ASM106.ZIP → DIARY.ASM

Magic Assembler v1.06, Bert Greevenbosch. Simple macroensamblador 8086. Puede producir tanto ficheros COM como programas de sector de arranque e imprimir el código fuente incluyendo las direcciones correctas.

; +---------------------------------------------------+ ;
; | Sample program DIARY for use with Magic Assembler | ;
; +---------------------------------------------------+ ;
        mov     ah,09
        mov     dx,offset(headtxt)
        int     21
        cmp     byte [0081],0d
        jne     @1
        mov     dx,offset(syntax)
        jmp     error
@1      cmp     byte [0082],'A'
        je      @2
        cmp     byte [0082],'a'
        je      @2

ASMLIB

ASMLB403.ZIP → GRAPHICS.DOC

ASMLIB v4.03. Librería 16-bit para programación en Assembler. Incluye rutinas para gráficos intensivos con tarjetas Hercules, Hercules+, CGA, MCGA, EGA, VGA, SuperVGA, SuperVGA VESA, etc. Operaciones de entrada y salida a disco super-rápidas. Funciones de teclado, acceso a memoria EMS/XMS, información del sistema, menús, ventanas, etc.

****************************** GRAPHICS *************************************
ASMLIB Graphics (C) Copyright 1991 - 1995 Douglas Herr
All rights reserved
ASMLIB recognizes and automatically supports several graphics modes,
including several which are not recognized by IBM's BIOS.  All ASMLIB
graphics subroutines write directly to the video hardware.
IMPORTANT: ALL ASMLIB GRAPHICS SUBROUTINES ASSUME DS:@DATA.
Locations on Graphics screens are defined by coordinate pairs such as (x,y).
X-coordinates are the horizontal dimensions of the screen, and Y-coordinates
are the vertical coordinates.  X = 0 is the at the left edge of the screen,
and X = 719 is the right edge of a Hercules screen, while Y = 0 is the top
edge of the screen and Y = 347 is the bottom (Hercules).  Thus, the
coordinate specified by (719,0) is the extreme upper right corner of a
Hercules screen.

ASP Membership List

ASPDAT5B.ZIP

ASP Membership List . Listado de los miembros de la ASP en formato dBase III+.

Colección de 43 pequeños juegos hechos en Basic

BASIC43.ZIP → FILE.BAS

Colección de 43 pequeños juegos hechos en Basic.

10 PRINT "HELLO WHAT MIGHT YOUR NAME BE?"
20 INPUT A$
30 IF A$ = "DAVE" THEN GOTO 50
40 IF A$ <> " DAVE" THEN GOTO 10
50 PRINT "OKAY YOU GOT THAT PART, NOW TRY THIS"
60 PRINT "YOU HAVE TO ENTER A 5 DIGIT CODE ONE NUMBER AT A TIME(MAYBE)"
70 PRINT "WHAT IS THE FIRST NUMBER?"
80 INPUT B
90 IF B = 1 THEN GOTO 110
100 IF B <> 1 THEN GOTO 10
110 PRINT "YOU GOT THE FIRST NUMBER"
120 PRINT "NOW TRY THIS ONE"
130 PRINT "WHAT ARE THE SECOND AND THIRD NUMBERS?"
140 INPUT C

Utilidad para eliminar entradas en el fichero BBSLIST

BBSDEL10.ZIP → BBSDEL10.DOC

Utilidad para eliminar entradas en el fichero BBSLIST. Para TeleGard v3.0. Incluye el código fuente en Pascal.

               For those  SysOps out  there who just  need  to be
               able to delete a bbslist entry, This ones for you!
               -----------------------------------------------------
               UTILITY   :  BBSDEL version 1.0
               USAGE     :  BBSDEL <Phone Number>
                            or BBSDEL
               Written by:  Thomas Moore
               Fido addr :  1:3814/8
               Status    :  Freeware of course!
               -----------------------------------------------------
               First off, legalities.  You may only use this program
               as long as it is used ** AT YOUR OWN RISK **.    This
               program  does the job  for me,   and I  have  had  no
               problems with it, but I can not garrantee that you it

Utilidad que formatea discos

BDISK.ZIP → BDISK.PAS

Utilidad que formatea discos. Código fuente en Pascal.

{$R-,S-,I-,B-,F-}
{$IFNDEF Windows}
  {$O+}
{$ENDIF}
{---------------------------------------------------------
 BIOS disk I/O routines for floppy drives. Supports DOS
 real mode, DOS protected mode, and Windows. Requires
 TP6, TPW, or BP7.
 All functions are for floppy disks only; no hard drives.
 See the individual types and functions in the interface of
 this unit for more information. See the FMT.PAS sample
 program for an example of formatting disks.
 For status code definitions, see the implementation of
 function GetStatusStr.

Tbmscroll

BMSCROLL.ZIP → BMSCROLL.PAS

Tbmscroll. Componente VCL que permite realizar un scroll de bitmaps con sonido opcional.

{$A+,B-,D+,F-,G+,I+,K+,L+,N+,P+,Q-,R-,S-,T-,V+,W-,X+,Y+}
{$M 16384,8192}
{*****************************************************************************}
{                                                                             }
{ TBMScroll - a VCL component that is provides a scrolling bitmap with        }
{   optional looping sound - perfect for your products About Box.             }
{   The cool thing is that you can preview the scrolling bitmap at design     }
{   time!                                                                     }
{                                                                             }
{   This component is TRAVELWARE. Should you find it useful, please send      }
{   me enough of your local currency to buy a drink or two in your country    }
{   (but no coins please). When I get enough cash, I plan to embark on a      }
{   world tour. Don't worry about sending cash in the mail, just fold it into }
{   a sheet of paper so that you can't see that the money through the         }

Base de datos con nombres

CLAV18.ZIP

Base de datos con nombres, direcciones, teléfonos, etc., de los autores de los productos más populares Public Domain y Shareware sobre Clarion.

Console

CONSL10.ZIP → CONSOLE.C

Console v1.0. Librería de salida por consola estándar, compatible con la mayoría de compiladores C. Requiere la librería SciTech PM/Pro. Ideal para Borland, Watcom, Microsoft, etc.

/****************************************************************************
*
*                           Console Output Library
*
*                   Copyright (C) 1995 SciTech Software
*                            All rights reserved.
*
* Filename:        $RCSfile: console.c $
* Version:        $Revision: 1.1 $
*
* Language:        ANSI C
* Environment:    IBM PC 16/32 bit code
*
* Description:    Main module for console manipulation module. This is a

Csplit

CSPLIT21.ZIP → CSPLIT.C

Csplit. Utilidad para enviar código a través de correo. Incluye código fuente y ejecutable.

/*
 * System name:  CSplit.c
 *
 * Description:  This program is used to process source files for
 *               the purpose of transmission through a FidoNet (tm)
 *               echo in such a manner as to circumvent over-size
 *               message problems.
 *
 *  This program implements the following specifications:
 *
 *  1) a. Combine multiple source files.
 *     b. Split source into 90 line sections.
 *     c. Add header and trailer marker lines delimiting each
 *        section and file.

Base de datos con nombres

CV18.ZIP

Base de datos con nombres, direcciones, teléfonos, etc, de todos los autores de productos comerciales, Public Domain y Shareware para C/C++.

D51

D51V21.ZIP → D51.DOC

D51 v2.1, Jeffery L. Post. Desensamblador para 8051/8052.

                        D51 Version 2 USER'S MANUAL
                          8051/8052 Disassembler
                             Jeffery L. Post
                    22726 Benner Ave, Torrance, CA 90505
                              October, 1995
             MSDOS is a trademark of Microsoft Corporation
             PCDOS is a trademark of International Business Machines
            TABLE OF CONTENTS
Introduction .................................................. page 1
Quick start ................................................... page 3
Command line options .......................................... page 4
    A option .................................................. page 4
    B option .................................................. page 5
    D option .................................................. page 5

Conjunto de varias rutinas para C / ASM

DESCRIPT.ZIP → DESCRIPT.ASM

Conjunto de varias rutinas para C / ASM.

        Page    60,132
        Title   Descriptor Cache Anomalies
;-----------------------------------------------------------------------------
;
; DESCRIPT.ASM  Copyright (c) 1991, 1995  Robert Collins
;
;       You have my permission to copy and distribute this software for
;       non-commercial purposes.  Any commercial use of this software or
;       source code is allowed, so long as the appropriate copyright
;       attributions (to me) are intact, *AND* my email address is properly
;       displayed.
;
;       Basically, give me credit, where credit is due, and show my email
;       address.

DLL101

DLL101.ZIP → ABOUTBOX.PAS

Ejemplo de creación y utilización de una librería DLL con Borland Delphi.

unit Aboutbox;
interface
uses
  SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  Forms, Dialogs;
type
  TForm1 = class(TForm)
  private
    { Private declarations }
  public
    { Public declarations }
  end;
var
  Form1: TForm1;

Drug Database

DRUGBASE.ZIP

Drug Database. Base de datos en formato ASCII y dBase IV, que contiene una lista de entre 4 y 5.000 drogas indicando la potencialidad y la forma de dosificación de cada una.

DT102

DT102.ZIP

DT102.EXE, Joe Negron. Rutinas de la fecha y hora para MS Basic v1.02210.

Base de datos con

EM_9511.ZIP → EM.DOC

Base de datos con 3.656 direcciones EMail y Web de creadores de hard y soft para PC.

                        PC Product Database
                      Company EMail Addresses
                       November 1995 Version
WARNING!! A lot of these EMail addresses are for individuals
working for the companies listed. Most companies have not yet
established reliable EMail addresses for corporate enquiries.
This list is a LONG way from perfect, it's just the best list
in existence. Use common courtesy in using this list. Many of
these people have to PAY to read your mail, and will be quite
unhappy to be flooded with junk mail.
The accompanying dBASE III+ compatible database file contains all
known names and EMail addresses for producers of PC
hardware, software, publications, etc.  Those who find this
database useful, and register it, will receive the complete

FileCopy

FCCOPY.ZIP → FCTEST.PAS

FileCopy v1.0.1b. Programa que permite copiar y mover ficheros, de cualquier tamaño y tipo, con programas propios en Delphi. Incluye código fuente.

(*********************************************************************)
(*********************************************************************)
(** FCTEST.PAS - Test unit for the TASP Development Delphi ***********)
(** (tnx Borland!!!) File Copy Component. ****************************)
(*********************************************************************)
(*********************************************************************)
(*                                                             *******)
(* The TASP Filecopy Component is a product of:                *******)
(*                                                             *******)
(* Daniel J. Karnes                                            *******)
(* 9942 W. Broadway Suite 209                                  *******)
(* Anaheim, CA 92804                                           *******)
(*                                                             *******)
(* Email: TASP@TASP.NET  or  TASPEngr@AOL.COM                  *******)

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 05

¿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