VOGONS


[DemoScene]Bugs with some demos

Topic actions

First post, by BackSpace

User metadata
Rank Newbie
Rank
Newbie

Hello,

Does Dosbox requires special configuration to correctly rendered these demos ?
Here the report after using DosBox 0.74 and SVN r3697 :

- Demo "Crystal Dream" from Triton (http://pouet.net/prod.php?which=463)
*SoundBlaster emulation failed to initialise, the sound is always "rendered" via the PC speaker.
*In this topic : Help with old 3D demos please... this issue has been resolved but the Sb emulation seems to be broken again.

- Demo "Reve" from Pulse (http://pouet.net/prod.php?which=70)
* reve.exe crash Dosbox

- Demo "Vanility" from Byterapers (http://pouet.net/prod.php?which=55531)
* freeze after the "water effect"
* Youtube version : http://youtu.be/bKPL_jC8Tk8, dosbox freeze at ~2:12

- Demo "The bad, the good and the ugly" from Surprise!Productions (http://pouet.net/prod.php?which=1355)
*The first "plasma" effect is badly rendered and also the "stretch effect" at 2:00 (note : these effects are correct with ykhwong's build and "Draw the display line by line" ticked)
*The winged creature have some bad pixels on the wings

Config : Windows 7 64 bits - original dosbox.conf

Thanks for your hard work.
Greetings.

Reply 1 of 102, by leileilol

User metadata
Rank l33t++
Rank
l33t++

You did use the vgaonly machine type did you?

apsosig.png
long live PCem

Reply 2 of 102, by BackSpace

User metadata
Rank Newbie
Rank
Newbie

Tried mainly the "svga_s3" video card.

For "Vanility", authors said it required a "Tseng Labts Et4000" so i tried "svga_et4000" with and without univbe but it always freeze at water effect.

I'll give a try with "vgaonly".

Reply 3 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

- Demo "Crystal Dream" from Triton
Choose Sound player Stereo, 24 KHz
It will sound as good as Soundblaster

- Demo "The bad, the good and the ugly"
ems=false
gus=true
cycles=5000
machine=vgaonly

When using core=dynamic: run loadfix -20 before gbu

Issues:
The first screen with the blue cubes is broken as there should be text
The wireframe scene should only display the wireframe, not the surrounding "border"

> *The winged creature have some bad pixels on the wings
This happens on real hardware too on most VGA cards, or depends on something else

1+1=10

Reply 4 of 102, by BackSpace

User metadata
Rank Newbie
Rank
Newbie

Here's what happens :

with "vgaonly" :
- Reve : Status windows display "Exit to error: PIC: 4 byte interval not handled" then DosBox crash

- The bad, the good and the ugly : first plasma is again badly rendered but if frameskip is set to 2 or 3 it's almost good, the wobbling effect with winged creature is ok without any change to frameskip, the creature has the same pixel bugs on the wings.

- Vanility : freeze at water effect

- Crystal dream : same soundblaster bug

Reply 5 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Read my post

1+1=10

Reply 6 of 102, by BackSpace

User metadata
Rank Newbie
Rank
Newbie

@ h-a-l-9000 : sorry i was typing when you've posted your reply.

Thanks you've saved my ears with Crystal dream 😉

For GBU, ok it works better. 😊
Do you remember the text at first screen ?

Reply 7 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It uses the text that was on the screen just before start.

1+1=10

Reply 8 of 102, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Vanility runs to completion for me with memsize=48 and all other settings at default. The crash occurs when the interrupt table is overwritten.

The DOSBox site mentions an unofficial demo compatibility list on its links page. However, it's very much out-of-date.
http://pain.scene.org/service_dosbox.php

Reply 9 of 102, by kolano

User metadata
Rank Oldbie
Rank
Oldbie

I'd appreciate any comments/suggestions/feedback regarding the following.

Ninja 2 by Melon dezign (resolved): It's listed as working in Ripsaw's link, but for me on .74 it immediately crashes leaving the display in an odd garbled low-res text mode. This requires using GUS on port 220, or deleting NINJA2.CFG to enable realignment of the sound config with DOSBox settings.

Uni by MFX: Starts, but displays only a black screen while playing a continuous off-key noise.

Transgression by MFX (resolved): This runs well, but doesn't output correctly when using it's high-color mode (i.e. -hc switch). This requires VGAONLY machine mode, it seems to use an odd half-width resolution.

Booth 2 by MFX: Seems to run well, but spews "DMA segbound wrapping" messages while doing so and and hangs on a oddly patterned screen at it's end (or what I presume is it's end.) The "DMA segbound wrapping" issue also effects: sexadelic by Byterapers, and Te-2rb by Tpolm.

Zilog by Sunflower (resolved): Runs for a bit and then crashes DOSBox at the brown mushrooms scene, unless "normal" core or a low cycle rate that can be continuously maintained is used.

Alien Sex Clone by Fudge (resolved): Complains of missing 512x256 video mode, unless UniVBE is loaded beforehand or a modified DOSBox with additional graphics modes is used.

Last edited by kolano on 2011-04-23, 18:29. Edited 6 times in total.

Reply 10 of 102, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

Crystal Dream: SoundBlaster support is hard-coded to IRQ5. Even then, it doesn't play properly for me. SoundPlayer mode works nicely, though.
I haven't looked at any of the others yet.

Reply 11 of 102, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

Reve: disabling the 4 byte interval check allows the demo to run to completion. Why is the check there? Shouldn't 4 byte interrupt size be the default behaviour, and thus acceptable?

Reply 12 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Reve: 4 byte interval check? Where is that?

Transgression (2?): Uses a very special graphics card, works only in some inofficial SVN builds. Its oddly stretched because the DOSBox renderer doesn't support 4x horizontal stretching. You maybe could fix it with some video editing software.

Crystal Dream: Triton uses/abuses the soundblaster in a way that probably saved them some code to support both parallel port sound devices and soundblaster. DMA is set up to read from one memory address only which is changed at every sample. DOSBox's soundblaster reads sound data in millisecond intervals, and that obviously doesn't work with their scheme. I/we don't feel like increading the complexity and CPU usage of the emulation only to support one group of programs that is off, especially since the sound player is a simple workaround.

1+1=10

Reply 13 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

This should be moved to the DOSBox forums btw.

1+1=10

Reply 14 of 102, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

4 byte interval is in pic.cpp.
if (val&0x04) E_Exit("PIC: 4 byte interval not handled");

Ninja 2: requires GUS on port 220.

Reply 15 of 102, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Documentation says: The ADI bit (ICW1 bit 2) has no meaning in 8086/88 mode (a vector is transferred to the CPU instead of a call opcode), so the check should be removed.

if(val&0xe0) E_Exit("PIC: 8080/8085 mode not handled"); can be removed too as the bits have no meaning in 8086/88 mode.

Side note: The datasheet also says that writing ICW1 has side effects like IMR and IRR being cleared which I don't see in our code.

1+1=10

Reply 16 of 102, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Ninja 2: requires GUS on port 220.

Only "requires" that if you leave the NINJA2.CFG file included in the archive. Works fine with SB or GUS on most ports, IRQs, and DMA channels if you delete the file and choose options in the MIDAS setup screen that match DOSBox settings. Probably was a mistake to include that file.

Reply 17 of 102, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Documentation says: The ADI bit (ICW1 bit 2) has no meaning in 8086/88 mode (a vector is transferred to the CPU instead of a call opcode), so the check should be removed.

portslist seems wrong on this, IBM docs mention that it must be set to zero
(0==4 byte vectors) but it may not have any adversary effect if set to one.
Just be sure that the stuff that sets this bit doesn't do so because of some
other bug.

Reply 19 of 102, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

With Zilog there is a PMODE exception that appears to go away with LOADFIX (should always try loadfix with various allocations before reporting a problem). Also saw DOSBox run out of cacheblocks one time, but only the once, so might be random. Normal core can't have a problem with cacheblocks, but might be too slow. The startup message had me worried it was going to try and defrag part of the HD that isn't really there, but I think it's just something it does to show that it hasn't hung up while loading.

Alien Sex Clone searches through all VESA modes for a 512x256x16bit mode, but DOSBox doesn't have one. Apparently a straight VESA mode, not some tweaked mode.