26 December 2011, 16:55 | #1 |
Cheesy crust
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. |
26 December 2011, 18:58 | #2 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,816
|
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. |
26 December 2011, 19:19 | #3 |
Cheesy crust
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. |
26 December 2011, 20:51 | #4 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,916
|
Cool! :-)
|
26 December 2011, 20:58 | #5 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,656
|
Awesome! Was this reverse-engineered?
|
26 December 2011, 21:44 | #6 |
Registered User
Join Date: Jun 2008
Location: somewhere else
Posts: 524
|
It's the original source code (commented in German).
|
26 December 2011, 23:19 | #7 |
Junior Member
|
Awesome !!!!
|
26 December 2011, 23:34 | #8 |
Cheesy crust
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). |
27 December 2011, 14:39 | #9 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
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. |
27 December 2011, 15:31 | #10 |
Cheesy crust
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. |
27 December 2011, 17:34 | #11 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
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. |
27 December 2011, 19:12 | #12 |
Cheesy crust
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... |
27 December 2011, 20:50 | #13 |
Da Digger :)
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). |
27 December 2011, 21:57 | #14 |
Cheesy crust
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
|
You have PowerCopy for that...
|
27 December 2011, 22:15 | #15 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,675
|
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.
|
28 December 2011, 16:41 | #16 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
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. |
28 December 2011, 18:06 | #17 |
Cheesy crust
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...
|
28 December 2011, 23:37 | #18 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 140
|
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. |
28 December 2011, 23:48 | #19 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,545
|
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 '\\'. |
29 December 2011, 00:36 | #20 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 140
|
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. |
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 |
|
|