A89: Repeat after me (was Re: Addressing)


[Prev][Next][Index][Thread]

A89: Repeat after me (was Re: Addressing)




> Taking the advice of Johan, I changed the mulu.l to mulu.w.  That caused a
> lovely crash complete with grayscale static.  (Which I suppose was better
> than a blank screen and an address error.)  I then tried the optimized
code
> he was kind enough to include.  It caused the same lovely crash.  Any
ideas?

Repeat after me:

MULU.L IS NOT A LEGAL OPCODE ON THE 68000
MULU.L IS NOT A LEGAL OPCODE ON THE 68000


>
> choose:
>     ; in:   d0.w=x
>     ;   d1.w=y
>     ;   d2.w=picture number (0=first)
>     ;
>     lea Pic0(pc),a0
>     lsl.w   #3,d2
>     add.w   d2,a0
>     add.w   d2,d2
>     add.w   d2,a0
>     moveq   #-1,d3
>     move.l  graphlib::plane0,a1
>     lea graphlib::put_sprite_mask,a2
>     jsr (a2)
>     lea 12(a0),a0
>     move.l  graphlib::plane1,a1
>     jmp (a2)
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 13:33:26 EST
> From: NIKE5685@aol.com
> Subject: Re: A89: Re: ASM Programming Environment
>
> In a message dated 3/18/00 10:20:04 AM Pacific Standard Time,
wrath@calc.org
> writes:
>
> > I know, having 2 windows, one for ultraedit and one for VTI is just so
> >  many </sarcasm> Really though, I don't see the demand for an IDE.
> >
> I use UltraEdit and VTI... but I really wouldn't mind having an IDE, it
would
> be nice.
> I bet most people would like an ide... or am I just dreaming?
> - -nike
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 13:38:35 EST
> From: KeysDezez@cs.com
> Subject: Re: A89: Re: ASM Programming Environment
>
> Finally, someone who doesn't think I'm nuts.  Convenience for the geeks
who
> already lost the convenience of having a high level language...
>
> In a message dated 3/18/00 1:34:19 PM Eastern Standard Time,
NIKE5685@aol.com
> writes:
>
> > I use UltraEdit and VTI... but I really wouldn't mind having an IDE, it
> would
> >
> >  be nice.
> >  I bet most people would like an ide... or am I just dreaming?
> >  -nike
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 20:47:27 +0100
> From: "Niklas Brunlid" <e96nbr@efd.lth.se>
> Subject: Re: A89: Re: Re: Addressing
>
> > Taking the advice of Johan, I changed the mulu.l to mulu.w.  That caused
a
> > lovely crash complete with grayscale static.  (Which I suppose was
better
> > than a blank screen and an address error.)  I then tried the optimized
code
> > he was kind enough to include.  It caused the same lovely crash.  Any
ideas?
> >
> > choose:
> >     ; in:   d0.w=x
> >     ;   d1.w=y
> >     ;   d2.w=picture number (0=first)
> >     ;
> >     lea Pic0(pc),a0
> >     lsl.w   #3,d2
> >     add.w   d2,a0
> >     add.w   d2,d2
> >     add.w   d2,a0
> >     moveq   #-1,d3
> >     move.l  graphlib::plane0,a1
> >     lea graphlib::put_sprite_mask,a2
> >     jsr (a2)
> >     lea 12(a0),a0
> >     move.l  graphlib::plane1,a1
> >     jmp (a2)
>
> Just curious: do you use the registers you modify in this routine later
on?
> Like, do you use d2 in a loop, or a0?
> Also, is the greyscale initialized correcly? Have you set it to use a1 as
your
> plane pointer?
>
> The static _might_ be caused by not clearing the screen. Just an idea.
>
>  / Niklas Brunlid
> Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
> Random PQF Quote follows:
>
> I stroll along, talk, I sign books, people buy me drinks, I forget where
my
> hotel is, I get lost and fall into some local body of water... done it
> hundreds of times.
>         -- Going to a convention is fun!
>            (Terry Pratchett, alt.fan.pratchett)
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 15:34:36 -0500
> From: Rob Smith <Kormoc@netzero.net>
> Subject: Re: A89: Re: ASM Programming Environment
>
> http://www.ticalc.org/pub/win/asm/tiutils.zip
>
> At 01:38 PM on Saturday, 3/18/00 -0500, you wrote:
>
> >Finally, someone who doesn't think I'm nuts.  Convenience for the geeks
who
> >already lost the convenience of having a high level language...
> >
> >In a message dated 3/18/00 1:34:19 PM Eastern Standard Time,
NIKE5685@aol.com
> >writes:
> >
> > > I use UltraEdit and VTI... but I really wouldn't mind having an IDE,
it
> >would
> > >
> > >  be nice.
> > >  I bet most people would like an ide... or am I just dreaming?
> > >  -nike
>
> - ----
> Rob Smith
> <a href="http://pa.ticalc.org">Visit Programmers Anonymous Today</a>
> <a href="http://www.tigalaxy.com">Come and see the Improved TIGALAXY
> Website</a>
> <a href="mailto:kormoc@netzero.net">Email-Me</a>
> <a href="aim:addbuddy?screenname=Billvortex">Add Me To Your Buddy List</a>
> - ----
> Stupidity got us into this mess - why can't it get us out?
>
> __________________________________________
> NetZero - Defenders of the Free World
> Get your FREE Internet Access and Email at
> http://www.netzero.net/download/index.html
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 15:35:32 -0500
> From: Rob Smith <Kormoc@netzero.net>
> Subject: Re: A89: Re: ASM Programming Environment
>
> http://www.ticalc.org/pub/win/asm/tiutils.zip
>
> TiUtils beta 2
> TiUtils is program that enable you to write assambly programs in only one
> window. You write the code and compile in the same window. For the moment,
> only Doors programs for ti89 and ti92 can be compiled. I will do the rest
> next week.
>
>
> At 01:38 PM on Saturday, 3/18/00 -0500, you wrote:
>
> >Finally, someone who doesn't think I'm nuts.  Convenience for the geeks
who
> >already lost the convenience of having a high level language...
> >
> >In a message dated 3/18/00 1:34:19 PM Eastern Standard Time,
NIKE5685@aol.com
> >writes:
> >
> > > I use UltraEdit and VTI... but I really wouldn't mind having an IDE,
it
> >would
> > >
> > >  be nice.
> > >  I bet most people would like an ide... or am I just dreaming?
> > >  -nike
>
> - ----
> Rob Smith
> <a href="http://pa.ticalc.org">Visit Programmers Anonymous Today</a>
> <a href="http://www.tigalaxy.com">Come and see the Improved TIGALAXY
> Website</a>
> <a href="mailto:kormoc@netzero.net">Email-Me</a>
> <a href="aim:addbuddy?screenname=Billvortex">Add Me To Your Buddy List</a>
> - ----
> Stupidity got us into this mess - why can't it get us out?
>
> __________________________________________
> NetZero - Defenders of the Free World
> Get your FREE Internet Access and Email at
> http://www.netzero.net/download/index.html
>
> ------------------------------
>
> Date: Sat, 18 Mar 2000 13:31:34 -0800 (PST)
> From: Bryan Forbes <mxpxfifws@yahoo.com>
> Subject: A89: How do I set up Ultra Edit??
>
> Hey guys, I bet this sounds like a stupid question,
> but UltraEdit doesn't seem to want to work with TI-GCC
> or the DJGPP compiler.  It always says the file that I
> give it is of the wrong format (it doesn't recognize
> the format).  I dunno what's up!  I've read everything
> I can, and it says nothing about this.  Is someone out
> there willing to help???
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ------------------------------
>
> Date: Sun, 19 Mar 2000 00:20:39 +0100
> From: "Niklas Brunlid" <e96nbr@efd.lth.se>
> Subject: A89: Re: How do I set up Ultra Edit??
>
> > Hey guys, I bet this sounds like a stupid question,
> > but UltraEdit doesn't seem to want to work with TI-GCC
> > or the DJGPP compiler.  It always says the file that I
> > give it is of the wrong format (it doesn't recognize
> > the format).  I dunno what's up!  I've read everything
> > I can, and it says nothing about this.  Is someone out
> > there willing to help???
>
>
> I use this Tool configuration command line for TIGCC:
> ************
>
H:\prefect\tigcc\tigcc -save-temps -IH:\prefect\DoorsOS\prosit\dev_c -O2 -o
"%n"
> "%n%e"
> - -save-temps isn't necessary, but it's nice to be able to study the
output code
> and assembly code if something goes wrong.
> ************
>
> This for DJGPP:
> ************
> gcc -xc -Os -o "%n" "%n%e"
> ************
>
> And this for assembly:
> ************
> doors "%n"
> ************
>
> ...or this (using TI-GCC to assemble):
> ************
> tigcc -IH:\prefect\DoorsOS\prosit\dev_asm -O2 -o "%n" "%n%e"
> ************
>
> For all four:
> Working directory: %P
> *Save all files first
> *Output to list box
> *Capture Output
>
>
> Note that all paths for TI-GCC, DoorsOS and DJGPP must be set correctly.
>
>  / Niklas Brunlid
> Check out Prosit for the TI-89 / TI-92+ at http://prosit.ticalc.org
> Random PQF Quote follows:
>
> By and large, the only skill the alchemists of Ankh-Morpork had discovered
> so far was the ability to turn gold into less gold.
>         -- (Terry Pratchett, Moving Pictures)
>
> ------------------------------
>
> End of Assembly-89 Digest V1 #890
> *********************************
>
> ---------
> To unsubscribe from assembly-89-digest, send a mail to
"majordomo@lists.ticalc.org",
> writing "unsubscribe assembly-89-digest" in the message body.
>



Follow-Ups: References: