🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.networking
Article #6366

Re: AWeb on DraCo

#6366
From: Michael van Elst
Date: Wed, 10 Apr 1996 14:26
26 lines
1359 bytes
neilo@m140.aone.net.au (Neil O'Rourke) writes:

>> Okay, a LONG read from 4 is legal. It's the pointer to execbase.
>> But a WORD read from 4 must be a bug!

>Bullshit, check any Commodore docs and example code, they _always_ have a
>word read from location 4 to get execbase.

You are wrong. They never have a word read from location 4. A word
read would never fetch the right value anyway, even when you assume
that the ExecBase address could be expressed with a single word and
were in the first or last 32k (which it isn't).

Instead you find an instruction like:

	movea.l $4.w,a6

That's a long word move to an address register using a short
absolute address.


-- 
                                Michael van Elst

Internet: mlelstv@serpens.rhein.de
                                "A potential Snark may lurk in every tree."
Technical Details
Message-ID: <4kgge4$bkn@serpens.rhein.de>
Path: arc1-ca.pugleaf.net!comma.rhein.de!serpens!not-for-mail
References: <19960405.7A32D98.10CCA@localhost.UUCP> <jdjvija68z3.fsf@hyppynaru.cs.hut.fi> <ehb.0576@draco.prima.ruhr.de> <neilo-1004961907300001@d220-1.cpe.maroochydore.aone.net.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!comma.rhein.de!serpens!not-for-mail
From: mlelstv@serpens.rhein.de (Michael van Elst)
Newsgroups: comp.sys.amiga.networking
Subject: Re: AWeb on DraCo
Date: 10 Apr 1996 16:26:12 +0200
Organization: dis-
Distribution: inet
Message-ID: <4kgge4$bkn@serpens.rhein.de>
References: <19960405.7A32D98.10CCA@localhost.UUCP> <jdjvija68z3.fsf@hyppynaru.cs.hut.fi> <ehb.0576@draco.prima.ruhr.de> <neilo-1004961907300001@d220-1.cpe.maroochydore.aone.net.au>
NNTP-Posting-Host: serpens.rhein.de