English Amiga Board


Go Back   English Amiga Board > Requests > request.Apps

 
 
Thread Tools
Old 18 September 2016, 05:19   #1
amiwolf
Registered User

 
Join Date: Aug 2015
Location: Emerald City
Posts: 33
PD Addbuffers V38.7 by Stephan Rupprecht. [SOLVED]

Does anyone have the Public Domain Addbuffers V38.7 by Stephan Rupprecht? V38.8 crashes on a 68000 and I'm hoping the earlier version doesn't.

Alternatively, please recommend a backwards compatible addbuffers replacement that accepts multiple drives with one command, running on a 68000 A600 under AOS3.1. Thank you for any help.

SOLVED: 68000 issue fixed in V38.8 thanks to PeterK.

Last edited by amiwolf; 18 September 2016 at 07:54. Reason: Problem solved.
amiwolf is offline  
Old 18 September 2016, 06:23   #2
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
Aminet lists 38.0 and 38.4 by Stephan Rupprecht.
emufan is offline  
Old 18 September 2016, 06:32   #3
amiwolf
Registered User

 
Join Date: Aug 2015
Location: Emerald City
Posts: 33
Quote:
Originally Posted by emufan View Post
Aminet lists 38.0 and 38.4 by Stephan Rupprecht.
Yes, I saw those. They are not backwards compatible. Thanks anyway.
amiwolf is offline  
Old 18 September 2016, 07:14   #4
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,231
I've just recompiled the ASM-code for the 68000 CPU, but I didn't check it for possible word or longword access to odd adresses which would crash on the 68000. Try it out, it seems to work, but no guarantee!
Attached Files
File Type: zip addbuffers.zip (1.2 KB, 40 views)

Last edited by PeterK; 18 September 2016 at 07:33.
PeterK is offline  
Old 18 September 2016, 07:32   #5
amiwolf
Registered User

 
Join Date: Aug 2015
Location: Emerald City
Posts: 33
Quote:
Originally Posted by PeterK View Post
I've just recompiled the ASM-code for the 68000 CPU, but I didn't check it for possible word or longword access to odd adresses which would crash on the 68000. Try it out, it seems to work, but no guarantee!
A 1000 thank yous! It's working just fine, both on an emulated 68000 and on real hardware as well. By the way, thank you for your work on icon.library, it's really neat. Cheers
amiwolf is offline  
Old 18 September 2016, 10:11   #6
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,231
No ... , many thanks to Stephan Rupprecht for all his brilliant programs!
But if this modified AddBuffers command for the 68000 fails, then blame it on me.
PeterK is offline  
Old 18 September 2016, 10:33   #7
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 47
Posts: 431
And here it is recompiled for 68000.

As it says on top of the C source, originally this was used:
Code:
gcc -m68020-60 -mregparm=3 -nostdlib -noixemul -nostartfiles -msmall-code -O2 -fstrength-reduce -fomit-frame-pointer -msmall-code -s addbuffers.c -o AddBuffers
I just removed the -m68020-60 part.
Seems to run fine on my emulated A500+
Attached Files
File Type: zip AddBuffers.zip (6.1 KB, 41 views)
alkis is offline  
Old 18 September 2016, 14:34   #8
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,959
I was curious about what causes the original addbuffers executable in the archive to fail on 68000. I looked at the (disassembled) code but can't see anything wrong. Anyone know what the cause of the incompatibility was?
mark_k is offline  
Old 18 September 2016, 14:44   #9
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,231
The 68000 doesn't like several TST.L Ax and two EXTB.L Dx instructions.
I've replaced them with CMPA.W #0,Ax, because only the Z-Flag was checked, and EXT.W Dx; EXT.L Dx

@alkis:
You've removed the version number and the copyright information in your code.

Last edited by PeterK; 18 September 2016 at 15:01.
PeterK is offline  
 


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

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 16:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06760 seconds with 15 queries