Hi there,
I seem to remember there being a smal .PRG that you could chuck in an auto folder to get compiled STOS code to work with TOS 2.06, but is there any way to actually patch the programs themselves in a hex editor?
Any help/guidance would be appreciated.
Patching Compiled STOS Programs to work with TOS 2.06
Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team
- Heavy Stylus
- Atari Super Hero
- Posts: 776
- Joined: Wed Dec 14, 2005 12:59 pm
- Location: Exeter, UK
- Contact:
Patching Compiled STOS Programs to work with TOS 2.06
http://www.rgcd.co.uk
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
Facebook
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
- Klapauzius
- The Klaz
- Posts: 4302
- Joined: Sun Jul 04, 2004 7:55 am
- Location: Bavaria
- Contact:
Do you have a specific title in mind?
If so, I could have a go with it...
I remember the cause for some (later) STOS games not working was that the game assumes TOS 2.x being a TOS 1.02 and overwriting TOS variables then...
If so, I could have a go with it...

I remember the cause for some (later) STOS games not working was that the game assumes TOS 2.x being a TOS 1.02 and overwriting TOS variables then...
http://www.klapauzius.net
http://dbug.kicks-ass.net/klaz
The tears are welling in my eyes again, I need twenty big buckets to catch them in, twenty pretty girls to carry them down, twenty deep holes to bury them in.
http://dbug.kicks-ass.net/klaz
The tears are welling in my eyes again, I need twenty big buckets to catch them in, twenty pretty girls to carry them down, twenty deep holes to bury them in.
- Heavy Stylus
- Atari Super Hero
- Posts: 776
- Joined: Wed Dec 14, 2005 12:59 pm
- Location: Exeter, UK
- Contact:
Hi there,
Thanks for the offer, but I was wondering if it was something that I could learn myself.
I know there's a small program that GGN wrote (I think) that patches STOS code if you chuck it in an auto folder and load the game or program from disk (I think MUG told me abut this), but I was interested to find out how you'd go about 'bolting' this on to the front of an executable so that it is loaded before the STOS code.
Is there a 'one-rule-for-all' solution for this type of thing?
Thanks for the offer, but I was wondering if it was something that I could learn myself.
I know there's a small program that GGN wrote (I think) that patches STOS code if you chuck it in an auto folder and load the game or program from disk (I think MUG told me abut this), but I was interested to find out how you'd go about 'bolting' this on to the front of an executable so that it is loaded before the STOS code.
Is there a 'one-rule-for-all' solution for this type of thing?
http://www.rgcd.co.uk
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
Facebook
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
- Heavy Stylus
- Atari Super Hero
- Posts: 776
- Joined: Wed Dec 14, 2005 12:59 pm
- Location: Exeter, UK
- Contact:
I think I've found what I'm looking for:
http://www.btinternet.com/~AnthonyJ/Ata ... fixer.html
I assume I can fix a compiled STOS prg with this to work with TOS 2.06...
http://www.btinternet.com/~AnthonyJ/Ata ... fixer.html
I assume I can fix a compiled STOS prg with this to work with TOS 2.06...
http://www.rgcd.co.uk
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
Facebook
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
- Mug UK
- Administrator
- Posts: 11545
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
GenFixer will work as it patches the .PRG file.
GGN's was a two-part fix - the one was a .PRG that went into the AUTO folder and was a v2 for the original fix he did which patched the original .PRG with a new header for the table that STOS uses in all it's compiled programs.
The other option would be to get someone to recompile the STOS compiler based on the source code that's on the ClickTeam website but include a larger table this time which would help with the uncompiled stuff out there.
GGN's was a two-part fix - the one was a .PRG that went into the AUTO folder and was a v2 for the original fix he did which patched the original .PRG with a new header for the table that STOS uses in all it's compiled programs.
The other option would be to get someone to recompile the STOS compiler based on the source code that's on the ClickTeam website but include a larger table this time which would help with the uncompiled stuff out there.
My main site: http://www.mug-uk.co.uk - slowly digging up the bits from my past (and re-working a few): Atari ST, Sega 8-bit (game hacks) and NDS (Music ripping guide).
I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
I develop a free Word (for Windows) add-in that's available for Word 2007 upwards. It's a fix-it toolbox that will allow power Word users to fix document errors. You can find it at: http://www.mikestoolbox.co.uk
- Heavy Stylus
- Atari Super Hero
- Posts: 776
- Joined: Wed Dec 14, 2005 12:59 pm
- Location: Exeter, UK
- Contact:
Talking about uncompiled STOS stuff - my recent purchase has motivated one of my old friends to dig out his atari and HD from the attic at his parents house. He's got loads of programs on that he coded back in the day - database software, utils and even a couple of unreleased games...
He's completely forgotten how to use STOS though, so he might need someone to tidy them up a bit (if anyone wants them). I remember he completed a fairly decent snake game...
One of the games was a WIP pltformer we were working on. It was really rubbish (we were kids), but I'm looking forward to seeing it again because I did all the graphics for it!
I'll post pictures if we get his kit up and running.
He's completely forgotten how to use STOS though, so he might need someone to tidy them up a bit (if anyone wants them). I remember he completed a fairly decent snake game...
One of the games was a WIP pltformer we were working on. It was really rubbish (we were kids), but I'm looking forward to seeing it again because I did all the graphics for it!


I'll post pictures if we get his kit up and running.
http://www.rgcd.co.uk
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus
Facebook
The Essential Discmag for Retro Gamers!
http://www.myspace.com/heavystylus
Usual myspace crap.
http://tinyurl.com/heavystylus