Search site Dead Hackers Society
Other BBSes »
 
 

Silly Venture 2019

Sommarhack 2019
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

Atari coding BBS
 
DSP memorymap problem
Posted by: Emphii Jun,26.2018-21:56 

Hi all.

I have a "slight" problem with mapping memory with DSP. I've been digging around my "red manual", but still, I cannot find the problem. Perhaps I explain with some code.

I have something like this:

move #table1,r0
move #table2,r1

move #>1,y0
clr a

do #120,l1
do #160,l2

add y0,a
:
:

move a,x:(r0)+
move a,y:(r1)+

l1 nop
l2 nop

:
:

org x:$200
table1 ds 120*160

org y:$200
table2 ds 120*160

So, my problem is that with y-memory everything goes fine, but x-memory stucks with debugger and when running. I've got very frustrated, 'coz I've been wrestling with this couple of days (weekends) already.

If I change table2 under Y-memory, compiler (devpac 56k) says, NOT F030 smnthng..

What I have misunderstood here, please help. :)

Yours,
Emphii / Extream.




[All messages in this thread]

Topic Posted by  Date 
DSP memorymap problem Emphii Jun,26.2018-21:56
  Re: DSP memorymap problem Emphii Jun,26.2018-21:58
    Re: DSP memorymap problem mikro Jun,27.2018-10:24
      Re: DSP memorymap problem Emphii Jun,27.2018-11:25
  Re: DSP memorymap problem tat Jun,27.2018-12:25
  Re: DSP memorymap problem ggn Jun,27.2018-14:31
  Re: DSP memorymap problem insane/tscc Jun,27.2018-15:16
    Re: DSP memorymap problem Emphii Jun,27.2018-23:27
      Re: DSP memorymap problem tat Jun,29.2018-15:35
        Re: DSP memorymap problem Emphii Jul,03.2018-20:14
          Re: DSP memorymap problem Daniel / New Beat Jul,05.2018-00:07
            Re: DSP memorymap problem Emphii Jul,05.2018-14:22
              Re: DSP memorymap problem mikro Jul,06.2018-08:15
          Re: DSP memorymap problem mikro Jul,06.2018-08:17
            Re: DSP memorymap problem Emphii Jul,12.2018-23:09


Message board and comments are now read-only

Due to abuse of the message boards we have put the entire site in read-only mode. That means you can't post new threads or reply to old messages and you can't add comments in VideoDB and PicDB.

Some messages have been erased from reading, but are stored in case they need to surface again.

After 17 years and 45000 messages we're shutting down due to one person.




© 1994-2019 Dead Hackers Society Contact: Anders Eriksson