Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: DSP memorymap problem
Posted by: ggn Oct,10.2023-16:19 

Hi Thadoss,

Something like this should do the trick, I think:

startcode:
dsr $8000
endcode:

if (endcode-startcode)>$4000
fail "External Y memory overflow"
ENDIF


...but of course I'd like to take the opportunity to plug in for the assembler I'm working on, rmac :). The following is equivalent:

.56001
.org y:

startcode:
rept 6000
nop
nop
nop
endr
endcode:

.print (endcode-startcode)
.if (endcode-startcode)>$4000
.print "External Y memory overflow"
.end
.ENDIF









[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