|
ASM Library directory? |
|
AKX (07:09 14/8/2009) Acornut (07:54 14/8/2009) AKX (08:24 14/8/2009) arawnsley (09:52 14/8/2009) AKX (10:56 14/8/2009) AKX (11:11 14/8/2009) Acornut (18:18 14/8/2009) AKX (15:05 15/8/2009)
|
|
Amin Kharchi |
Message #110922, posted by AKX at 07:09, 14/8/2009 |
Member
Posts: 11
|
Hello!
I have downloaded !ASM and the ReadMe file say:
--8<------------- To install ASM, copy the main ASM program (ASM) to your Library directory. --8<-------------
What is this Library directory? |
|
[ Log in to reply ] |
|
Blind Moose |
Message #110923, posted by Acornut at 07:54, 14/8/2009, in reply to message #110922 |
No-eye-deer (No Idea)
Posts: 487
|
Hold yhe 'SHIFT' key down, and click on the '!BOOT' dir Then you will see the green Library dir. |
|
[ Log in to reply ] |
|
Amin Kharchi |
Message #110924, posted by AKX at 08:24, 14/8/2009, in reply to message #110923 |
Member
Posts: 11
|
Thank you! I have copied the ASM file in to the Library and rebooted my system (VirtualAcorn with RISC OS 4.39). But if I try to assemble a dummy asm-text file, the !ASM application says:
File 'ASM' not found
As I understand the Library dir it is for commandline calls? So if I go in to CLI and type
*ASM
I get the same error.
Is there something more to do? |
|
[ Log in to reply ] |
|
Andrew Rawnsley |
Message #110926, posted by arawnsley at 09:52, 14/8/2009, in reply to message #110924 |
R-Comp chap
Posts: 600
|
I think in 4.39, the libary folder is a hierarchy. Just sticking it in Library won't work - you'll need to put it into one of the sub-folders. I think there's supposed to be one for dev tools, but if not, put it alongside all the other similar files. I don't have an Adjust system in front of me.
(For reference, I'm pretty old-fashioned and make a Library folder on the root directory with everythig in, and use the *library command [I think] to set it at startup). |
|
[ Log in to reply ] |
|
Amin Kharchi |
Message #110927, posted by AKX at 10:56, 14/8/2009, in reply to message #110926 |
Member
Posts: 11
|
I have now created a new sub dir 'User' and copied ASM to this. And then run ScanLibs which scans all sub dirs in Library.
It works now, thanks! |
|
[ Log in to reply ] |
|
Amin Kharchi |
Message #110928, posted by AKX at 11:11, 14/8/2009, in reply to message #110922 |
Member
Posts: 11
|
As you can see I can now assemble files. I have done this with a two-line ASM file and !ASM puts out O.MyFile as a data file.
Of course I want do an executable application file. In the ASMtxt I read I need link it with a linker. Where is this linker? Or can I download it from a website?
[Edited by AKX at 12:11, 14/8/2009] |
|
[ Log in to reply ] |
|
Blind Moose |
Message #110931, posted by Acornut at 18:18, 14/8/2009, in reply to message #110928 |
No-eye-deer (No Idea)
Posts: 487
|
... Where is this linker? Or can I download it from a website?... You best have a look here. http://www.comp.lancs.ac.uk/~ss/software/roshlibs/ |
|
[ Log in to reply ] |
|
Amin Kharchi |
Message #110945, posted by AKX at 15:05, 15/8/2009, in reply to message #110931 |
Member
Posts: 11
|
This looks realy cumbersome and for C guys. Only to make a runnable assembler file?
I will try it! But it looks like I go back to Inline assembler of BBC BASIC.
[Edited by AKX at 16:05, 15/8/2009] |
|
[ Log in to reply ] |
|
|