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

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

🌐 Read this in English

💿 Hot Shareware 01 · Octubre 1995 · DOS: Herramientas de programación · 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 01 de Hot Shareware (octubre de 1995). De cada ZIP mostramos la ficha de Hobby Press y las primeras líneas de su archivo principal.

Todas las hojas: 1 · 2

A Introduction To x86 Assembly

ASMTUTTX.ZIP → ASMTUT.TXT

A Introduction To x86 Assembly. Introducción al lenguaje de programación Assembler, escrita por Gavin Estey. Versión 0.9 ßeta. Documento completo en formato ASCII, para quienes quiera aprender las bases del lenguaje de programación más potente y rápido.

A introduction to x86 assembly
Written by Gavin Estey                  email: gavin@senator.demon.co.uk
This document is version:
0.9 Beta 2/19/95
This will hopefully be the final version of this unless somebody finds some
mistakes in it. I have spent over 620 minutes creating this document (not
including writing or testing the code or the original text document) so I hope
you will find it useful.
This version is still in testing which means that I cannot be sure that all the code
will compile and work correctly. I have done my best to make sure that all the
information contained in this document is correct. If any mistakes are found
please could you notify me be email.
If someone who has a computer that doesnÆt have a VGA card/monitor could you
please compile the code on P29 that checks what graphics the computer can handle

BitWise

BITWISE.ZIP → BITWISE.DOC

BitWise. Unidad para Turbo Pascal v7.0 que permite comprimir datos booleanos con un factor de 8, utilizando manipulación de bits. Shareware.

BitWise, v1.0                                          BITWISE.DOC
by Shawn Bayern
==================================================================
Introduction:
     BitWise is a Turbo Pascal 7.0 unit that allows you to compress
boolean data by a factor of 8.  Turbo Pascal's "boolean" type uses
8 bits (1 byte) to store a value of either "TRUE" or "FALSE";
however, while the boolean data type is fast and relatively
efficient, only 1 bit is truly necessary to store a "boolean-like"
value.
     The procedures and functions contained in the unit BitWise
allow use you to use an array of bytes to store boolean values.
Each byte contains 8 bits, and each of these bits can store an
individual value.  While some speed is sacrificed (since the data

Builder

BLD23.ZIP

Builder v2.3 es un generador de código y una librería de funciones para el desarrollo de aplicaciones profesionales en Clipper. Incluye un generador de informes y una extensa librería de funciones. [ASP]

Creación de controles VBX Visual Basic

BPVBX.ZIP → TPMREAD.TXT

Creación de controles VBX Visual Basic, con Borland Delphi.

The Pascal Magazine|The Delphi Magazine
41 Recreation Road,
Shortlands, BROMLEY
Kent BR2 0DY
United Kingdom
Fax 081 460 0650 (UK)
    +44 81 460 0650 (International)
Finally, a magazine JUST for those of us who enjoy writing in
Pascal/Delphi. If you want real down-to-earth Pascal code then
these magazines are for you. Here's a list of the articles in
issue 4.
Converting to Protected Mode by Ray Bernard
Book Review: Borland Pascal Step-by-Step by Keith Weiskamp:
    reviewed by Bob Swart

Cómo utilizar cadenas Visual Basic desde Delphi

BSTRPAS.ZIP → NOMAD.HTM

Cómo utilizar cadenas Visual Basic desde Delphi.

From: tnomad@digital.net (The Nomad)
Subject: Re:[delphi] Calling a DLL with errors
Date: Wed, 14 Jun 1995 08:34:20 -0400
I missed this thread the first time around.  Sorry.  I am not a VB expert -
as a matter of fact, I have never used the language.  However, I recently
needed to interface to a VBX from Delphi, and experienced some mild
annoyance with how it all works.  But, the following summarizes my success:
Given: The function I am interfacing to has the following declaration:
        Declare Function SpreadColNumberToLetter Lib "Spread20.VBX"
                (ByVal cn as Long) as String
That translates to the delphi external reference shown below:
    SpreadColNumberToLetter: function(const lHeaderNumber : LongInt): TBasicString;
Ahh you say - What is TBasicString?  It is declared in the VBXCTRL unit as
follows:

Fichero “include” para POV-Ray

CARNAGE.ZIP → CARNAGE.INC

Fichero “include” para POV-Ray.

#declare Carnage_Inc_Temp=version
#version 2.0
#declare Carnage =
    union {
        triangle {<4.265432, 0.007130, -2.500000>
                  <4.700009, 0.007130, -2.500000>
                  <4.501740, 0.003023, -2.500000>}
        triangle {<4.227263, 0.009134, -2.500000>
                  <4.796721, 0.009134, -2.500000>
                  <4.700009, 0.007130, -2.500000>}
        triangle {<4.227263, 0.009134, -2.500000>
                  <4.700009, 0.007130, -2.500000>
                  <4.265432, 0.007130, -2.500000>}
        triangle {<4.050122, 0.018431, -2.500000>

The Unofficial Newsletter of Delphi Users #1

DN0315.ZIP

The Unofficial Newsletter of Delphi Users #1. Publicación electrónica dedicada a este lenguaje.

The Unofficial Newsletter of Delphi Users #2

DN0401.ZIP

The Unofficial Newsletter of Delphi Users #2. Publicación electrónica dedicada a este lenguaje.

Funciones/utilidades de disco para Delphi

DRIVEI.ZIP → DRIVES.PAS

Funciones/utilidades de disco para Delphi.

{+------------------------------------------------------------
 | Unit Drives
 |
 | Version: 2.0  Last modified: 02/27/95, 21:49:56
 | Author : P. Below  CIS [100113,1101]
 | Project: Common utilities
 | Units required (only for the Implementation section):
 |   DOS: Dos (Borland)
 |     Windows: Win31 (Borland), WinDOS (Borland), Wintypes (Borland),
 |            WinProcs (Borland), DMPI (own);
 | Description:
 |   This Unit collects routines to gather information about
 |     the disk drives on a system in both DOS and Windows. You can
 |     build a drive map with a single procedure call. In addition

DSAVER

DSAVER.ZIP → MSGDEFS.PAS

Ejemplo de código para crear un protector de pantallas con Delphi.

unit Msgdefs;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
     Buttons, IniFiles, Dialogs, Messages, ColorGrd;
type
  TMiniScrn = Class(TCustomControl)
  Protected
    procedure Paint; Override;
  end;
  TSetupMsg = class(TForm)
    Pos: TGroupBox;
    Ctr: TRadioButton;
    Rnd: TRadioButton;
    GroupBox1: TGroupBox;

FADE-TP

FADE_TP.ZIP → FADE.DOC

FADE-TP. Difuminado de pantalla en Turbo Pascal 6.0. Se puede utilizar en cualquier lugar. Incluye .PAS y TPU.

      FADE.TPU    -=-    Turbo Pascal Fading Routine    -=-    By Mike Schutz
                               September,  1994
           Hello, fellow Pascal programmers.  This is probably the smallest
       Turbo Pascal Unit in distribution, so I'm going to try to make the
       "documentation" as short as the code is.
           First of all, as in all things, I am not responsible with what
       you do with this, and I am not responsible for what happens when you
       do whatever you do with it.  In other words, it works fine on my
       computer, it should work on yours, but I make no gaurantee.
           The unit contains two interfaced procedures.  These follow:
                             PROCEDURE FadeOut;
                             PROCEDURE ResetTextMode;
           PROCEDURE FadeOut simply fades the screen to black.  Simple enough?
       Ok, I'll explain in terribly boring detail:  The palette of the screen

Fractint

FRASR191.ZIP → VIDEO.ASM

Fractint v19.1. Código fuente completo, en C y Assembler para este completísimo generador de fractales para DOS. Requiere Miscrosoft C/C++ v7.0 o superior, o bien Borland C/C++ v3.0 o superior. Se incluyen los módulos OBJ Assembler, por lo que no es necesario un ensamblador. Freeware.

;    Generic assembler routines having to do with video adapter
;
; ---- Video Routines
;
;    setvideomode()
;    setvideotext()
;    getcolor()
;    putcolor()
;    out_line()
;    drawbox()
;    home()
;    movecursor()
;    keycursor()
;    putstring()

File Defender Plus

F_DEF482.ZIP → F_DEFEND.DOC

File Defender Plus v4.82. Driver para la protección de datos a nivel de fichero, contra virus.

        File Defender anti-virus protection driver
           --------------------------------------------
                  Version 4.0
                 -------------
          Copyright (c) 1990-95 Compact Soft.
             All Rights Reserved.
About this manual
------------------
    This document is organized to give step-by-step instructions
on installation and usage of special data-protection driver, namely
the File Defender.  The driver can act as an effective virus-protection
tool, as well as general file security measure.  It does not, however,
eliminate the need for other virus-specific programs, such as scanners,
watchers and disinfectors.

Procedimientos LZW y GIF para Delphi

GIF_LZ.ZIP → WGIFASM.PAS

Procedimientos LZW y GIF para Delphi.

(************************************************************************)
(*                                                                      *)
(*  Title               : WGIFASM.PAS                                   *)
(*                                                                      *)
(*  By                  : Martin Israelsen                              *)
(*                                                                      *)
(*  Description         : An asm-rewritten version of WriteGif.Pas      *)
(*                        Original from "Tips & Tricks in Turbo Pascal" *)
(*                        Systime 1993. ISBN 87 7783 192 6              *)
(*                                                                      *)
(*                        Only short-tested for bugzzz                  *)
(*                                                                      *)
(*                        WGIFASM can only be used in EGA/VGA 16-color  *)
(*                        modes, with 640 pixels screenwidth. If you    *)

g_Mouse Interface

GM1507.ZIP → G_MOUSE.ASM

g_Mouse Interface v1.50.7. Puntero gráfico para ratón en modo texto de 80×25, para Borland Pascal hasta la versión 7.0. Funciones: inicialización y uso fácil, soporte para modo real y protegido, cambio de forma de puntero en modo real, rutinas de programación para generación de caracteres, código fuente completo incluido. Freeware.

; -----------------------------------------------------------------------------
; G_MOUSE.ASM  Graphical mouse pointer in 80x25 text modes on EGA/VGA.
;           For Pascal and C/C++, real mode only.
;
;                          g_Mouse Interface Version 1.42
;
;                         Copyright(c) 1993,94 by B-coolWare.
;                                 Written by Bobby Z.
;                         Portions written by D. Dokolin.
; -----------------------------------------------------------------------------
;                                     "Nice, nice. Not excellent, but nice..."
;
;                                (Mel Brooks)
;

The Object Pascal Language Guide

OBJLANG.ZIP

The Object Pascal Language Guide. Guía completa del lenguaje de objetos para utilizar con Delphi, en formato Acrobat Reader.

Escena para POV-Ray

PCKTWTCH.ZIP → HANDLE.INC

Escena para POV-Ray. Contiene los guiones en código fuente, ficheros include y texturas para generarla.

//   Persisitence of Vision scene generated by Sculptura
// Sphere
composite    {
    object    {
        smooth_triangle {
        <-84.64 2.85 0.46>  <0.86 -0.23 0.45>
        <-85.01 2.73 0.91>  <0.71 -0.18 0.68>
        <-85.04 2.61 0.89>  <0.71 -0.37 0.60>
                texture { Goldtex }
        }
    }
    object    {
        smooth_triangle {
        <-84.64 2.85 0.46>  <0.86 -0.23 0.45>

PI_DAT

PI_DAT.ZIP → PI_5000.TXT

Código fuente para calcular cualquier número de decimales del número PI.

<title>PI</title>
<H1>PI</H1>
<a href=http://www.ccsf.caltech.edu/~roy/>(Take me away from here)</a>
<pre>
3.
141592653589793238462643383279502884197169399375105820974944
592307816406286208998628034825342117067982148086513282306647
093844609550582231725359408128481117450284102701938521105559
644622948954930381964428810975665933446128475648233786783165
271201909145648566923460348610454326648213393607260249141273
724587006606315588174881520920962829254091715364367892590360
011330530548820466521384146951941511609433057270365759591953
092186117381932611793105118548074462379962749567351885752724
891227938183011949129833673362440656643086021394946395224737

PMODE

PMODE307.ZIP → PMODE.ASM

PMODE v3.07. Extensor de modo protegido bajo DOS, por Tran. Pequeño, rápido, estable y ¡gratis!

; PMODE v3.07 DPMI/VCPI/XMS/raw protected mode interface kernel.
; Copyright (c) 1994, Tran (a.k.a. Thomas Pytel).
public  _pm_selectors, _pm_pagetables, _pm_rmstacklen, _pm_rmstacks
public  _pm_callbacks, _pm_pmstacklen, _pm_pmstacks, _pm_mode
public  pmstackbase, pmstacktop, rmstackbase, rmstacktop
public  _pm_info, _pm_init
.386p
locals
PMODE_TEXT      segment para public use16 'CODE'
assume  cs:PMODE_TEXT, ds:PMODE_TEXT
off             equ     offset
;▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
; DATA
;▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

PROFILE

PROF13.ZIP → PROFILE.PRG

PROFILE v1.3. Programa en código fuente (.PRG) para lectura y grabación de ficheros .INI para Windows. 100% Clipper.

*******************
**  Profile.PRG  **
*****************************************************************************
//
//  This software is provided as FREEWARE, with no warranty either explicit
//  or implied.  Any questions may be sent via Compuserve E-Mail to Dave
//  Rooney, 74562,1564.
//
*****************************************************************************
//
//  Author: Dave Rooney, CIS ID 74562,1564
//    Date: July 25, 1995
//
//  This is an update to PROFILE.PRG dated Jan. 12, 1995.  No previous

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 01

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

Este post también está en nuestras redes:

Facebook

¿Te gustó? Síguenos en las redes

Cada semana publicamos cosas nuevas: no te las pierdas.

YouTubeFacebookXInstagramTelegram