PreguntasLinux

Versión Completa: Amo A dosemu
Actualmente estas viendo una versión simplificada de nuestro contenido. Para ver la versión completa en el formato correcto, dale click aquí
Primer paso

apt-get install dosemu-freedos

Segundo :

configurar el /etc/dosemu.conf (haciendo busqueda en google encontre una buena optimizacion)

Código:
##############################################################################
## CPU settings: define the CPU features to DOSEMU.

# CPU shown to DOS, valid values: "80[345]86"
# or "emulated" for non-native CPU (386 in this case) Default: 80386

$_cpu = "80586"

# if possible use Pentium cycle counter. Default: off

$_rdtsc = (on)

# CPU speed, used in conjunction with the TSC
# Default 0 = calibrated by dosemu, else given (e.g.166.666)

# $_cpuspeed = (0)

# emulated FPU, (off) or (on), default = (on)

$_mathco = (off)

# 0 = all CPU power to DOSEMU; default = 1 = nicest, then higher:more CPU power

$_hogthreshold = (1)
##############################################################################
## Memory settings

# conventional DOS memory size, in Kbyte, <= 768. Default = 640

$_dosmem = (640)

# XMS (extended memory) size in Kbyte; default: 8192.

$_xms = (16384)

# EMS (expanded memory) size in Kbyte; default: 2048.

$_ems = (0)

# DOS segment where the EMS frame is put. Default = 0xe000.

# $_ems_frame = (0xe000)

# DPMI size in Kbyte; default: 0x5000
## not entirely sure of this setting

$_dpmi = (0x8000)

## increased memory amount
# preferred mapping driver, one of: auto, mapself, mapfile, mapshm
# Default: ""="auto"

# $_mapping= ""
##############################################################################
## Dosemu-specific hacks
## seemed to work best

# set this to some positive value (eg. Default: 10)
# if you want to play Doom or Duke3D with sound.

$_cli_timeout = (10)

# try setting this to some lower positive value (eg. 5; default: 50)
# if you get problems with some DOS program
# freezing after some time.

$_pic_watchdog = (5)

# list of temporary hacks, see release notes in the file ChangeLog.
# e.g "0:1 2:0", which means to set feature_0 to 1 and feature_2 to 0.
# Default: ""

# $_features= ""
##############################################################################
## Keyboard related settings

# Keyboard layout: default: 'auto' (which tries to generate the table from
# the current Linux console settings)
# or one of: finnish(-latin1), de(-latin1), be, it, us, uk, dk(-latin1),
# keyb-no, no-latin1, dvorak, pl, po, sg(-latin1), fr(-latin1), sf(-latin1),
# es(-latin1), sw, hu(-latin2), hu-cwi, keyb-user, hr-cp852, hr-latin2,
# cz-qwerty, cz-qwertz, ru, tr.

$_layout = "es"

# bypass normal keyboard input on the Linux console, maybe dangerous

$_rawkeyboard = (1)
## raw access enabled
# 30 == Ctrl-^ (Ctrl-6 on US keyboards), special-sequence prefix for terminals
# use Ctrl-^ h for help

# $_escchar = (30)
##############################################################################
## Mouse settings
## modify to correspond your setup
# Use internal mouse driver. Default = (on).

$_mouse_internal = (on)

## all other mouse settings: console only (ignored for remote/xterm/xdosemu)

# type: one of microsoft, mousesystems, logitech, mmseries, mouseman, hitachi,
# busmouse, ps2, imps2. Default: "" (no mouse or serial mouse via DOS driver)

$_mouse = "imps2"

# Mouse device: one of: com1, com2, com3, com4 (for DOS serial mouse driver
# -- overrides $_mouse_internal)
# or /dev/mouse (for the DOSEMU internal mouse driver). Default: ""

$_mouse_dev = "/dev/psaux"

# Default: "" or one or more of: "emulate3buttons cleardtr"

# $_mouse_flags = ""

# baudrate, default: 0 == don't set

# $_mouse_baud = (0)
##############################################################################
## Speaker and sound settings

# speaker: default: "emulated", or "native" (console only) or "" (off)

$_speaker = "native"

# sound support on/off

# $_sound = (on)

# (emulated!) Sound Blaster base i/o port, default: (0x220)

# $_sb_base = (0x220)

# Sound Blaster IRQ setting, default: (5)

# $_sb_irq = (5)

# Sound Blaster 8 bit DMA setting, default: (1)

# $_sb_dma = (1)

# Sound Blaster 16 bit DMA setting, default: (5)

# $_sb_hdma = (5)

# Sound device, default: "/dev/dsp"

# $_sb_dsp = "/dev/dsp"

# Sound mixer device, default: ""; use "/dev/mixer" if you allow that dosemu
# changes the volume

$_sb_mixer = "/dev/mixer"

# Midi base i/o port

$_mpu_base = (0x330)

# The following options are driver-specific and it is not necessary to alter
# the default values in most cases. Read sound-usage.txt for more.
# Defaults: min_frags: 4, max_frags: 0x20, stalled_frags: 1, do_post: off,
# min_extra_frags: 2.

# $_oss_min_frags = (4)
# $_oss_max_frags = (0x20)
# $_oss_stalled_frags = (1)
# $_oss_do_post = (off)
# $_oss_min_extra_frags = (2)
##############################################################################
## Console video

# The following settings apply to direct console video only and are
# ignored by xdosemu. Many are privileged and need suid/sudo/root.

# use 'console' video (direct video ram access). Default: (0)

$_console = (1)

# use the cards BIOS to set graphics and allow direct port i/o. Default: (0)

$_graphics = (1)

# [priv] run the VGA card's initialization BIOS routine (most cards don't
# need this). Default: (0)

# $_vbios_post = (1)

# [priv] set the address of your VBIOS (e.g. 0xc000, 0xe000).
# Default: (0)=autodetect.

# $_vbios_seg = (0)

# [priv] set the size of your BIOS (e.g. 0x10000, 0x8000).

# Default: (0)=autodetect.

# $_vbios_size = (0)

# [priv] size of (real) video RAM. Default: 1024

$_vmemsize = (65536)

# ^modify to correct amount
# [priv] real chipset: one of: plainvga, trident, et4000, diamond, avance

# cirrus, matrox, wdvga, paradise, ati, s3, sis, svgalib
# these drivers are likely to be out of date for modern cards; "plainvga"
# may work. Default: ""="plainvga"

# $_chipset = ""

# [priv] see $_ports, but these are only opened if DOSEMU is run on the
# Linux console. Default: ""

# $_console_ports = ""

# [priv] see $_pci, but this option is only used if DOSEMU is run on the
# Linux console. Default: (off)

# $_console_pci = (off)

# [priv] if you have one vga _plus_ one hgc (2 monitors)

# $_dualmon = (0)


tercer paso navegar por mis archivos del disco duro e instalar el TC turbo

y voula!

La prueba de fuego, usando conio.h para un getch y un clrscr




Compiló (El unico bug que encontre es basura en la pantalla al salir del tc, minor bug, volvemos a iniciar el dosemu y nos vamos a la carpeta donde estan los ejecutables)



Ejecutamos el archivo





Y si, ahora no tengo que andar recodificando trabajos para la facu

Cuando a uno le agarra nostalgia tambien puede jugar un truquito del tan conocido programa de los arbisier

voy a probar mis viejos jueguitos...
URLs de Referencia