Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
23 user(s) are online (19 user(s) are browsing Forum)

Members: 0
Guests: 23

more...


Browsing this Thread:   1 Anonymous Users




« 1 (2) 3 »


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#11
Home away from home
Home away from home


See User information
@twilen: if even o.s. components used undocumented stuff, then I raise the white flag...

P.S. Regarding the bootable AmigaDOS disks, I remember that there should be a trackdisk.device pointer in some register that can be used to make other (read) requests. I used it load some sectors, and then give the control to my track loader. It should have been all "legal" (using public APIs/documentation). But after more than 20 years I might be wrong.

Posted on: 2015/12/30 5:52
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#10
Just can't stay away
Just can't stay away


See User information
It isn't that simple (Implement only public API). For example most programs that come with bootable amigados disk would not have worked at all if only public APIs were implemented. It would have been totally useless ROM replacement.

Either you have code that can be used or you have code that looks nice and is great and shiny but is useless in real world. Make your choice.

For example there is _huge_ amount of undocumented BCPL stuff hidden under the surface that needed to be exactly right or even the most basic WB commands would break totally. (Even 3.0+ WB disk still have some BCPL remains left)

I agree that A3 = seglist is a bad idea because it appears to be randomly chosen register for jump address calculation, it has nothing to do with undocumented dos feature.

Posted on: 2015/12/29 21:04
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#9
Home away from home
Home away from home


See User information
The problem here is that, applying this principle for every badly written application, you ends-up with a pile of extra, unwanted, "specs" to maintain.

Specifically, this case should be simple to handle, because the compressed applications would have been uncompressed, and compressed again with another o.s.-compliant packer (even a fixed Shrinkler).

However Toni shown that applying a fix for it is way faster than this discussion.

Posted on: 2015/12/29 19:23
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#8
Home away from home
Home away from home


See User information
@cdimauro

I agree with you in principle, but if we prevent programs that were compiled in the 1990s (for example) from running, only users suffer.

Posted on: 2015/12/29 16:31
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#7
Home away from home
Home away from home


See User information
@ncafferkey: I've a different approach. I'm for implementing only the public APIs.

I really hate the idea of fixing something only because lamers don't know how to write good code, and take any bad chance only to make their life easier.

Anyway, I saw that Toni Wilen already provided a fix for this "issue".

Posted on: 2015/12/29 8:43
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#6
Home away from home
Home away from home


See User information
Quote:

cdimauro wrote:
The point should be different: must A3 point to the loaded segment list?


We usually only implement what's officially documented, but we make exceptions sometimes for the sake of compatibility, especially for m68k programs that can't be easily recompiled IMHO it would make sense to implement this feature in AROS if it can be easily done.

Posted on: 2015/12/28 3:26
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#5
Just popping in
Just popping in


See User information
Cdimauro: I think the answer to your question is yes. The packer takes advantage of the fact that all known kickstarts uses a3 in the same way when launching executables. This may not be officially documented behavior, but it seems that some apps have safely relied on it. The replacement rom should do the same if the goal is maximum compatibility, right?

Deadwood: I will do that. I didn't think Toni worked on the ROM also, but he seems to be able to do everything at once

Posted on: 2015/12/27 15:33
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#4
Home away from home
Home away from home


See User information
@Hannibal

Hello and welcome. Thank you for the bug report. In case you don't get any response here, I think it would be good to post your findings also in this thread:

http://eab.abime.net/showthread.php?t=56211&page=19

I think Toni is more active on EAB.

Posted on: 2015/12/27 7:29
Krzysztof

"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time."

www.aros3d.org
www.twitter.com/ddeadwood
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#3
Home away from home
Home away from home


See User information
The point should be different: must A3 point to the loaded segment list?

Posted on: 2015/12/27 6:25
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Amiga replacement rom in WinUAE fails to run Shrinkler-packed executables
#2
Just popping in
Just popping in


See User information
Note from the author of Shrinkler: "I have not looked at the AROS executable launcher code, but my guess is it leaves registers in a different state than the AmigaOS launcher. Shrinkler assumes that A3 points to the loaded segment list (4 bytes before the entry point) which is true for all Amiga kickstarts but might not be for AROS.

If A3 points to garbage, it could give the behavior you describe for mini-compressed executables (such as Octorubber) but executables crunched using the normal or overlap modes would likely crash earlier on."

Posted on: 2015/12/27 2:55
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 




« 1 (2) 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project