Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the way to use vamos #144

Open
walkero-gr opened this issue Jul 14, 2020 · 3 comments
Open

Question about the way to use vamos #144

walkero-gr opened this issue Jul 14, 2020 · 3 comments

Comments

@walkero-gr
Copy link

Hello there,
I am really interested to use vamos on one project I develop, at the CI/CD process, where I need to change files protection attributes before creating the lha archive file. For that I need to use Protect command, that requires dos.library.

On my first tests yesterday, the above didn't work because couldn't find dos.library. Maybe a misconfiguration from my side.

What do I need to make it work? I was thinking that a good solution might be to use the AROS 68k boot disk, which includes protect command, and is open source project. Have anyone tried something like that? Should I create a System folder with libraries and C commands?

I want to create the above in a docker container, which will be able to be used on different projects, wherever necessary.

Any recommendation will be helpful. Thank you for your help.

@walkero-gr
Copy link
Author

I created today the first version of the docker image, which can be found at https://github.com/walkero-gr/amitoolsondocker
Based on some tests I did it seems to work now, i.e. with the following line:

vamos -C 68020 -V aros:/home/aros -a C:aros:c -a Libs:aros:Libs C:Protect c:list ADD srwed

I get the following result

14:37:38.535        lib:WARNING:  ? CALL:  414 SplitName( name[d1]=00005bd0, seperator[d2]=0000003a, buf[d3]=00005353, oldpos[d4]=00000000, size[d5]=00000065 ) from PC=0024ce -> d0=0 (default)
   list..done

and the file has changed attributes. Need more tests though.

@cnvogelg
Copy link
Owner

cnvogelg commented Aug 4, 2020

I doubt that vamos will help you here... Since it works directly on the host file system it cannot map all protection bits to an equivalent host bit and ignores them silently...

I'd suggest to have a look at python-lhafile. This library allows to you to create lha archives in your python scripts. Maybe this lib allows you to specify the Amiga attributes bit by bit...

@walkero-gr
Copy link
Author

You are right. Didn't make any change on the files. Is there a way to use hdf files with vamos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants