English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 26 December 2011, 16:55   #1
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
X-Copy source code released!

Still in time... Here's the full source code for the most popular copy program on the Amiga:

http://www.kryoflux.com/download/xco...ource_2011.zip


Enjoy! As soon as it's been published on Aminet, I would ask the mods to change the link to make it permanent.
mr.vince is offline  
Old 26 December 2011, 18:58   #2
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
Cool - You think this could be the basis for someone to create a new copier?

I still think a cheap Cyclone - Image to disk writer could be cool.
Retro1234 is offline  
Old 26 December 2011, 19:19   #3
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
For what? ADOS disks? I think there are better programs these days. As for copy protected stuff... There are better programs, too. Given the limitations and the pricing of these, it might be cheaper getting a KryoFlux or similar.

But feel free to surprise me / us.
mr.vince is offline  
Old 26 December 2011, 20:51   #4
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
Cool! :-)
Jope is offline  
Old 26 December 2011, 20:58   #5
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,644
Awesome! Was this reverse-engineered?
Amiga1992 is offline  
Old 26 December 2011, 21:44   #6
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 511
It's the original source code (commented in German).
hitchhikr is offline  
Old 26 December 2011, 23:19   #7
Carlos Ace
Junior Member
 
Carlos Ace's Avatar
 
Join Date: Jul 2001
Location: Lusitania
Posts: 455
Send a message via ICQ to Carlos Ace
Awesome !!!!
Carlos Ace is offline  
Old 26 December 2011, 23:34   #8
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
Indeed, this is the original source dated 09.1992; it comes straight from the ASI / Cachet master disk archive.

Enjoy and spread (the word).
mr.vince is offline  
Old 27 December 2011, 14:39   #9
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
The source is incomplete, or at least it requires some work to complete it.

The include files offsets.i and macros.i are missing, needed for config.asm.
gfx/solopic.raw and gfx/solopic_d.raw are missing. They have to be created from the IFF files first.
gfx/xcopypic.pp and gfx/xcopypic_d.pp are missing. They probably have to be created from the IFF files too and then packed with PowerPacker.
gfx/circle.raw is missing. No idea how to make it.

I stopped at that point. There may be more.

Last edited by phx; 27 December 2011 at 14:47.
phx is offline  
Old 27 December 2011, 15:31   #10
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
Well that's what's left. It's the "complete" source directory as submitted by the maintainer (Hans Kurent in this case).

But I think I remember seeing a batch file that would call third party converters and the like to converte the IFFs etc. Did you check?

Last edited by mr.vince; 27 December 2011 at 15:48. Reason: typo.
mr.vince is offline  
Old 27 December 2011, 17:34   #11
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
It is certainly possible to reproduce those raw images, as long as the IFF originals are present.

But circle.raw is missing completely. Also no IFF. Maybe we can get it from an original XCopy executable if we know what it is.
phx is offline  
Old 27 December 2011, 19:12   #12
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
I have no idea what circle would have been used for... X-copy only has a mouse pointer, and bulbs, off, illuminated and with a checkmark.

I have the complete master disks here, about 150. Only one has source files, the rest is binaries only. If you intend to rebuild it, I will be glad to help as much as I can...
mr.vince is offline  
Old 27 December 2011, 20:50   #13
Supamax
Da Digger :)
 
Supamax's Avatar
 
Join Date: Nov 2008
Location: Monza, Italy
Posts: 2,822
Great news!

A new feature I would like to see added is the ability to save/load to/from hard disk (a feature PowerCopy ever had).
Supamax is offline  
Old 27 December 2011, 21:57   #14
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
You have PowerCopy for that...
mr.vince is offline  
Old 27 December 2011, 22:15   #15
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
I had assumed the source was already leaked, based on the huge number of unofficial hacks of X-Copy that exist. But I guess they were just done via disassembly.
Minuous is offline  
Old 28 December 2011, 16:41   #16
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Attached you find the fixed source.

I added the missing raw images (ripped from the executable):
circle.raw, solopic.raw, solopic_d.raw, xcopypic.raw, xcopypic_d.raw

And the Powerpacked version of xcopypic.pp, xcopypic_d.pp and solo.pp, which are all needed to build the executable.

The missing macros.i for config.asm had been reconstructed.

Notes:

- I wrote a makefile to build XCopyPro with vasm. AsmOne could work too, Devpac not, because of the missing BASEREG directive.
- A Powerpacker cruncher is missing. I commented the line in the makefile. Anybody got a portable PP cruncher source?
- To build XCopy_config you need the assember includes from the NDK and the amiga.lib for the _LVOxxx symbols.

I can build it and it works, on configurations up to 68020/ECS. To make it work on higher configurations the program has to be fixed.

I do not intend to continue working on the source. I just had some free hours and some fun to make it assemble.
Attached Files
File Type: lha xcopy_src.lha (166.3 KB, 470 views)
phx is offline  
Old 28 December 2011, 18:06   #17
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
Cool... I will rebuild the complete thing and then ask the guys at Aminet to archive this version instead...
mr.vince is offline  
Old 28 December 2011, 23:37   #18
acd2001
Zone Friend
 
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 139
Keyboard layout in FORMAT is completly broken.

Search in xio.s

ktab DC.B "`1234567890-=\",$00,"0qwertyuiop[]",$00 ; $00-$1C

and replace with

ktab DC.B "`1234567890-=",$5C,$00,"0qwertyuiop[]",$00 ; $00-$1C

\ in misinterpreted in vasm, simply replaced it with $5C.
Attached Files
File Type: s xio.s (91.7 KB, 307 views)
acd2001 is offline  
Old 28 December 2011, 23:48   #19
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
You're right! Thanks. I didn't notice that in my quick test.

Like PhxAss vasm treats the '\' as an escape character in its default mode. To fix that either assemble with -devpac option for DevPac compatibility mode, or replace the '\' in the source by '\\'.
phx is offline  
Old 29 December 2011, 00:36   #20
acd2001
Zone Friend
 
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 139
Another bug in FORMAT, QINSTALL and QFORMAT.

Xcopy bootblock has incorrect checksum.
in xcop.s search for:

DC.L $26ba261a
ELSE
DC.L $71E12C82

and replace with

DC.L $BA55926B
ELSE
DC.L $C0A6DDA9

Last edited by acd2001; 29 December 2011 at 00:49.
acd2001 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
My old source code gemanix Coders. General 36 09 July 2017 13:33
Source Code camelord support.Games 2 06 August 2010 17:45
AWeb 3.5.09 source code Minuous request.Apps 1 05 August 2010 12:53
Source Code Thalion project.WinUAE - Kaillera 3 28 April 2006 09:55
Modplug Tracker source code released Kodoichi Amiga scene 3 26 January 2004 23:29

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:09.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09613 seconds with 14 queries