home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!isc-br!bunker!nuconvex!starpt!doiron
- From: doiron@starpt.UUCP (Glenn Doiron)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Library Call?
- Message-ID: <doiron.06xj@starpt.UUCP>
- Date: 25 Jul 92 02:59:23 GMT
- References: <sims.711374458@sauron.msfc.nasa.gov> <dvaz.02vz@dvtown.UUCP>
- Organization: 68K Software Development
- Lines: 36
- X-NewsSoftware: Amiga GRn V1.16b 5/26/92 by Mikes Schwartz & Smith
-
- In article <dvaz.02vz@dvtown.UUCP> dvaz@dvtown.UUCP (David Vazquez) writes:
- >In article <sims.711374458@sauron.msfc.nasa.gov> sims@sauron.msfc.nasa.gov (Herb Sims) writes:
- >>I am in the process of writing an assembly language program and I seem to have
- >>a small problem. When ever I do a BLINK the linker finds a call to _SysBase
- >>in the amiga.library library. Where/What can I get to keep this error from
- >>happening?
- >>
- >>Thanks in advance
- >>Herb
- >>sims@sauron.msfc.nasa.gov
- >>
- >
- >That's not a call, it's an address. amiga.lib needs _SysBase (address 4)
- >for it's functions. To make _SysBase available do this.
- >
- >_SysBase EQU 4
- > XDEF _SysBase
-
- However, a far better thing to do is:
-
- XDEF _SysBase
- ...
- move.l 4,_SysBase
- ...
- SECTION myprogram,data
- _SysBase: dc.l 0
-
- Which will move the exec pointer into fastram on machines which have it,
- avoiding a chip-mem syncup delay on those machines.
-
- Glenn Doiron
- --
- Amiga UUCP+
- Origin: uunet!starpt!doiron (Organization:68K Software Development)
- BIX: gdoiron
- ** Not enough memory to perform requested operation. Add 4 megs and retry.
-