Fix para el sonido del "Arctic Moves" bajo DOSBox.

Foro de los juegos de la Edad de Oro (también de los no españoles). || Talk about classic games.

Moderadores: Neville, CEZ

Responder
Avatar de Usuario
Neville
256 bits
256 bits
Mensajes: 3328
Registrado: 03 Ene 2005 12:03

Fix para el sonido del "Arctic Moves" bajo DOSBox.

Mensaje por Neville »

He estado preguntando por VOGONS acerca del "Arctic Moves" y el motivo por el cual el sonido no funciona bajo DOSBox excepto si se enchufa un joystick (!).

Pues bien, uno de los habituales del foro, ripsaw8080, ha sido tan amable no solamente de averiguar qué está fallando sino que además ha hecho un fix en un periquete, os adjunto el juego parcheado:

http://www.megaupload.com/?d=NOXH580W

Y aquí está su explicación:

Sound works in the first mission when you configure a joystick in DOSBox, but it's not entirely effective because sound is still missing on the title and prologue screens. Sound works completely, regardless of gameport detection, when booting real DOS. The game uses hard-coded memory addresses that belong to DOS and relies on pre-existing memory values; which is weird and/or messy programming.

[...]

It uses segment 0x40 addresses 0x4F0 thru 0x4FF and 0x9EA (I think 0x9EA was not intended, should have been 0x4F0+0xA like the rest of the code, not 0x4F0+0x4FA)

In DOS 5/6 the addresses are not part of a table, they are actually DOS code. The game swaps between several executables, and maybe the developer was being lazy by storing global vars in a mostly-dormant area of DOS. In DOS 3.3 the addresses are part of a device table, but with the game being from 1995, earlier versions of DOS were probably not seeing much use by then.

[...]

Although DOSBox allocates the memory region for its emulated DOS structures, it is not actually using the specific addresses, so a workaround is possible.
Para jugar ejecutamos DOSBox.bat en lugar del tradicional ARCTIC.EXE.
These are the days
When our work has come assunder
These are the days
when we look for something other

Midnight is where the day begins
Avatar de Usuario
GBMan
16 bits
16 bits
Mensajes: 181
Registrado: 07 Ago 2005 22:16
Ubicación: LinuX Mint

Re: Fix para el sonido del "Arctic Moves" bajo DOSBox.

Mensaje por GBMan »

Excelente! Por fin el Arctic Moves con sonido en Dosbox. 8) 8) 8)
Responder