Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

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]    [Start new 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
              Re: DSP memorymap problem Thadoss/Dune Sep,30.2023-09:54
                Re: DSP memorymap problem ggn Oct,10.2023-16:19
                  Re: DSP memorymap problem Thadoss/Dune Oct,10.2023-23:34
                  Re: DSP memorymap problem Thadoss/Dune Oct,10.2023-23:55
                    Re: DSP memorymap problem Thadoss/Dune Oct,11.2023-00:21


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson