vogons - very old games on new systems Last Visit : never :: 2013-5-24 @ 11:50 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox Games/Apps ::
up Ultima VII Earthquake effect (screen shaking)
Goto page 1, 2  Next
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-4-14 @ 03:01 pm
ripsaw8080
DOSBox Author
[avatar]
Joined: 2006-04-25
Posts: 2906
Loading some VGA BIOS with a debug build improves the shaking effect, so I tried adding a fixed number of cycles to the scroll functions by waiting in a loop. It does improve the bouncing of the screen, but doesn't work very well, and appears to depend on how many cycles DOSBox is running at compared to how many are consumed by the wait loop. What I usually see is random horizontal bands of the screen moving.

Another approach with vertical retrace turned out much better. The entire screen bounces up and down with little of the "tearing" seen in the other approach, and it's independent of how many cycles DOSBox is running at. I don't know if any video BIOS checks for retrace in its scroll functions, but it could improve the effect on real hardware as well.

I made a small loader program that waits for retrace before the scroll functions are called; and also patches INTRO.EXE in memory to use its code segment instead of the system BIOS segment for the white noise effect, which creates a more "snowy" result in DOSBox. Simply run the program in the folder where U7 is installed. Source code is included in the attached archive.
u7fx.zip (1.12kB) - Downloaded 432 Time(s)

Post new topicReply to topic
Hidden
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-5-03 @ 04:37 am
speon
Newbie
[avatar]
Joined: 2007-06-14
Posts: 15
As a hardcore (read: purist) U7 fan, thanks kindly for this...very cool.
Post new topicReply to topic
Offline
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-6-19 @ 05:33 am
Zósite K. S.
Lt. CoRoneR
[avatar]
Joined: 2009-01-16
Posts: 8
Location: Gamma Squadron/Wing I/ISD Hammer
Outstanding!! Ripsaw8080, I just have no words to thank you for this splendid little fix. Now if only it could be implemented into the DOSBox main code somehow.

AFAIK, in order to run Ultima VII "by the book" with DOSBox only THIS issue remains unsolved.

_________________
FM/COL Zosite Konstyte Styles/Gamma 3-2/Wing I/ISD Hammer
Post new topicReply to topic
Offline
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-11-23 @ 07:22 am
keropi
the dangerous
[avatar]
Joined: 2003-09-08
Posts: 1996
Location: Greece
while searching the web-archive for moslo deluxe documentation (yeah I have it registered but the private area is not working!!!!) I found this Ultima 7 fix in their site Shocked

Quote:
Qfix allows the Ultima VII computer game to be run with Riva 128 video boards. The vertical earthquake display effect is replaced by a lateral movement (consistent with slippage on a strike-slip fault instead of a thrust fault).

Qfix is a TSR (terminate-and-stay-resident) program. When run it remains in memory until your computer is rebooted (or in the case of a Windows DOS box, until the box is closed). Qfix does not alter any files or system settings. While resident, Qfix occupies approximately 600 bytes of RAM.

You can run Qfix.com at the DOS command line prior to running Ultima7.com or you can add a line to load it in your autoexec.bat file. It will work with any VGA-compatible display board. It affects only vertical scroll only in 320 x 200 x 256-color graphics mode.


it states riva128 cards, but it maybe also usefull in dosbox... haven't tried it (and I can't imagine doing it soon) but here it is Very Happy
qfix.zip (1.96kB) - Downloaded 209 Time(s)


_________________
user image
user image

--> Roland CM-32L wanted , click me for AmiBay ad!
Post new topicReply to topic
Offline
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-11-23 @ 09:19 pm
TeaRex
Member
no avatar
Joined: 2005-02-06
Posts: 394
IIRC, Qfix just reroutes the INT10 call of the vertical scrolling routine (which was broken in the Riva 128 BIOS) to the horizontal scrolling routine. Since both routines are implemented in too-fast native code in DOSBox, I doubt that it would help.

_________________
tearex
Post new topicReply to topic
Offline
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-11-23 @ 10:04 pm
ripsaw8080
DOSBox Author
[avatar]
Joined: 2006-04-25
Posts: 2906
I don't think there ever was a video bios that had horizontal scroll routines; it would have been non-standard. That TSR pushes the pixels around in video memory by itself. It's similar in some ways to loading a video bios in DOSBox, where the "too-fast" internal code is no longer being used, and you get a lot of shearing on the screen.
Post new topicReply to topic
Hidden
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-11-23 @ 10:53 pm
ADDiCT
Too old
[avatar]
Joined: 2007-02-02
Posts: 1170
Location: Retroland
Sorry for posting slightly OT, but I had this on my mind for a while now: ripsaw8080, do you think it'd make sense to collect all your "custom game fixes" into one thread, or pack them all together and offer the archive in a dedicated thread? Or create a thread with links to the others? You know, like some kind of inventory/directory. I'd hate playing a game and finding out afterwards that there's a fix for a problem I didn't really notice (though the Ultimas are quite low on my "must play" list I have to admit, UUW is placed a bit better) (; .
Post new topicReply to topic
Offline
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2010-11-23 @ 11:41 pm
ripsaw8080
DOSBox Author
[avatar]
Joined: 2006-04-25
Posts: 2906
@ADDiCT: I think a "collected" thread would still need enough keywords for a search to turn it up, which is more-or-less already taken care of with the "scattered" threads. I should probably set up a hosted page somewhere, and could then include some unposted stuff as well.
Post new topicReply to topic
Hidden
Reply with quote Re: Ultima VII Earthquake effect (screen shaking) :: 2013-5-12 @ 08:58 pm
Dominus
DOSBox Moderator
[avatar]
Joined: 2002-10-03
Posts: 4635
Location: Vienna
resurrecting this, sorry, but could this be added in anyway to the main Dosbox? I totally forgot that there exists a ripsaw-to-the-rescue-fix-file and nagged elsewhere that this is still not working in dosbox... Happy

_________________
Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for OS X (10.4-10.8 ppc/intel) codesigned for gatekeeper
Post new topicReply to topic
Hidden
page 1 of 2
Goto page 1, 2  Next
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.