Bad Mood : Falcon030 'Doom'

All 680x0 related coding posts in this section please.

Moderators: Zorro 2, Moderator Team

User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Dal wrote:I do notice a problem quitting the game. I've never had a clean exit - each time I try to quit, my Falc hangs.
You're right. I saw it also.

There have always been some cleanup issues, some of which got fixed - but following some recent change it now quits with a bad screenbase and shows garbage. Will look at it before the next update.
User avatar
Scarlettkitten
Captain Atari
Captain Atari
Posts: 262
Joined: Thu Mar 19, 2009 11:42 am
Location: Northamptonshire, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Scarlettkitten »

Wow what can I say Doug, I can't believe how smooth you've got this to run on the 16MHz machine, and the intro music and the attract mode is so cool. FaNtAsTiC :D :cheers: and I saw my name :)
My musical dribbles 🎶 https://sophie-rose.bandcamp.com
Mega ST4, 520STM.
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Scarlettkitten wrote:Wow what can I say Doug, I can't believe how smooth you've got this to run on the 16MHz machine, and the intro music and the attract mode is so cool. FaNtAsTiC :D :cheers: and I saw my name :)
Great! Glad it worked for you :)

A few more improvements are on the way but I'll try to gather them together and avoid too many updates.

Beware a missing music track causing the game to abort on e3m2 (or one of those later levels). Should have that patched before anyone gets that far ;)
Zamuel_a
Atari God
Atari God
Posts: 1291
Joined: Wed Dec 19, 2007 8:36 pm
Location: Sweden

Re: Bad Mood : Falcon030 'Doom'

Post by Zamuel_a »

I still can't get it to work. I deleted all the old files so it unpacked to a new directory. The music conversion (which took about 30 minutes) seems to work and after that I restarted and it got stucked at "I_InitSound".

I have the WAD from ultimate doom 1.9
I use ICD v6.5.5 harddisk program with a CF card.
Nothing in the AUTO folder. I don't have anything that loads since I haven't installed anything really.

I am running from drive D, so it's not C if that has something to do with it.
ST / STFM / STE / Mega STE / Falcon / TT030 / Portfolio / 2600 / 7800 / Jaguar / 600xl / 130xe
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Zamuel_a wrote:I still can't get it to work. I deleted all the old files so it unpacked to a new directory. The music conversion (which took about 30 minutes) seems to work and after that I restarted and it got stucked at "I_InitSound".

I have the WAD from ultimate doom 1.9
I use ICD v6.5.5 harddisk program with a CF card.
Nothing in the AUTO folder. I don't have anything that loads since I haven't installed anything really.

I am running from drive D, so it's not C if that has something to do with it.
Ok thanks for that info. It should run from D but I will test this tonight to be sure.

I'll have a look around I_InitSound again and may PM you with some tests?
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Does anyone know if ICD harddisk driver uses MFP Timers A,C or D hooks? Or if it hooks the VBL? Anything like that?

I'm wondering if there's a timer resource confict between ICD and BadMood's low-level setup code.
mikro
Hardware Guru
Hardware Guru
Posts: 4725
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia

Re: Bad Mood : Falcon030 'Doom'

Post by mikro »

dml wrote:Does anyone know if ICD harddisk driver uses MFP Timers A,C or D hooks? Or if it hooks the VBL? Anything like that?
Don't know about ICD but generally speaking, you should avoid using Timer C whenever possible. Except the fact it's used by the OS I'm pretty sure HD DRivers uses it too.

Btw, what about making that init generator as a ttp? In such case everybody could prepare it in say, Aranym or on a faster machine in advance and not to wait for an hour on the poor std 16 MHz configuration :)
Dal
Administrator
Administrator
Posts: 4233
Joined: Mon Feb 20, 2006 9:00 pm
Location: Cheltenham, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Dal »

I'm using hddriver with caches set as low as possible. BM ran from g:\Games\Badmood and H:\Badmood

So I don't think it's anything to do with where it's run from.

I'm tempted to pull out the spare machine and set up a hard disk with ICD just to see if your hunch is right Doug. Not going to happen before next week though as I have a busy few days and nights coming up.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3999
Joined: Sun Jul 31, 2011 1:11 pm

Re: Bad Mood : Falcon030 'Doom'

Post by Eero Tamminen »

Zamuel_a wrote:I still can't get it to work. I deleted all the old files so it unpacked to a new directory. The music conversion (which took about 30 minutes) seems to work and after that I restarted and it got stucked at "I_InitSound".

I have the WAD from ultimate doom 1.9
I use ICD v6.5.5 harddisk program with a CF card.
Nothing in the AUTO folder. I don't have anything that loads since I haven't installed anything really.

I am running from drive D, so it's not C if that has something to do with it.
At least in Hatari, running BM from a subdirectory on D: works fine (as does starting from different standard screen modes). Do you have some desktop environment that gets automatically started or ACCs?
ctirad
Captain Atari
Captain Atari
Posts: 312
Joined: Sun Jul 15, 2012 9:44 pm

Re: Bad Mood : Falcon030 'Doom'

Post by ctirad »

I have some news. I tried two more LCD panels and both of them say "out of range" on the title screen, however they display the actual game correctly. The good news is that no random line skipping is noticeable on these monitors and thus it is really a sync issue and you can forget that.

BTW, I run the game from D:/games/falcon/badmood/ directory on the real Falcon without any problem. I use hddriver with the default settings. I think the Zamuel_a problem is either ICD or more probably the CF card itself. Using the CF adapter is not 100% safe, because its 3.3V logic is not strong enough to drive 5V falcon BUS. On the overclocked Falcons the CF adapters usually do not work at all.
Zamuel_a
Atari God
Atari God
Posts: 1291
Joined: Wed Dec 19, 2007 8:36 pm
Location: Sweden

Re: Bad Mood : Falcon030 'Doom'

Post by Zamuel_a »

BTW, I run the game from D:/games/falcon/badmood/ directory on the real Falcon without any problem. I use hddriver with the default settings. I think the Zamuel_a problem is either ICD or more probably the CF card itself. Using the CF adapter is not 100% safe, because its 3.3V logic is not strong enough to drive 5V falcon BUS. On the overclocked Falcons the CF adapters usually do not work at all.
The previous version of BadMood was running without any problems.
ST / STFM / STE / Mega STE / Falcon / TT030 / Portfolio / 2600 / 7800 / Jaguar / 600xl / 130xe
User avatar
Scarlettkitten
Captain Atari
Captain Atari
Posts: 262
Joined: Thu Mar 19, 2009 11:42 am
Location: Northamptonshire, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Scarlettkitten »

Just so you know I was using PPera's Falcon IDE driver with a 4GB CF card and ran it from C Drive. and it ran fine.
My musical dribbles 🎶 https://sophie-rose.bandcamp.com
Mega ST4, 520STM.
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Scarlettkitten wrote:Just so you know I was using PPera's Falcon IDE driver with a 4GB CF card and ran it from C Drive. and it ran fine.
Ok thanks (and everyone else) for trying stuff.

I've sent a modified version to Zamuel which leaves the system TimerC intact, so we'll find out by next week if it helped.

I do suspect some funny business with ICD. I used to have that driver but nomore.
ctirad
Captain Atari
Captain Atari
Posts: 312
Joined: Sun Jul 15, 2012 9:44 pm

Re: Bad Mood : Falcon030 'Doom'

Post by ctirad »

Zamuel_a wrote:The previous version of BadMood was running without any problems.
That does not prove anything. The CF card could work 99.9% of the time correctly and then screw the whole partition data in the rest of the time. A don't forget that Beta processes mutiple amount of data on the harddrive.
User avatar
DarkLord
Ultimate Atarian
Ultimate Atarian
Posts: 5790
Joined: Mon Aug 16, 2004 12:06 pm
Location: Prestonsburg, KY - USA

Re: Bad Mood : Falcon030 'Doom'

Post by DarkLord »

dml wrote:
I do suspect some funny business with ICD. I used to have that driver but no more.
Those are free for download Doug.
icdp655a.zip
Not sure if that's the absolute latest version though.
You do not have the required permissions to view the files attached to this post.
Welcome To DarkForce! http://www.darkforce.org "The Fuji Lives.!"
Atari SW/HW based BBS - Telnet:darkforce-bbs.dyndns.org 1040
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

I recently added 'classic' gameplay mode back in so the vertical axis is locked and auto-aiming is done for you vertically, like the original.

(set 'freelook' to 0 in the config file, otherwise it defaults to quake-mode)

I'll keep back this and other changes until I better understand what happened on Zamuel's box.
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

DarkLord wrote:[
icdp655a.zip
Not sure if that's the absolute latest version though.
No that's quite helpful - I'll give it a spin later on and see if I get the same problem.

:cheers:
User avatar
Scarlettkitten
Captain Atari
Captain Atari
Posts: 262
Joined: Thu Mar 19, 2009 11:42 am
Location: Northamptonshire, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Scarlettkitten »

dml wrote:I recently added 'classic' gameplay mode back in so the vertical axis is locked and auto-aiming is done for you vertically, like the original.

(set 'freelook' to 0 in the config file, otherwise it defaults to quake-mode)

I'll keep back this and other changes until I better understand what happened on Zamuel's box.

I like the manual aiming, gives it more of a challenge
My musical dribbles 🎶 https://sophie-rose.bandcamp.com
Mega ST4, 520STM.
Dal
Administrator
Administrator
Posts: 4233
Joined: Mon Feb 20, 2006 9:00 pm
Location: Cheltenham, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Dal »

Agreed - but I find myself wanting a crosshair at least.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Dal wrote:Agreed - but I find myself wanting a crosshair at least.
Yes, you may be right about that. Will put it on the list (and configurable)
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

ctirad wrote:I have some news. I tried two more LCD panels and both of them say "out of range" on the title screen, however they display the actual game correctly. The good news is that no random line skipping is noticeable on these monitors and thus it is really a sync issue and you can forget that.
This is interesting.

It is true that I hacked the vertical refresh down quite a bit to release bus cycles for most of the video modes, but the titles do seem to upset some displays in various ways - and completely shut off the projector at SillyVenture :) so it probably needs adjustment...
Dal
Administrator
Administrator
Posts: 4233
Joined: Mon Feb 20, 2006 9:00 pm
Location: Cheltenham, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Dal »

Curiously it doesn't work when I activate the Phantom either.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Dal wrote:Curiously it doesn't work when I activate the Phantom either.
Is the DSP accelerated? What is the new ratio of mhz between cpu/bus/dsp?
Dal
Administrator
Administrator
Posts: 4233
Joined: Mon Feb 20, 2006 9:00 pm
Location: Cheltenham, UK

Re: Bad Mood : Falcon030 'Doom'

Post by Dal »

Sorry - I should have been more specific. It appears to run (I hear the music), but the display mode goes somewhere my LCD panel isn't happy.

With the Phantom activated, the CPU and BUS gets 25Mhz, the DSP gets 50Mhz and the Videl gets boosted too (50Mhz as well I think?).

I don't have a tool to benchmark it with (is there one?).
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
User avatar
dml
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3988
Joined: Sat Jun 30, 2012 9:33 am

Re: Bad Mood : Falcon030 'Doom'

Post by dml »

Dal wrote:Sorry - I should have been more specific. It appears to run (I hear the music), but the display mode goes somewhere my LCD panel isn't happy.

With the Phantom activated, the CPU and BUS gets 25Mhz, the DSP gets 50Mhz and the Videl gets boosted too (50Mhz as well I think?).

I don't have a tool to benchmark it with (is there one?).
Ok, I see. The displaymode messing up will be down to the bus speed changing, and the displaymodes using the 32mhz pixelclock (which is now 50mhz)

The solutions to that are:

a) implement yet another video mode for accelerated busses on VGA, and detect the bus speed (!)
b) dump the 416x240 extended video mode on VGA, and use a more vanilla one
c) just use RGB display when you have an accelerated bus

Fun :-)

BTW the display may be blind but you may still be able to start the game - it will hop back to 320x pixels when you begin the level.

Return to “680x0”