log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Archive Edition 27:2 reviewed (News:)
- Drag'n'Drop 13i3 edition reviewed (News:1)
- Wakefield Show 2024 in Pictures (News:5)
- April 2024 News Summary (News:2)
- RISC OS 5.30 arrives (News:2)
- WROCC May 2024 meeting - Gerph talks games (News:)
- Upgrading your RISC OS system to 5.30 (News:2)
- WROCC May 2024 meeting on wednesday - Gerph talks games (News:)
- uniprint upgraded to 4.50 (News:)
- PhotoDesk 3.23 released (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: ASM Library directory?
 
  ASM Library directory?
  AKX (08:09 14/8/2009)
  Acornut (08:54 14/8/2009)
    AKX (09:24 14/8/2009)
      arawnsley (10:52 14/8/2009)
        AKX (11:56 14/8/2009)
  AKX (12:11 14/8/2009)
    Acornut (19:18 14/8/2009)
      AKX (16:05 15/8/2009)
 
Amin Kharchi Message #110922, posted by AKX at 08: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 08:54, 14/8/2009, in reply to message #110922
Acornut 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. smile
  ^[ Log in to reply ]
 
Amin Kharchi Message #110924, posted by AKX at 09: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 10:52, 14/8/2009, in reply to message #110924
R-Comp chap
Posts: 595
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 11: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! smile
  ^[ Log in to reply ]
 
Amin Kharchi Message #110928, posted by AKX at 12: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 19:18, 14/8/2009, in reply to message #110928
Acornut 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 16: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 ]
 

The Icon Bar: Programming: ASM Library directory?