Skip to content

Player for many Adlib formats compiled to work on 8088 and 8086

Notifications You must be signed in to change notification settings

mills32/Adplug-for-8088-86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENG:

Adplug OPL2 Music Player for 8088-86 and 286

Here I go again, the same story, I grew up with an 8086 in which many things would not work back in the day, so I decided to compile "adplug" without any 186 instructions.

This is not really adplug, I only took the file readers and players, and then created a simple interface.

This player works on 40x25 text mode (CGA, TANDY, EGA, MCGA, VGA). MDA and Hercules do not support 40x25 text. If you have a VGA, the program will load custom graphics for the text mode.

CGA, TANDY, EGA, MCGA:

plot

VGA:

plot

Conbtrols:

  • Move = UP DOWN LEFT RIGHT arrows
  • Select file = ENTER
  • Stop music = SPACEBAR
  • Enable/Disable visualizer = F1
  • Exit = ESC

Requirements:

  • CPU 8088 4.77 Mhz
  • RAM 256 Kb
  • GRAPHICS CGA / Tandy / MCGA / EGA / VGA
  • SOUND Adlib or compatible (Sound Blaster, opl2lpt)
  • SOUND TANDY 3 voices + noise

Some formats will play slow on 8088 4.77 Mhz, code can be optimized. Some formats are buggy.

Supported formats:

  • IMF: Id's Music Format - working 100%.

  • RAD: Reality Adlib Tracker v1.1 1995 - working 100% (minor bugs caused by my code).

    RAS: channels 0 and 1 are used to send commands to Sound Blaster to play PCM Drums, do not use with adlib. Samples are 8 bit unsigned PCM (8192 or 11025Hz). Specify relative route in RAD description (Ctrl-D in RAD tracker).

    • Sample 1: at row 3 column 0 (example: PCM/drum.wav)
    • Sample 2: at row 6 column 0 (example: PCM/snare.wav)
  • SA2: Surprise! Adlib Tracker 2 - Some files play at the wrong speed.

  • AMD: Amusic Tracker - minor bugs.

  • LDS: Loudness Sound System Tracker, the best tracker for adlib - working 100%.

  • VGM: YM3812 and compatible chips recordings (YM3526, Y8950), SN76489 (Tandy, SMS, Game Gear). Find more at vgmrips.com.

    Timming might be a bit off in many songs. VGM files bigger than 64KB are truncated to 64KB.

  • D00: Edlib Tracker, The most complex tracker created for Adlib.

    Edlib Tracker format 0 - Minor bugs.

    Edlib Tracker format 1 - not well supported.

I'm not adding more formats, you can play many unsupported formats using VGM rips.

ESP:

Adplug Reproductor de música OPL2 para 8088-86 y 286

Pues más de lo mismo, quise compilar adplug para que funcionase en 8086.

En realidad no es un port de Adplug, sino que he utilizado el código de los reproductores, y he añadido una interfaz.

El programa funciona en modo texto 40x25 (CGA, TANDY, EGA, MCGA, VGA). MDA y Hercules no soportan este modo. Si tienes una VGA, el programa cargará caracteres de texto modificados.

CGA, TANDY, EGA, MCGA:

plot

VGA:

plot

Conbtroles:

  • Mover = Teclas direccionales
  • Seleccionar = ENTER
  • Detener Música = ESPACIO
  • Desactivar/Activar visualizador = F1
  • Salir = ESC

Requisitos:

  • CPU 8088 4.77 Mhz
  • RAM 256 Kb
  • GRAFICOS CGA / Tandy / MCGA / EGA / VGA
  • SONIDO Adlib o compatible (Sound Blaster, opl2lpt)
  • SONIDO TANDY 3 canales + ruido

Algunos formnatos funcionan lentos en 8088 4.77 Mhz, el código puede ser optimizado. Algunos formatos tienen problemas.

Formatos soportados:

  • IMF: Id's Music Format - funcionando 100%.

  • RAD: Reality Adlib Tracker v1.1 1995 - funcionando 100% (Pequeños bugs causados por mi código).

    RAS: los datos de los canales 0 y 1 son utilizados para enviar instrucciones a una Sound Blaster, para que reproduzca sonidos PCM para percusión. No utilizar con Adlib. Los archivos de sonido deben ser PCM 8 bit unsigned (8192 o 11025Hz). Especifica la ruta relativa en la descripcion del archivo RAD (Pulsando Ctrl-D en el editor RAD, accederas a la descripción).

    • Sonido 1: en fila 3 columna 0 (ejemplo: PCM/drum.wav)
    • Sonido 2: en fila 6 columna 0 (ejemplo: PCM/snare.wav)
  • SA2: Surprise! Adlib Tracker 2 - algunas canciones se reproducen a la velocidad incorrecta.

  • AMD: Amusic Tracker - pequeños bugs.

  • LDS: Loudness Sound System Tracker, el mejor tracker para Adlib - funcionando 100% (Pequeños bugs causados por mi código).

  • VGM: YM3812 y compatibles (YM3526, Y8950), SN76489 (Tandy, SMS, Game Gear). Encuentra VGMs en vgmrips.com.

    Pequeños desajustes en la velocidad de reproducción, los archivos mayores de 64KB son cortados a los primeros 64KB.

  • D00: Edlib Tracker, el tracker más complejo creado para Adlib.

    Edlib Tracker format 0 - pequeños bugs.

    Edlib Tracker format 1 - no funcionan bien.

No voy a añadir más formatos, ya que puedes reproducir cualquier formato convertido a VGM.

About

Player for many Adlib formats compiled to work on 8088 and 8086

Resources

Stars

Watchers

Forks

Packages

No packages published