New Atari STE Blitter objects demo (24 Bobs)
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
New Atari STE Blitter objects demo (24 Bobs)
Two years later and after some optimizations here's a new attempt on drawing 32 x 32 pixel Bobs on an Atari STE:
https://www.youtube.com/watch?v=x1ekLXdo-2c
Disk image, program and sources here:
http://atomic-skulls.de/temp/atari/fastbobs.zip
https://www.youtube.com/watch?v=x1ekLXdo-2c
Disk image, program and sources here:
http://atomic-skulls.de/temp/atari/fastbobs.zip
Re: New Atari STE Blitter objects demo (24 Bobs)
Cool, that looks incredibly smooth! 
I can't helt wondering though, where ever did you find enough room for code improvements compared to the 23 bobs demo..?

I can't helt wondering though, where ever did you find enough room for code improvements compared to the 23 bobs demo..?

Re: New Atari STE Blitter objects demo (24 Bobs)
@Anima great
one more sprite and opened border? how did you reach that?
one more sprite and opened border? how did you reach that?
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: New Atari STE Blitter objects demo (24 Bobs)
Well, it was mainly the elimination of empty endmasks (ENDMASK = $0000) which were responsible for a gain of 48 cycles each. Also, the object clearing routine has been improved as well.
Re: New Atari STE Blitter objects demo (24 Bobs)
Thanks!

I've chosen the 320 x 256 display size because AFAIK this demo cannot be reproduced ("beaten") on the Amiga 500 even when hardware sprites will be used.

Re: New Atari STE Blitter objects demo (24 Bobs)
Excelent Anima!
Incredible work,
At Metal Slug port, using DML´s EMX2 (that comes from your sprites format if I remember well)
I reached up to 18 32x32 pixels bob at 50 Hz, custom clearing, with 3 voices at 12.5 KHz audio mixer running.
But 24 bobs with audio playback, almost all screen filled
I am sure that following your demo sprite procedure,
20 bobs could be displayed with the audio mixer running.
Incredible work,
At Metal Slug port, using DML´s EMX2 (that comes from your sprites format if I remember well)
I reached up to 18 32x32 pixels bob at 50 Hz, custom clearing, with 3 voices at 12.5 KHz audio mixer running.
But 24 bobs with audio playback, almost all screen filled

I am sure that following your demo sprite procedure,
20 bobs could be displayed with the audio mixer running.
The inner mastery...
Metal Slug for Atari STE: https://www.youtube.com/watch?v=FMrdjrrtxWo
https://www.youtube.com/watch?v=hgW6Fc5Jli0
Low Cost Hard Disk for Atari ST/E (now it reaches 1 MB/s reading and 700 KB/s writing):
viewtopic.php?f=33&t=40018
https://www.youtube.com/watch?v=Qn9IwKo-EoA
Metal Slug for Atari STE: https://www.youtube.com/watch?v=FMrdjrrtxWo
https://www.youtube.com/watch?v=hgW6Fc5Jli0
Low Cost Hard Disk for Atari ST/E (now it reaches 1 MB/s reading and 700 KB/s writing):
viewtopic.php?f=33&t=40018
https://www.youtube.com/watch?v=Qn9IwKo-EoA
Re: New Atari STE Blitter objects demo (24 Bobs)
Thanks.masteries wrote: ↑Tue Jun 21, 2022 3:30 pm Excelent Anima!
Incredible work,
At Metal Slug port, using DML´s EMX2 (that comes from your sprites format if I remember well)
I reached up to 18 32x32 pixels bob at 50 Hz, custom clearing, with 3 voices at 12.5 KHz audio mixer running.
But 24 bobs with audio playback, almost all screen filled
I am sure that following your demo sprite procedure,
20 bobs could be displayed with the audio mixer running.
I'll prepare a version with proper background restoration. I am not sure how many Bobs will survive but we'll see...

- TheNameOfTheGame
- Fuji Shaped Bastard
- Posts: 2203
- Joined: Mon Jul 23, 2012 8:57 pm
- Location: Almost Heaven, West Virginia
- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 2837
- Joined: Sun Jul 31, 2011 1:11 pm
Re: New Atari STE Blitter objects demo (24 Bobs)
Looks great, and works also with EmuTOS! Is there pouet.net or demozoo entry yet for this?
Last edited by Eero Tamminen on Tue Jun 21, 2022 7:37 pm, edited 2 times in total.
Re: New Atari STE Blitter objects demo (24 Bobs)
Nice. Thanks for including the source code. I'll probably have a look at it if I ever find some time to play with STE features
Re: New Atari STE Blitter objects demo (24 Bobs)
Thanks.Eero Tamminen wrote: ↑Tue Jun 21, 2022 7:28 pm Looks great, and works also with EmuTOS! Is there pouet.net or demozoo entry yet for this?

Well, no. I haven‘t published anything on those sites yet.
Re: New Atari STE Blitter objects demo (24 Bobs)
You‘re welcome.

- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 2837
- Joined: Sun Jul 31, 2011 1:11 pm
Re: New Atari STE Blitter objects demo (24 Bobs)
When testing under Hatari, it does not appear to work with ST + blitter or TT. Blitting is broken with MegaSTE. With Falcon / ST-low, blitting works, but sound is broken. Any idea how blitting can work fine with STE + Falcon, but be broken under MegaSTE?
Re: New Atari STE Blitter objects demo (24 Bobs)
it could be connected with the fact that Mega STE's BLiTTER takes 1 more bus cycle (4 CPU 8Mhz cycles) per every passEero Tamminen wrote: ↑Tue Jun 21, 2022 7:37 pm When testing under Hatari, it does not appear to work with ST + blitter or TT. Blitting is broken with MegaSTE. With Falcon / ST-low, blitting works, but sound is broken. Any idea how blitting can work fine with STE + Falcon, but be broken under MegaSTE?
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
-
- Atari Super Hero
- Posts: 921
- Joined: Thu Sep 11, 2003 10:49 pm
- Location: UK
Re: New Atari STE Blitter objects demo (24 Bobs)
Nice work Anima!

Is that not down to the demo using STE sound? And no blitter in the TT?Eero Tamminen wrote: ↑Tue Jun 21, 2022 7:37 pm When testing under Hatari, it does not appear to work with ST + blitter or TT.
Re: New Atari STE Blitter objects demo (24 Bobs)
Would it be possible to use the full 336x273 "easily" accessible surface ?
Re: New Atari STE Blitter objects demo (24 Bobs)
Anima I've always wanted to ask you, with Cho-Ren-Sha-68k, while it is amazing it would be even more amazing with music. What if you used the YM chip in the Falcon to make music without any CPU overhead?
I appreciate this is an old project, but just wondering!
- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 2837
- Joined: Sun Jul 31, 2011 1:11 pm
Re: New Atari STE Blitter objects demo (24 Bobs)
Ah, I did not realize it using STE sound, but that does make sense as it uses less cycles. And I forgot that TT lacks a blitter (I guess it would be slower than CPU, so that makes sense too).EvilFranky wrote: ↑Tue Jun 21, 2022 8:40 pmIs that not down to the demo using STE sound? And no blitter in the TT?Eero Tamminen wrote: ↑Tue Jun 21, 2022 7:37 pm When testing under Hatari, it does not appear to work with ST + blitter or TT.
Re: New Atari STE Blitter objects demo (24 Bobs)
Besides the Atari STE sound the "linewid" register is being used as well so unfortunately it's a bit more work to fix it to get it working for the Atari ST.Eero Tamminen wrote: ↑Wed Jun 22, 2022 1:38 pm Ah, I did not realize it using STE sound, but that does make sense as it uses less cycles. And I forgot that TT lacks a blitter (I guess it would be slower than CPU, so that makes sense too).

Re: New Atari STE Blitter objects demo (24 Bobs)
I think the Atari Falcon deserves a bit more than the YM sound...

But seriously: the best would be a X68000 sound chip emulation running on the DSP but thats quite much IMHO.
Re: New Atari STE Blitter objects demo (24 Bobs)
Uh yes... Well, why not!? Probably quite easy to implement!? I'll have to check that...

Re: New Atari STE Blitter objects demo (24 Bobs)
If you have 256 pixels available vertically I suppose you have opened both upper and low border ? (on STe if I well understand the resolution is 273 when vertical borders are opened)
In order to open left additionnal 16 pixels you just have to write just once (in a shifter "safe" place) something like :
move.b #1,ffff8265.w
clr.b ffff8264.w
Re: New Atari STE Blitter objects demo (24 Bobs)
Thanks. Yes, that works. Here's a screenshot @ 336 x 273:metalages wrote: ↑Wed Jun 22, 2022 3:23 pm If you have 256 pixels available vertically I suppose you have opened both upper and low border ? (on STe if I well understand the resolution is 273 when vertical borders are opened)
In order to open left additionnal 16 pixels you just have to write just once (in a shifter "safe" place) something like :
move.b #1,ffff8265.w
clr.b ffff8264.w

Re: New Atari STE Blitter objects demo (24 Bobs)
Pretty coolAnima wrote: ↑Thu Jun 23, 2022 5:52 amThanks. Yes, that works. Here's a screenshot @ 336 x 273:metalages wrote: ↑Wed Jun 22, 2022 3:23 pm If you have 256 pixels available vertically I suppose you have opened both upper and low border ? (on STe if I well understand the resolution is 273 when vertical borders are opened)
In order to open left additionnal 16 pixels you just have to write just once (in a shifter "safe" place) something like :
move.b #1,ffff8265.w
clr.b ffff8264.w
![]()

That's more than 10% additionnal display

Re: New Atari STE Blitter objects demo (24 Bobs)
This stuff makes me tingly.
Ain't no space like PeP-space.