Welcome, Guest. Please login or register.

Author Topic: Duke Nukem 3D new version for 68060  (Read 11957 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Cosmos AmigaTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 954
    • Show only replies by Cosmos Amiga
    • http://leblogdecosmos.blogspot.com
Duke Nukem 3D new version for 68060
« on: May 08, 2016, 08:35:29 AM »
A new version of Duke Nukem 3D v0.4 is available for 68060 on my forum (the GHOAC for Good Home Of Amiga Classic) : http://www.68kforever.com/forums/showthread.php?1-New-version-is-coming

Some improvements :
- all mul & div 64 bit removed, much better for 060
- the Duke3D: assign removed
- the Duke3D: assign for AmigaSetup removed too
- added a $VER Duke Nukem 3D 0.4 by Dante, Bifat and Cosmos in the main .exe


I'm looking for good coders to optimize the mul64 routines and later the div64 if Frank agree : you are welcome !

Offline lionstorm

Re: Duke Nukem 3D new version for 68040/68060
« Reply #1 on: May 08, 2016, 05:23:04 PM »
link broken !

The requested URL /forums/showthr...ming&p=1 was not found on this server.
 

Offline Lizard

  • Full Member
  • ***
  • Join Date: May 2007
  • Posts: 195
    • Show only replies by Lizard
 

Offline Acill

Re: Duke Nukem 3D new version for 68040/68060
« Reply #3 on: May 08, 2016, 06:01:24 PM »
Thanks for the info! I will try it out.
« Last Edit: May 08, 2016, 06:03:51 PM by Acill »
Proud Retired Navy Chief!

A4000T - CSPPC - Mediator
Powerbook G4 15", 17"
Powermac G5 2GHZ
AmigaOne X5000
Need Amiga recap or other services in the US? Visit my website at http://www.acill.com and take a look or on facebook at http://facebook.com/acillclassics
 

Offline lionstorm

Re: Duke Nukem 3D new version for 68040/68060
« Reply #4 on: May 08, 2016, 07:33:29 PM »
Quote from: Lizard;808100
Here is the correct link: http://www.68kforever.com/forums/showthread.php?1-New-version-is-coming&p=1


thx !

well apparently you have to register to be able to download and test it !
 

Offline utri007

Re: Duke Nukem 3D new version for 68040/68060
« Reply #5 on: May 08, 2016, 09:07:52 PM »
Cosmo, could you upload it to aminet?

Thanks, Amiga deserves decent version of Duke Nukem 3D
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline Cosmos AmigaTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 954
    • Show only replies by Cosmos Amiga
    • http://leblogdecosmos.blogspot.com
Re: Duke Nukem 3D new version for 68040/68060
« Reply #6 on: May 09, 2016, 05:27:18 AM »
Ok, I'll put it on Aminet !

A little video : https://www.youtube.com/watch?v=q9CHMV4JIuw


:)

Offline TheDaddy

  • Hero Member
  • *****
  • Join Date: Feb 2005
  • Posts: 1154
    • Show only replies by TheDaddy
    • http://www.loriano.pwp.blueyonder.co.uk
Re: Duke Nukem 3D new version for 68040/68060
« Reply #7 on: May 09, 2016, 06:41:02 AM »
WOW! The difference! :)
 

Offline NovaCoder

Re: Duke Nukem 3D new version for 68040/68060
« Reply #8 on: May 09, 2016, 07:45:54 AM »
Didn't I already port this years ago?

[youtube]Mef6qbN1B3Y[/youtube]
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline jltursan

  • Jr. Member
  • **
  • Join Date: Jan 2016
  • Posts: 77
    • Show only replies by jltursan
    • https://sites.google.com/site/msxpage/
Re: Duke Nukem 3D new version for 68040/68060
« Reply #9 on: May 09, 2016, 07:47:00 AM »
Unbelievable!, and all thanks replacing mul/div 64 bits instructions?
Good work indeed!

The video from NovaCoder seems a slower version; much different rig setup?
 

Offline Cosmos AmigaTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 954
    • Show only replies by Cosmos Amiga
    • http://leblogdecosmos.blogspot.com
Re: Duke Nukem 3D new version for 68040/68060
« Reply #10 on: May 09, 2016, 08:58:54 AM »
Quote from: jltursan;808118
Unbelievable!, and all thanks replacing mul/div 64 bits instructions?
Good work indeed!

The video from NovaCoder seems a slower version; much different rig setup?

The Nova version is only AGA, that's why I updated the RTG Dante's version

My video show a 3dfx screen !



:)

Offline Cosmos AmigaTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 954
    • Show only replies by Cosmos Amiga
    • http://leblogdecosmos.blogspot.com
Re: Duke Nukem 3D new version for 68040/68060
« Reply #11 on: May 09, 2016, 09:01:17 AM »
Quote from: TheDaddy;808115
WOW! The difference! :)

I guess a problem somewhere : why I got only 1 fps with the v0.4 ?
Last 68060.library 46.16 installed with Rom2Fast...
I saw another video with this time an Apollo 1260, and Duke run fine (https://www.youtube.com/watch?v=zRdgaRoKdJc)

The next v0.5 is coming soon with a faster Smul64 routine using now the Fpu

Thanks to Matthey for this help !

Offline ExiE_

  • Newbie
  • *
  • Join Date: Jun 2007
  • Posts: 26
    • Show only replies by ExiE_
    • http://amiga.czex.com
Re: Duke Nukem 3D new version for 68040/68060
« Reply #12 on: May 09, 2016, 01:45:54 PM »
Quote from: Cosmos;808122
The next v0.5 is coming soon with a faster Smul64 routine using now the Fpu

Using FPU will ruin this version for Vampire owners or not? (Just curious)
 

Offline Cosmos AmigaTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 954
    • Show only replies by Cosmos Amiga
    • http://leblogdecosmos.blogspot.com
Re: Duke Nukem 3D new version for 68040/68060
« Reply #13 on: May 09, 2016, 03:07:25 PM »
Quote from: ExiE_;808126
Using FPU will ruin this version for Vampire owners or not? (Just curious)

Still use the v0.3 on this A600 accelerator...

Explanation : the instructions mul64 & div64 are NOT inside the 68060, so the 68060.library emulate them, and very slowly...

I replaced all of them with instructions who are really inside the 060, so no emulation anymore = big speedup... Oups, still one mul64 into the v0.4, sorry, was in the libnix... The v0.5 will fix that...

I have a new version of BlitzQuake who have the same problem but with sinus & cosinus : I get now 4 fps faster !!


:)

Offline cgutjahr

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 697
  • Country: 00
    • Show only replies by cgutjahr
Re: Duke Nukem 3D new version for 68040/68060
« Reply #14 on: May 09, 2016, 04:33:14 PM »
Quote from: Cosmos;808121
The Nova version is only AGA, that's why I updated the RTG Dante's version

I don't understand - aren't we talking C code here, or did Dante optimize the whole thing by porting parts of it to ASM? Libnix certainly is C.

Quote

Ok, I'll put it on Aminet !

That requires honoring Duke Nukem's license (GPL). I'm not sure how to do that, if you just patch other people's binaries. But at the very least, the license needs to be mentioned and you need to include an offer to provide interested parties with a way to easily duplicate what you did. I doubt that "I replaced all mul64/div64 instances with 68060 friendly opcodes" will suffice...

Edit: Your forum seems to have a minor SPAM problem: three postings from you, followed by eleven pages of spam postings...