🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AWeb on DraCo

#6381
From: Rask Ingemann Lambertsen
Date: Wed, 10 Apr 1996 20:51
35 lines
2017 bytes
On Wed, 10 Apr 1996 19:07:30 +1000 Neil O'Rourke (neilo@m140.aone.net.au) wrote:
> In article <ehb.0576@draco.prima.ruhr.de>, ehb@draco.prima.ruhr.de (Edwin
> H. Bielawski) wrote:

> > >>May be, but the normal enforcer would never display such silly
> > >>accesses like WORD READ from 00000004!
> > >
> > >Never tried that, but I suppose it wouldn't. Still, accessing 00000004
> > >IS legal. And I still can't believe AWeb is doing that. While you are
> > 
> > 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.

No, they don't, the have a *longword* read from address 4. They use
the instruction

    movea.l 4.w,A6

which is a *longword* read, not a word read, from address 4. The do,
however, use word *addressing*. The access, however, is still a
longword one.

Btw, doing a word read from address 4 to get execbase would cause a
crash on almost all machines with FAST or SLOW RAM.

--
Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: c948374@student.dtu.dk        |
| Amiga GNU CC README maintainer | WWW: http://www.gbar.dtu.dk/~c948374/ |
| Keyboard error: <Ctrl> and <Alt> are stuck - press <Del> to continue   |
Technical Details
Message-ID: <4kh70s$lvf@news.uni-c.dk>
Path: arc1-ca.pugleaf.net!lillep.gbar.dtu.dk!c948374
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!lillep.gbar.dtu.dk!c948374
From: c948374@lillep.gbar.dtu.dk (Rask Ingemann Lambertsen)
Newsgroups: comp.sys.amiga.networking
Subject: Re: AWeb on DraCo
Date: 10 Apr 1996 20:51:40 GMT
Organization: News Server at UNI-C, Danish Computing Centre for Research and Education.
Distribution: inet
Message-ID: <4kh70s$lvf@news.uni-c.dk>
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: lillep.gbar.dtu.dk
X-Newsreader: TIN [version 1.2 PL1]