First commit 20/03/1997

This commit is contained in:
José David Guillén 2021-09-08 21:44:52 +02:00
commit 6823005994
300 changed files with 31820 additions and 0 deletions

BIN
BDATOS.OBJ Normal file

Binary file not shown.

61
CHORA.CPP Normal file
View File

@ -0,0 +1,61 @@
#include <stdio.h>
struct V
{
int HorasMedicion[6];
};
struct C
{
struct V VProductos;
} Config = { { 8, 12, 16, 20, 24, 4 } };
char TablaHoraria[24];
void ConstruyeTablaHoraria(void);
void main(void)
{
int i;
for ( i=0; i < 20; i++ )
printf ( "\n" );
ConstruyeTablaHoraria();
printf ( "0: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[0], Config.VProductos.HorasMedicion[1] );
printf ( "1: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[1], Config.VProductos.HorasMedicion[2] );
printf ( "2: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[2], Config.VProductos.HorasMedicion[3] );
printf ( "3: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[3], Config.VProductos.HorasMedicion[4] );
printf ( "4: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[4], Config.VProductos.HorasMedicion[5] );
printf ( "5: %02d:00 >-< %02d:00 \n", Config.VProductos.HorasMedicion[5], Config.VProductos.HorasMedicion[0] );
printf ( "\n" );
for ( i = 0; i < 12; i++ )
{
printf( " %02d >-> %d %02d >-> %d \n", i, TablaHoraria[i], i+12, TablaHoraria[i+12] );
}
}
void ConstruyeTablaHoraria(void)
{
int i, j, k;
// Revisamos las 24 horas posibles: 00 - 1 - 2 - ... - 22 - 23
for ( i = 0; i < 24; i ++ )
// Por cada hora verificamos el rango donde pueda estar ( 0 - 5 )
for ( j = 0; j < 6; j ++ )
{
for ( k = ( Config.VProductos.HorasMedicion[j] % 24); k != (Config.VProductos.HorasMedicion[(j+1)%6]%24); k = (++k)%24 )
{
if ( i == k )
{
TablaHoraria[i] = j;
break;
}
}
if ( k != (Config.VProductos.HorasMedicion[(j+1)%6]%24) )
break;
}
}

BIN
CHORA.EXE Normal file

Binary file not shown.

BIN
DATOS/CONFIG.022 Normal file

Binary file not shown.

BIN
DATOS/CONFIG.BAK Normal file

Binary file not shown.

BIN
DATOS/CONFIG.CFG Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M04 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M05 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M09 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M10 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1996.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M04 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M05 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M09 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M10 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1997.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M04 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M05 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M09 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M10 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1998.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M04 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M05 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/CMP-1999.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_CLT.997 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_CLT.998 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_CLT.999 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_CLT.DBF Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_EMP.DBF Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_PRV.996 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_PRV.997 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_PRV.998 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_PRV.999 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_REF.BAK Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_REF.DB- Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_REF.DBF Normal file

Binary file not shown.

BIN
DATOS/EMP00001/INFO_REF.JD Normal file

Binary file not shown.

BIN
DATOS/EMP00001/MENSAJES.DBF Normal file

Binary file not shown.

BIN
DATOS/EMP00001/N.MDB Normal file

Binary file not shown.

168
DATOS/EMP00001/SCROLL.TXT Normal file
View File

@ -0,0 +1,168 @@
@1,140
Desayuno Especial
@0,130
Cafe
Tostada Jamon
Û
Zumo 225
@2,140
Pide un Baguette
@0,130
Jamon y Queso 225 York y Queso
Pringa 200 Tortilla Patatas
Vegetal 200 Salchicha
Chorizo 200
Pollo y Queso 225 Lomo
Roquefor y Jam. 225
Anchoa 250 Lomo Mechado
­ ­ Pida una Caipiri¤a
­­ Pida una Caipiri¤a !!
!! pide pajaritos fritos !!
ÜÜÜ ÜÜÜ ÜÜÜ ÜÜ ÜÜ Ü ÜÜÜ ÜÜÜ
ÛÜÛ ÛÜ ßÜ Û ÛÜÜÛ Û Û Û Û
Û ÛÜÜ ÜÜÛ ÛÜ Û Û Û Û ÛÜÛ
ÜÜ ÜÜÜ Ü ÜÜÜ ÜÜÜ ÜÜÜ Ü ÜÜ Ü
ÛÜ ÛÜß Û Û Û Û ÛÜÛ ÛÜÛ ÛÜß ÛÜÛ
Û Û Û Û Û ÛÜÛ Û Û Û Û Û Û Û
Ü Ü ÜÜ Ü Ü ÜÜÜ ÜÜ
Û Û ÛÜ Û Û ÛÜÛ ÛÜß
ÛÜ ÛÜ ÛÜ ßÜß Û Û Û Û
VISITANO EN NUESTRA OTRA
BODEGUILLA
VIRGEN DEL BUEN AIRE TORRE 2
TF954453191
@1,140
Pescaito frito
@0,130
Calamares 1/4 o Raci¢n 500
Pescadda frita " " 475
Puntillitas " " 550
Adobo " " 400
Hueva Frita " " 500
Pijota " " S/M
Boquerones " " S/M
Pavias " " 400
Croquetas " " 400
Frito Variado " " 1200
@1,140
Carnes (en mesa o para llever )
@0,130
Churrasco de cerdo 1/4 o Raci¢n 450
Churrasco de pollo " " 500
Churrasco de pavo " " 300
Brocheta de solomillo " " 550
Hamburguesa " " 250
Pinchito de pollo " " 200
Lomo Plancha " " 200
Super Serranito " " 350
@1,140
Ali¤os
@0,130
TAPA RACIàN
Ensaladilla 200 350
Ali¤o de gambas 200 350
Ali¤o de patatas 200 300
Pimientos asados 200 350
TAPA RACIàN
At£n encebollado 200 350
Patatas ali¤adas 200 350
Melva 200
Cocktel de Marisco 300
@1,140
Guisos
@0,130
TAPA RACIàN
Menudo con garbanzo 200 400
Espinacas 200 400
Carnes con tomate 200 400
Lomo mechado 250 400
Solomicho al whisky 250 800
Albondigas 200 350
Gambas al ajillo 250 1200.
Bacalao con tomate 200 400
@1,140
Chacina
@0,130
TAPA RACIàN
Queso Oveja 200 800
Queso de Cabra 200 750
Queso Cabrales 200 750
Queso al Salmon 200
Queso Finas Hierbas 200
@1,140
Bandeja de quesos variados 1700
@0,130
Jamon de Bellota 250 1200
Morcon 200 750
Ca¤a de Lomo 200 1000
Chicharrones 200
@1,140
Bandeja Serrana 2100
@0,130
@1,140
Platos combinados
@0,130
N§1 Tortilla francesa, pimientos fritos
y jam¢n.
400
N§2 Lomo plancha con patatas fritas y
pesscada frita.
400
N§3 Tortilla Jam¢n, croquetas, ensalada.
400
N§4 Frito variado, 1 Persona 600
N§5 Tortilla de esparragos,pescada frita
ensalada.
550
N§6 Huevos fritos con Jam¢n y pimientos.
400
PIDA UNA CAIPIRI¥A
300
MENU DEL DIA
700 PTS

BIN
DATOS/EMP00001/TPV.PCX Normal file

Binary file not shown.

30
DATOS/EMP00001/VISUAL.CPP Normal file
View File

@ -0,0 +1,30 @@
#include <conio.h>
#include "d:\program\src_dos\libs\bdatos\bdatos.hh"
#include "d:\program\src_dos\tpv\tpv_def.h"
BDatos BReg;
VENTAS SReg;
void main ( void )
{
long i;
if ( BReg.AbrirReg( "ventas.tmp", sizeof( VENTAS ) ) == ERROR )
{
cprintf( "Error leyendo VENTAS.TMP\r\n" );
return;
}
for ( i = 0; i < BReg.Registros(); i++ )
{
BReg.LeeReg( (void *)&SReg, i );
cprintf( "Reg %02d: %09lu %06u %06lu %06lu\r\n", i, SReg.CodigoR, SReg.Cantidad, SReg.PrecioC, SReg.PrecioV );
}
BReg.CerrarReg();
}

BIN
DATOS/EMP00001/VISUAL.EXE Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VISUAL.PRJ Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1996.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1996.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M09 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M10 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1997.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M04 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M05 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M09 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M10 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1998.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1999.M01 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1999.M02 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT1-1999.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1996.M11 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1996.M12 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1997.M03 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1997.M06 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1997.M07 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1997.M08 Normal file

Binary file not shown.

BIN
DATOS/EMP00001/VT2-1997.M09 Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More