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

Atari coding BBS
 
Re: PC addressing mode
Posted by: Defjam Apr,17.2013-17:43 


Why not using low 16-k memory for variables?

Example:

RSSET $140
clip_RRR_05: RS.W 1

or:
clip_RRR_05: EQU $140


and then:

init:
clr.w clip_RRR_05.w
rts


move.w d0,clip_RRR_05.w


subq.w #1,clip_RRR_05.w
ble.w RRR_05

[...]
RRR_05: rts


This works fine with Turboassembler,
but iirc Devpac has some issues with the 16-bit addressing (I might be wrong).

Chasey used that 16k method for storing values in the IDCT...










[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
PC addressing mode Sallafranque/Thadoss Apr,15.2013-21:42
  Re: PC addressing mode ggn Apr,15.2013-22:35
    Re: PC addressing mode Sallafranque/Thadoss Apr,15.2013-22:46
      Re: PC addressing mode ggn Apr,15.2013-23:10
        Re: PC addressing mode Sallafranque/Thadoss Apr,15.2013-23:36
    Re: PC addressing mode Sallafranque/Thadoss Apr,15.2013-23:07
  Re: PC addressing mode mikro Apr,16.2013-02:47
  Re: PC addressing mode Defjam Apr,17.2013-17:43
    Re: PC addressing mode Sallafranque/Thadoss Apr,19.2013-00:21
      Re: PC addressing mode Mr. Styckx Apr,19.2013-14:27
        Re: PC addressing mode Defjam Apr,19.2013-18:35
          Re: PC addressing mode dml May,29.2013-00:25
            Re: PC addressing mode evil May,29.2013-14:54
              Re: PC addressing mode Cyprian Jun,01.2013-16:17
                Re: PC addressing mode evil Jun,01.2013-20:00


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