Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

All about ST/STE demos

Moderators: Mug UK, lotek_style, Moderator Team

susher
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 148
Joined: Sat Oct 03, 2015 7:06 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by susher »

fenarinarsa wrote:
susher wrote:Unfortunately it doesn't seem to work on my 4MB STE with UltraSATAN and HDDriver 10.10. It just stops on the intro screen with only a little of the "progress bar" showing.
It does the same from the UltraSATAN on my TT030 but runs until it tries to play the sound/video on the next screen (understandably) if run from the SCSI hard disk.
Maybe an HDDriver+ACSI+UtraSATAN issue?
It won't work on TT030 anyway, I use the blitter, STE full video addressing and I change the SR value during a rte (Timer B), which is not compatible with the 68030 AFAIK. Everything can be changed to be TT-compatible but I don't know if the instruction cache will allow to execute the generated code that is loaded from disk for each frame. Is data changed by DMA taken into account by the 68030 cache?
To be honest I didn't expect it to work on the TT, I was merely seeing if it had the same behaviour on the UltraSATAN and internal SCSI disk, which it didn't.

As for the 68030 cache, this can be turned off but the instruction pipelines could be an issue with self-modifying code I imagine if the instructions are close to those already running.
I don't have HDDriver so I couldn't test it, I only have Ppera's drivers. Since it's regular GEMDOS calls it's a bit of a mystery to me :shrug:
Note that when I use Ppera's drivers on Hatari with an ACSI image, it also hangs during the first load.
It was, and still is, a mystery to me, especially given that as soon as I turned the write-verify on it started working!
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

Exclusive preview of the monochrome version.

Image


Hatari, Steem and Steem SSE: none gives the same result in monochrome, there is major bugs on the three emulators, but different bugs :?
And I don't have a mono-VGA adapter at hand to test on real hardware.

Is that me or are ST emulators not good at emulating monochrome mode?

Steem SSE also had issues in color, it didn't emulate 60Hz correctly.
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 519
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by Orion_ »

I made this demo mainly using Steem SSE for debugging, and check on real hardware from time to time to be sure it's the same behavior, I had no problem.
A mono-VGA adaptator is cheap to buy on ebay.
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

Okay guess what, I replaced an IFEQ by an IFNE and now it works.

I was clearing $ffff8260 so the ST was going to lowres but as the emulators are locked into highres per setting, of course I didn't see that immediatly. -_-'
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

Okay, here's the monochrome version.
Please don't repost the link, it's a beta version. I don't have a mono monitor to test it on real hardware.

If you do, please test it and tell me if it's okay, then I will do a proper release :)

https://fenarinarsa.com/badapple/ba_mono.zip

There is also some bugfix and the Timer C is no longer stopped at the start since HDDRIVER seems to need it.
BlankVector
Atari Super Hero
Atari Super Hero
Posts: 580
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by BlankVector »

fenarinarsa wrote:Okay, here's the monochrome version.
Very good!

However, I prefer the color version, because that one is not dithered.
Normally, monochrome means hi-res, so sharper borders. But dithering kills that hi-res effect, due to fuzzy borders. IMHO the low-res version looks better. Maybe it would be worth to try a non-dithered monochrome version, to see how it looks.

Also, I noticed something. Near the beginning, we can see the witch on her broom. Behind, there is a starfield. But if you look carefully, you can see that stars flicker, some of them disappear and reappear quickly. This may be because of dithering, or maybe just because of interpolation... Maybe that could be improved.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Disable the key click in assembly language on Atari ST.
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

Yes this is because of the dithering. I did a pure black & white version in lowres, the borders are a bit sharper but not so much and we lose all the shadow/blur effects... That's why I chose to do a dithering. I used Photoshop to do the batch conversion like I did for the color version.
There's another thing, the original video is 512x400 So I had to upsize it to 640x400. I used the "Preserve details (enlargment)" of Photoshop else there was way too much dithering everywhere even on pure vertical/horizontal edges.

So I guess it worked for you... It did for someone on Facebook with HDDRIVER so I'm removing the archive and releasing the mono version for good then :)
User avatar
Estrayk
Captain Atari
Captain Atari
Posts: 333
Joined: Mon Nov 23, 2015 2:52 pm
Location: Spain

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by Estrayk »

I tested the Monochrome version. It works perfectly.

https://www.youtube.com/watch?v=zDJMiACw-48

・Falcon ct60e・Atari MegaSTE ・Atari STe ・
BlankVector
Atari Super Hero
Atari Super Hero
Posts: 580
Joined: Wed Oct 24, 2007 7:52 pm
Location: France
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by BlankVector »

fenarinarsa wrote:So I guess it worked for you...
Yes, it worked for me with Hatari, GEMDOS drive emulation and EmuTOS.
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Disable the key click in assembly language on Atari ST.
tuxie
Atari maniac
Atari maniac
Posts: 78
Joined: Wed Mar 07, 2007 3:39 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by tuxie »

Is it possible to make it Compatible to use it on TT with IDE Interface instead of ACSI ? Our IDE Interface reaches 5,8Mbyte/s so the speed should be enought
I made a Video from my TT playing a Video in True color using Nova Mach64
https://www.youtube.com/watch?v=kaYbBuiYDak

Is it possible to disable the blitter in easy way in your code ?

Btw. you did a very good job, cant stop watching this videos hehe
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

I just released the final version. Contains 4 versions: high 50kHz, high 12kHz, low 50kHz, low 12kHz.
The 12kHz versions make really smaller files, if your HDD is a bit slow it may work better.
Also seems to work better with more HDD drivers, thanks to Petari.

https://fenarinarsa.com/badapple/fenari ... _final.zip

Source code (GPLv3)
https://fenarinarsa.com/badapple/fenari ... source.zip

High-res video capture
https://www.youtube.com/watch?v=aIeAIgGnx0M

tuxie wrote:Is it possible to make it Compatible to use it on TT with IDE Interface instead of ACSI ? Our IDE Interface reaches 5,8Mbyte/s so the speed should be enought
Is it possible to disable the blitter in easy way in your code ?
I don't use ACSI, I use standard GEMDOS calls, so it should work. That was one of the reasons why I didn't want to go low-level with ACSI.
On TT there is some issues, one of them is the blitter, another one is a modification I do to the 68000's SR register by modifying the stack (check tb_render in the source code).
For the blitter you can either regenerate the BA.DAT file without using blitter optimization (the resulting file will be bigger), or use the "blitter emulation" I included in the source code. It should run fast enough on TT because of the 68030 cache.

I did point out the modifications needed to make it TT/Falcon030 compatible in the source code :)
tuxie
Atari maniac
Atari maniac
Posts: 78
Joined: Wed Mar 07, 2007 3:39 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by tuxie »

Made it as Video and played it with mplayer hehe
https://youtu.be/KiJIKbvPLeU

Just a test nothing more :)
fenarinarsa
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Sat Mar 15, 2014 11:23 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by fenarinarsa »

TT is definitevely a beast :o

cvid is not the best codec to pack this video, a better choice would be QuickTime's "animation" (which is actually delta packing).
I'm quite sure on TT it would be possible to compress delta-packed frames with a dictionary-based algorithm and make a full res 256 greyshades video. A job for a TT coder I guess ;)
User avatar
calimero
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2589
Joined: Thu Sep 15, 2005 10:01 am
Location: Serbia
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by calimero »

"Full res. with 256 grey shades" on TT?
This would require some overscan on TT low res to get full resolutio ...
using Atari since 1986.http://wet.atari.orghttp://milan.kovac.cc/atari/software/ ・ Atari Falcon030/CT63/SV ・ Atari STe ・ Atari Mega4/MegaFile30/SM124 ・ Amiga 1200/PPC ・ Amiga 500 ・ C64 ・ ZX Spectrum ・ RPi ・ MagiC! ・ MiNT 1.18 ・ OS X
tuxie
Atari maniac
Atari maniac
Posts: 78
Joined: Wed Mar 07, 2007 3:39 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by tuxie »

fenarinarsa wrote:TT is definitevely a beast :o

cvid is not the best codec to pack this video, a better choice would be QuickTime's "animation" (which is actually delta packing).
I'm quite sure on TT it would be possible to compress delta-packed frames with a dictionary-based algorithm and make a full res 256 greyshades video. A job for a TT coder I guess ;)
Would it be possible for you todo the compile the assembly application with blitter emulation ? at the moment i have no possiblity to compile it. Devpac and also TurboAsm does not compile (assemble) it

regards Ingo
susher
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 148
Joined: Sat Oct 03, 2015 7:06 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by susher »

Well, this is amazing but...

Someone's done something similar on the new Sinclair ZX Spectrum Next in 128K mode...

https://youtu.be/hqhG6Vrgs-0
User avatar
guythp
Captain Atari
Captain Atari
Posts: 166
Joined: Thu Oct 16, 2003 8:03 pm
Location: east england

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by guythp »

I think this is on more formats than lemmings was! A quick youtube trail displayed a C64 version, one for the coleco (or intelivision - I always get those two confused) and even the VCS!

With obvious Atari bias I still think the STe version looks (and sounds) the best, but they are all quite a technical achievement (with some great chip tune alternatives to the original soundtrack).

Well done Chaps!
The Hairy Pies
mlynn1974
Atari Super Hero
Atari Super Hero
Posts: 620
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by mlynn1974 »

This is an excellent demo. I think it's as impressive as the intro to Soul Blade on the PS1. It's one of those demos you just have to watch the whole way through. The music is amazing too.
Still got, still working: Atari 4Mb STe, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).
oregfalcon30
Atariator
Atariator
Posts: 25
Joined: Sat Dec 17, 2022 8:54 pm

Re: Bad Apple by Fenarinarsa (Atari STe demo) !!!!!

Post by oregfalcon30 »

Just wow. I appreciate the engineering prowess. I didn't know what this was on an SD card I have until I executed it, I instantly recognized the technical marvel. Waking up from a 20 year break away from the ST world, just wow. Nicely done.
Post Reply

Return to “Demos - General”