New STOS modules, including syncscroll

STOS-related stuff in here please
Post Reply
User avatar
thomas3
Captain Atari
Captain Atari
Posts: 400
Joined: Tue Apr 11, 2017 8:57 pm

New STOS modules, including syncscroll

Post by thomas3 »

Hi all,

Been a while since I've done anything with STOS, but I've made a couple of things to share.

1) I've converted the Evl/DHS syncscroll to work in STOS.

Joystick input still works, and Missing Link timer B commands such as palsplit and raster SHOULD also work. There are still some relatively small issues with stability (in the interpreter particularly) so some of the interrupt hijinks/cheats that I have to perform to get this running in STOS may need further fiddling.

The source and an example prog are attached - example uses the Missing Link and Misty extensions. Feel free to modify the source any way you wish (including to see if you can improve stability).

2) I've made a very small fix to improve the stability of Missing Link timer B commands such as raster, which currently are affected with a gross level of jitter. Again, this fix preserves joystick input. Source and example attached.

Have fun x
You do not have the required permissions to view the files attached to this post.
mlynn1974
Atari Super Hero
Atari Super Hero
Posts: 764
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: New STOS modules, including syncscroll

Post by mlynn1974 »

Hi Thomas,

That's wonderful. Thanks for that. This opens the door to lots of demo effects to be written in STOS. :cheers:

Regards,
Michael.
Still got, still working: Atari 4Mb STe, MegaST 2, 520STFM (x2), 2.5Mb STF, Atari 2600JR, Flashback 8 Gold.
Hardware: PC720B, Cumana CSA 354, Ultimate Ripper, Discovery Cartridge, Blitz Turbo, Synchro Express II (US and UK Versions).
User avatar
darklight
Captain Atari
Captain Atari
Posts: 309
Joined: Mon May 08, 2006 7:53 pm
Location: Brisbane
Contact:

Re: New STOS modules, including syncscroll

Post by darklight »

They thomas3 - thanks for pointing me in this direction. Just wondering is there a way to get sprites to work with this technique? Seems normal stos sprites do not work.
Storm Clouds over the Western Front - my WW1 2D dogfighting game for windows
2D Flight Sims - side scrolling aerial combat games
User avatar
thomas3
Captain Atari
Captain Atari
Posts: 400
Joined: Tue Apr 11, 2017 8:57 pm

Re: New STOS modules, including syncscroll

Post by thomas3 »

Haha yep. They won't, because they run on interrupt, but tbh I'd really recommend avoiding the default STOS sprite routines.

Can I recommend the Missing Link extension, and in particular the BOB command? :)
User avatar
darklight
Captain Atari
Captain Atari
Posts: 309
Joined: Mon May 08, 2006 7:53 pm
Location: Brisbane
Contact:

Re: New STOS modules, including syncscroll

Post by darklight »

thomas3 wrote: Sat Jun 19, 2021 2:05 pm Can I recommend the Missing Link extension, and in particular the BOB command? :)
I will give Missing Link / Bobs a go - thanks.
Storm Clouds over the Western Front - my WW1 2D dogfighting game for windows
2D Flight Sims - side scrolling aerial combat games
User avatar
thomas3
Captain Atari
Captain Atari
Posts: 400
Joined: Tue Apr 11, 2017 8:57 pm

Re: New STOS modules, including syncscroll

Post by thomas3 »

Hey,
Notwithstanding that Facebook is a tool of the apocalypse, there's a very helpful and active STOS user community group on there who can give you support around this kind of thing. Perhaps check it out if you get stuck.
Encolpius
Atari freak
Atari freak
Posts: 58
Joined: Mon Aug 27, 2018 12:46 pm

Re: New STOS modules, including syncscroll

Post by Encolpius »

thomas3 wrote: Sun Jun 20, 2021 8:37 am Hey,
Notwithstanding that Facebook is a tool of the apocalypse, there's a very helpful and active STOS user community group on there who can give you support around this kind of thing. Perhaps check it out if you get stuck.
Not for me there isn't; I got 30 days' Facebook Jail for advocating the chronoassassination of Mark Zuckerberg.
User avatar
darklight
Captain Atari
Captain Atari
Posts: 309
Joined: Mon May 08, 2006 7:53 pm
Location: Brisbane
Contact:

Re: New STOS modules, including syncscroll

Post by darklight »

So I got bobs working, but I need to overwrite the bob with the background again before moving it - otherwise it'll leave a trail. I'm guessing I'd need to do some sort of memory copy from a background buffer somewhere containing a copy of the original two screens - does this sound right? Do you have a favoured stos command for doing this?
Storm Clouds over the Western Front - my WW1 2D dogfighting game for windows
2D Flight Sims - side scrolling aerial combat games
User avatar
thomas3
Captain Atari
Captain Atari
Posts: 400
Joined: Tue Apr 11, 2017 8:57 pm

Re: New STOS modules, including syncscroll

Post by thomas3 »

Hi,
That's right! Try the BLIT Missing Link command for this. :)
Post Reply

Return to “STOS”