Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #471
| Date | 2011-06-20 20:40 +0100 |
|---|---|
| From | Nick Roberts <tigger@orpheusinternet.co.uk> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Modifying a file |
| Message-ID | <15c374e651.tigger@bc63.orpheusinternet.co.uk> (permalink) |
| References | <4390cbe551.cferris@cferris.freeuk.com> <53e5dae551.tigger@bc63.orpheusinternet.co.uk> <623842e651.cferris@cferris.freeuk.com> |
| Organization | Orpheus Internet Services |
In message <623842e651.cferris@cferris.freeuk.com>
cferris@freeRemoveuk.com.invalid wrote:
> In message <53e5dae551.tigger@bc63.orpheusinternet.co.uk>
> Nick Roberts <tigger@orpheusinternet.co.uk> wrote:
>
> > In message <4390cbe551.cferris@cferris.freeuk.com>
> > cferris@freeRemoveuk.com.invalid wrote:
> >
> [snip]
>
> >
> > This should make it easier for you to try it out without having to
> > change all the source code (it doesn't accept ObjAsm macro syntax,
> > though).
> >
>
> Thanks for replying -)
>
> I found by adding that command at the end of the filename in the Source
> icon of !ASM worked - nice to have a button though.
It's on the menu on the FrontEnd tool (i.e. !ASM) - enter "z1" into the
"Pragma" writable menu item.
> Nice being able to use the likes of "OS_Exit" without having to have
> then defined at the beginning of the file.
I thought about supporting SWI names, but finally decided against it (for
no particularly good reason, I think...). Whenever I'm using ASM, I
tend to have all the SWIsI'm interested in defined in another file that
I then INCLUDE.
> Tried it with a smallish prog 1.5Mb - 14Mins about 800 errors :-(
1.5MB of source code in a single file isn't what I'd call smallish, but
YMMV.
> didn't like ADRL for one.
ADRL is on the list of things to look at, if/whenI get round to doing
more work on ASM (which will probably happen when I get my ARMini).
> Would be very handy for short progs - but it would be nice if one
> could just drag the source file to the IconBar and then save a
> !Runable file to the RAM disc - linking done for you.
>
> Was there a different !Link prog - that would save out 'Binary' file as
> FF8 'Absolute' or 'DebImage' - ready for Debugging?
It was always intended to use the standard Acorn linker for this.
Again, I though of providing a switch to output an absolute or a
Utility, but unfortuntely it's quite a lot of work (I didn't see the
need until about V3, but which time the fundamental program
architecture meant that retro-fitting it wouldn't be easy).
> Being able to use pre-made MACRO's stored in ROM apps would be handy -
Sorry, I don't follow this. What are you trying to do?
> no need for extra lines in the beginning of the source file.
>
> label: SIG
>
> Would be nice as standard - for adding a procedure name.
I'm can't recall whether it's in the documentation or not, but a macro
I commonly use is:
MACRO EXTERNAL,funcname
DCSZ @funcname
ALIGN
DCD ((( size(@funcname) >> 2) + 1) << 2) + &ff000000
EXPORT funcname
funcname: ENDM
which look pretty gross, but allows me to use, for example:
EXTERNAL plotcell
to create a standard C-type function name block that is recognised by
DDT, etc.
--
Nick Roberts tigger @ orpheusinternet.co.uk
Hanlon's Razor: Never attribute to malice that which
can be adequately explained by stupidity.
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Modifying a file cferris@freeRemoveuk.com.invalid - 2011-06-19 13:52 +0100
Re: Modifying a file Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-19 16:12 +0200
Re: Modifying a file Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-19 18:11 +0200
Re: Modifying a file Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2011-06-19 17:57 +0100
Re: Modifying a file Matthew Phillips <spam2011m@yahoo.co.uk> - 2011-06-19 18:53 +0100
Re: Modifying a file Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-19 23:08 +0200
Re: Modifying a file "Ste (news)" <steve@revi11.plus.com> - 2011-06-26 21:01 +0100
Re: Modifying a file Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-06-20 00:04 +0100
Re: Modifying a file cferris@freeRemoveuk.com.invalid - 2011-06-20 10:54 +0100
Re: Modifying a file Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-20 23:01 +0200
Re: Modifying a file Nick Roberts <tigger@orpheusinternet.co.uk> - 2011-06-19 16:39 +0100
Re: Modifying a file cferris@freeRemoveuk.com.invalid - 2011-06-20 11:28 +0100
Re: Modifying a file Nick Roberts <tigger@orpheusinternet.co.uk> - 2011-06-20 20:40 +0100
Re: Modifying a file Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-21 07:05 +0200
Re: Modifying a file cferris@freeRemoveuk.com.invalid - 2011-06-21 10:53 +0100
Re: Modifying a file Nick Roberts <tigger@orpheusinternet.co.uk> - 2011-06-21 20:03 +0100
Re: Modifying a file Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-22 19:27 +0200
Re: Modifying a file Alan Adams <alan@adamshome.org.uk> - 2011-06-22 22:33 +0100
Re: Modifying a file Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-23 17:50 +0200
Re: Modifying a file jgharston <jgh@arcade.demon.co.uk> - 2011-07-04 13:00 -0700
Re: Modifying a file JussiJ <jussij@zeusedit.com> - 2011-06-20 18:55 -0700
csiph-web