Outrun with frame counter

All about ST/STE games

Moderators: simonsunnyboy, Mug UK, Doctor Bob Gordon, ICS, Moderator Team

swapd0
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 100
Joined: Thu Dec 13, 2007 8:56 pm

Re: Outrun with frame counter

Postby swapd0 » Fri May 17, 2019 7:22 am

hmmm, remember that I told you how I did the frame counter, I haven't helped you with the copy protection.

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Fri May 17, 2019 8:47 am

Swap d0 you are right , I mixed up the names :oops: .
It was mlynn1974 that help with the disassembly and the copy protection, I am really sorry to both of you...
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 1724
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Outrun with frame counter

Postby Cyprian » Sun May 19, 2019 12:18 am

Outrun - Mega Drive vs. Amiga

Lynx II / Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
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.appspot.com/

EvilFranky
Atari Super Hero
Atari Super Hero
Posts: 870
Joined: Thu Sep 11, 2003 10:49 pm
Location: UK
Contact:

Re: Outrun with frame counter

Postby EvilFranky » Sun May 19, 2019 12:26 am

Another port they can blame the ST for :lol:

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12774
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Outrun with frame counter

Postby wongck » Sun May 19, 2019 1:46 am

Blondie on Amiga seems to have a full bodied hair :lol: :wink: :roll:
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
Marakatti
Atari God
Atari God
Posts: 1361
Joined: Sat Jun 18, 2005 9:58 am
Location: Finland
Contact:

Re: Outrun with frame counter

Postby Marakatti » Sun May 19, 2019 6:42 am

EvilFranky wrote:Another port they can blame the ST for :lol:

I think they should be grateful to have a version at all.

If there was no ST i think they would not have anything as the Amiga market was way too small and the development costs too high at the time. Amiga got ports because they were cheap and fast to develop in the early years of Amiga.

Things ofcourse turned around later and we started to get lazy Amiga ports which didn't support ST architecture very well.
-------------< Member of Atarimania >-----------
-< ST / STe / Falcon030 / TT030 archiver >-
-------------> www.atarimania.com <-------------

User avatar
CiH
Atari God
Atari God
Posts: 1136
Joined: Wed Feb 11, 2004 4:34 pm
Location: Middle Earth (Npton) UK
Contact:

Re: Outrun with frame counter

Postby CiH » Sun May 19, 2019 9:23 am

Another port they can blame the ST for :lol:

I can almost hear the low moaning sounds emanating from the English Amiga Board now! :mrgreen:
"Where teh feck is teh Hash key on this Mac?!"

EvilFranky
Atari Super Hero
Atari Super Hero
Posts: 870
Joined: Thu Sep 11, 2003 10:49 pm
Location: UK
Contact:

Re: Outrun with frame counter

Postby EvilFranky » Sun May 19, 2019 9:26 am

CiH wrote:
Another port they can blame the ST for :lol:

I can almost hear the low moaning sounds emanating from the English Amiga Board now! :mrgreen:


:lol: :lol: :lol:

User avatar
christos
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2451
Joined: Tue Apr 13, 2004 8:24 pm
Location: Greece
Contact:

Re: Outrun with frame counter

Postby christos » Sun May 19, 2019 3:54 pm

And don't forget that when a game is worse on the Amiga it's a lazy port but if it's worse on the st, there was nothing the programmers could do.

mlynn1974
Captain Atari
Captain Atari
Posts: 277
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: Outrun with frame counter

Postby mlynn1974 » Sun May 19, 2019 10:33 pm

Ah... the Mega Drive version. It was released in 1991 I think and was programmed by Robuto Games who also did the Saturn version.
It's not fair to compare them really because they had access to resources that US Gold\Probe and ultimately Ice Software (Iain Morrison) didn't have i.e. access to people at Sega and probably original hardware, code and graphics.

The Amiga version came out a year after the ST version. I don't know if they tried to make the Amiga version better but in the end had to settle for new sound effects new music by David Whittaker\Jas C. Brooke.

Remember the screenshots on the back of the 8-bit version box:
https://segaretro.org/images/6/6a/OutRun_CPC_EU_Box.jpg
In the ST mock up screen the car looked different. My mate said, "the car is too flat". When he got his ST he said, "Outrun is different from the screenshots".

I wonder if Atari did a deal to keep the Amiga version off the market so they could release it with the 20 Games Power Pack and hence sell more STs?
Still got, still working: Atari 4Mb STe, 520STFM, 2.5Mb STF.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 21, 2019 8:08 am

Hi
some quick update.
Been optimizing the print road routine the last couple of days.
can't really see anything on the FPS.

and some good / bad news.
the good new its as easy as i expected to change the graphic.
the bad news it look like crap :'(

Edit: Found some info. none of the side graphic (maybe also the cars, not tested, yet)
are not shown if there full graphic side, they are max showed at around 66% size.

palm tree from the arcade game
Palm.png


original palm converted to outrun palette and places in the game.

Palm1.png


Palm2.png
You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

mlynn1974
Captain Atari
Captain Atari
Posts: 277
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: Outrun with frame counter

Postby mlynn1974 » Tue May 21, 2019 8:34 pm

Those palm trees look cool, however I have realised that in the arcade version the palm trees are flipped horizontally if they are on the right hand side of the road.

I don't know if it's possible to have other sprites for the right hand side or if it would take too much memory to scale and pre-shift 2 palm trees?
Still got, still working: Atari 4Mb STe, 520STFM, 2.5Mb STF.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 21, 2019 8:49 pm

some object get mirror in the game, there are a software mirror routine, but i could image that the information about if a object is mirrored are store in the level data, so to get the mirrored one need to make a map editor :D

btw the object are not pre-shifted, only pre-zoomed i think.
but now its a STE version, so in theory we could use 4mb :D
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 21, 2019 9:03 pm

If you look at this animated gif, you can see its missing the sprite in full size, it look like the palm tree is getting smaller.
i will see if i can fin the place were the z-size is getting chose.

output_xLCzUY.gif
You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
dhedberg
Atari God
Atari God
Posts: 1123
Joined: Mon Aug 30, 2010 8:36 am
Contact:

Re: Outrun with frame counter

Postby dhedberg » Tue May 21, 2019 9:28 pm

Make sure you make use of the 4 MB. No point in trying to limit the memory usage!
Daniel, New Beat - http://newbeat.atari.org. Like demos? Have a look at our new Falcon030 demo and feel the JOY.

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 21, 2019 10:49 pm

dhedberg wrote:Make sure you make use of the 4 MB. No point in trying to limit the memory usage!


:thumbs:
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 21, 2019 10:55 pm

here is a couple of more shots.
just for the fun of it i replaces the hut, i know the palette could be better, but it due the the poor color choice they made.

Boat Hut.png


boat hut1.png


i was also thinking of maybe they chose not to have the last zoom steep (turn off) due the the poor frame rate.
the graphic gets quite big when they are in full size....
You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Thu May 23, 2019 9:32 am

Need some fresh eyes on this optimizations :D
i would say the should be the same but the optimized should be one Muls short :D

D3 can either be 1 or -1

Original code:

Code: Select all

L0264:           
         MOVE.W    D4,D5
                  LSR.W     #1,D5
                  BCC.S     L0266
L0265:           
       CMP.B     D0,D5
                  BCC.S     L0269
                  MOVE.W    D5,D0
                  MULS      D3,D0
                  BRA.S     L0268
L0266:           
       TST.B     D3
                  BPL.S     L0267
                  SUBQ.W    #1,D5
L0267:           
      BRA.S     L0265
L0268:           
       MOVE.W    D0,14(A6)
L0269:           
       CLR.W     18(A6)
                  BTST      #0,D4
                  BNE.S     L026A
                  MOVE.W    #L_WIDTH,18(A6) ;  L_WIDTH have the value of 24
                  LSR       18(A6)
                  NEG.W     18(A6)



D3 can either be 1 or -1
New Code (Optimized)

Code: Select all


L0264:           
            Move.w    D4,D5
            Lsr.w     #1,D5
            Blt.s     L0265

            TST.B   D3
            Bpl.s      L0265
            
            Subq.w   #1,D5     ; D3 Is Minus
            CMP.B   D0,D5
            Bhs.s   L0269
            Move.w   D5,D0
            Neg.w   D0
            Bra.s      L0268   
L0265:         
            CMP.B   D0,D5
            Bhs.s   L0269
            Move.w   D5,D0

L0268:           
            Move.w    D0,14(A6)
            
L0269:           
            Moveq    #0,D0    ; D0 gets Clear in the next routine
            Move.w   D0,18(A6)
            BTST     #0,D4
            Bne.s    L026A
            Move.w   #-12,18(A6)  ; L_WIDTH have the value of 24

Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

jd
Captain Atari
Captain Atari
Posts: 355
Joined: Thu Nov 09, 2006 12:38 pm
Location: Ruislip, UK

Re: Outrun with frame counter

Postby jd » Sat May 25, 2019 10:21 pm

Just played this on my Mega 1 (TOS 1.02) much faster and smoother than I remember on my STFM.

Love it, keep improving it. :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Sat May 25, 2019 11:25 pm

jd wrote:Just played this on my Mega 1 (TOS 1.02) much faster and smoother than I remember on my STFM.

Love it, keep improving it. :)


Many thx :)
here is the latest build, i hope it works :D
https://www.dropbox.com/s/zsodbzwgbmkhz ... n.zip?dl=0

btw i have not been working so much on it the last couple of days, been busy whit being sick :lol:
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Sun May 26, 2019 8:56 am

Hi
i converted a sign, just copy it into the outrun folder.
DANGER.zip


Old Sign
Danger Old.png


New sign.
Danger New.png
You do not have the required permissions to view the files attached to this post.
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Mon May 27, 2019 9:19 pm

i have just uploaded a new video. of the latest version vs the original version.....

Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)

User avatar
dhedberg
Atari God
Atari God
Posts: 1123
Joined: Mon Aug 30, 2010 8:36 am
Contact:

Re: Outrun with frame counter

Postby dhedberg » Mon May 27, 2019 10:09 pm

Looking good!
Daniel, New Beat - http://newbeat.atari.org. Like demos? Have a look at our new Falcon030 demo and feel the JOY.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12774
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Outrun with frame counter

Postby wongck » Tue May 28, 2019 12:32 am

Great jobs !! Looks a lot faster and better frame rates.
noticeable when the car crashes and flips over..... may be the slo-mo car flip gives a better dramatic effect like they do in the movies?
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
FedePede04
Atari God
Atari God
Posts: 1211
Joined: Fri Feb 04, 2011 12:14 am
Location: Denmark
Contact:

Re: Outrun with frame counter

Postby FedePede04 » Tue May 28, 2019 6:38 am

dhedberg wrote:Looking good!

many thanks :cheers:
Atari will rule the world, long after man has disappeared

sometime my English is a little weird, Google translate is my best friend :)


Social Media

     

Return to “Games - General”

Who is online

Users browsing this forum: No registered users and 3 guests