English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 26 December 2011, 17:55   #1
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
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  
AdSense AdSense  
Old 26 December 2011, 19:58   #2
Retro1234
5150

Retro1234's Avatar
 
Join Date: Jun 2006
Location: Sycophantazia
Posts: 3,775
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, 20:19   #3
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
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, 21:51   #4
Jope
-
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 37
Posts: 6,354
Send a message via Skype™ to Jope
Cool! :-)
Jope is offline  
Old 26 December 2011, 21:58   #5
Akira
Registered User

Akira's Avatar
 
Join Date: May 2001
Location: New York
Posts: 18,269
Awesome! Was this reverse-engineered?
Akira is offline  
Old 26 December 2011, 22:44   #6
hitchhikr
Registered User

 
Join Date: Jun 2008
Location: somewhere
Posts: 361
It's the original source code (commented in German).
hitchhikr is offline  
Old 27 December 2011, 00:19   #7
Carlos Ace
Junior Member

Carlos Ace's Avatar
 
Join Date: Jul 2001
Location: Lusitania
Posts: 384
Send a message via ICQ to Carlos Ace
Awesome !!!!
Carlos Ace is offline  
Old 27 December 2011, 00:34   #8
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
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, 15:39   #9
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
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 15:47.
phx is offline  
Old 27 December 2011, 16:31   #10
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
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 16:48. Reason: typo.
mr.vince is offline  
Old 27 December 2011, 18:34   #11
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
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, 20:12   #12
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
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, 21:50   #13
Supamax
Da Digger :)

Supamax's Avatar
 
Join Date: Nov 2008
Location: Monza, Italy
Posts: 2,508
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, 22:57   #14
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
You have PowerCopy for that...
mr.vince is offline  
Old 27 December 2011, 23:15   #15
Minuous
Coder/webmaster/gamer
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 1,653
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, 17:41   #16
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
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, 241 views)
phx is offline  
Old 28 December 2011, 19:06   #17
mr.vince
Cheesy crust

mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 41
Posts: 1,374
Cool... I will rebuild the complete thing and then ask the guys at Aminet to archive this version instead...
mr.vince is offline  
Old 29 December 2011, 00:37   #18
acd2001
Zone Friend
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 35
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, 145 views)
acd2001 is offline  
Old 29 December 2011, 00:48   #19
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,019
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, 01:36   #20
acd2001
Zone Friend
acd2001's Avatar
 
Join Date: Nov 2005
Location: Italy
Posts: 35
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 01:49.
acd2001 is offline  
AdSense AdSense  
 


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 14:33
Source Code camelord support.Games 2 06 August 2010 18:45
AWeb 3.5.09 source code Minuous request.Apps 1 05 August 2010 13:53
Source Code Thalion project.WinUAE - Kaillera 3 28 April 2006 10:55
Modplug Tracker source code released Kodoichi Amiga scene 3 27 January 2004 00: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 04:33.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.36134 seconds with 12 queries