Page 11 of 15

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 9:08 am
by Anima
Xerus wrote:If you make a Falcon version, will you choose between a better framerate or keep this one and add the parralax?

The main goal is to preserve the gemaplay as good as possible. So if a parallax layer will eat up too much performance on a Atari Falcon I would not implement it.

So far I think it is possible and using a planar mode for this makes more sense here instead of the direct colour mode (like Cho Ren Sha 68k does). I am not sure which mode I should choose for this: eight bitplanes with like 32 colours (five layers for sprites and background) + 8 colours (three layers for parallax background) or four bitplanes with 16 total colours where the parallax background has to be blitted into the background. :coffe:

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 11:12 am
by dhedberg
Regardless if you choose 8 or 4 bitplanes, you'll end up blitting/updating the parallax background each frame as you''ll hardscroll the foreground.
You should have enough time to do 5 + 3 bitplanes. We did 6 + 2 bitplanes in Willie's Adventures.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 11:33 am
by Anima
dhedberg wrote:Regardless if you choose 8 or 4 bitplanes, you'll end up blitting/updating the parallax background each frame as you''ll hardscroll the foreground.
You should have enough time to do 5 + 3 bitplanes. We did 6 + 2 bitplanes in Willie's Adventures.

Thanks for the info. I haven't tested it so far how much time will be spend on this. Well, I think that 6 + 2 could also be another option.

Just curious: does the sprite drawing in Willie's Adventure use the Blitter?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 12:04 pm
by dhedberg
I do remember that we had sprite routines using the blitter, but I also remember implementing sprite routines using the CPU. I think we eventually used the blitter for most (all?) sprites though. We had lots of animations and wanted everything to work on 4 MB so we could not afford using preshifted sprites if I remember correctly.

Sorry for not being more specific, but I haven't touched the code the last 20 years. :-D

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 12:33 pm
by FedePede04
question: sprite on a STE when is it better to blitter and when is it better to use CPU?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 12:49 pm
by Anima
FedePede04 wrote:question: sprite on a STE when is it better to blitter and when is it better to use CPU?

On the Atari STE I would say that you cannot beat the Blitter for this task. Especially when you need space for animation frames where the precalculation is not an option at all.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 1:05 pm
by FedePede04
ok thx, i read some place, that if the object was to small, then i would be better to use the cpu.
how about object that is being shift, like 8x8, chrs?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 2:00 pm
by Anima
Ok, guys... :cheers:

Here's a first test version for you to try. It shows the attract mode but has still some issues while redrawing some screens. However, it should work on Atari STE machines with 4 MB of RAM and colour monitor/TV set.

Please note: you also need to put the original arcade program ROMs from Daimakaimura (Japan Resale Ver.) in the same folder and please try to load the HD driver as the only program to save memory.

Here's the README.TXT:

Code: Select all

Daimakaimura - Test 1 [2017-10-16]
----------------------------------

Arcade version (c) 1988 by Capcom.
Atari STE port by Sascha Springer.

Requires an Atari STE with 4 MB RAM.

You also need to add these two ROM
files from the arcade machine in
this folder to run:

DAMJ_23.8F (CRC32: C3B248EC)
DAMJ_22.7F (CRC32: 595FF2F3)

Please refer to the Atari-Forum
thread for details.

http://atari-forum.com/viewtopic.php?f=26&t=31479


Have fun!

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 4:07 pm
by Frank B
Anima wrote:
FedePede04 wrote:question: sprite on a STE when is it better to blitter and when is it better to use CPU?

On the Atari STE I would say that you cannot beat the Blitter for this task. Especially when you need space for animation frames where the precalculation is not an option at all.



+1
Hardware wins always.... Use the blitter guys ;)

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 4:11 pm
by FedePede04
Ok thx

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 7:05 pm
by mpattonm
Thank you!

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 7:13 pm
by TheNameOfTheGame
I tried the demo and it loaded the files, but then stuck on a white screen with no text.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 7:40 pm
by Anima
TheNameOfTheGame wrote:I tried the demo and it loaded the files, but then stuck on a white screen with no text.

Ok, I still need to check the binaries on real hardware by myself.

Can you please give me your system specification details?

Edit: please make sure that only the HD driver is being loaded into memory.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 8:26 pm
by TheNameOfTheGame
Ok, I turned off everything and just booted with HDDriver and now it is running.

But the castle scene at the beginning is cut in half. But the forest scene is good. The game demo mode is working with some graphical errors, but what is there is truly amazing! Can't believe it's running on a STE!

4mb STE NTSC, HDDriver 10.10 and tried with both TOS 1.62 and TOS 2.06.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Mon Oct 16, 2017 9:05 pm
by Anima
TheNameOfTheGame wrote:Ok, I turned off everything and just booted with HDDriver and now it is running.

I'm glad that it works now. I just forgot that Hatari does not have any memory problems due to the built in driver and the current approach doesn't check the available memory. Well, those are things to fix for the second public test version. :coffe:

TheNameOfTheGame wrote:But the castle scene at the beginning is cut in half. But the forest scene is good. The game demo mode is working with some graphical errors, but what is there is truly amazing! Can't believe it's running on a STE!

Thanks. Unfortunately there's a problem with the proper screen refresh so the observed display issues are known to be present in this version. Hint: you can refresh the screen manually by pressing F7.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Tue Oct 17, 2017 10:11 am
by Brume
Tried on my STE 4 Mb / HDdriver 10.10 / French TOS 1.62 :
--> sorry, black screen for me after the message Press Space to start.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Tue Oct 17, 2017 10:14 am
by Anima
Brume wrote:Tried on my STE 4 Mb / HDdriver 10.10 / French TOS 1.62 :
--> sorry, black screen for me after the message Press Space to start.

Sorry for the inconvenience. Actually there's no warning about insufficient memory so can you please try again with the HD driver loaded from disk as the only program in memory?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Tue Oct 17, 2017 10:27 am
by Brume
I'm just coming to try with a clean boot (HDdriver only is loaded) and... it works fine!
Congratulation Anima, impressive work :)

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Tue Oct 17, 2017 8:58 pm
by Estrayk
Great work Anima.

I tested in MegaSTE and works like a charm

https://www.youtube.com/watch?v=r0OlC_h8Ok8


Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 3:56 am
by Anima
Wow, thanks for the report. Great to see it running on a MegaSTE.

So was the cache enabled in the video?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 4:17 am
by Hazzardus
I'm not going to believe anything about this project, because it blows my mind so much.

Anima, you are a legend.

:cheers:

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 6:46 am
by dimfil
Tested on Mega Ste all modes, TOS 2.06, hddriver 10.10, booting only with driver and xcontrol plus default cpx. Working!
Looking forward to the rest!

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 8:11 am
by calimero
Estrayk wrote:Great work Anima.

I tested in MegaSTE and works like a charm

https://www.youtube.com/watch?v=r0OlC_h8Ok8


This is 16MHz and cache on?

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 1:57 pm
by Estrayk
Anima wrote:Wow, thanks for the report. Great to see it running on a MegaSTE.

So was the cache enabled in the video?


calimero wrote:This is 16MHz and cache on?


yep. 16Mhz and cache ON.

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Posted: Wed Oct 18, 2017 5:57 pm
by calimero
Can you record game play? O:)
On 16mhz and cache on?