Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: Doom floor texturing
Posted by: dml Jan,23.2013-18:01 

Well it looks like I didn't remember my facts very clearly about memory usage in the DSP doom engine. There is a nasty P:INT and Y:EXT overlap which needs to be watched so I was always moving things around and shaving to keep the internal buffers internal not to spill into program space...

But as for the rest of the EXT memory - I did a small test filling the DSP with marker words ($AAAAAA) and ran around Doom level 1 @ 320x200 to see how big the spanbuffers got in X: and Y:, and it turned out only to be about 6k each. So there is probably a reliable 8k free at the top of X: and Y: as it is without refactoring any code.

So I can probably cache 4 truecolour floor textures in there @ 64x64! Or twice that many if stored 12bit but it's probably not worth messing with that.

Definitely need to try this :) Will start with a stub that just transfers a dummy texture at the appropriate time and then serves a flat colour from the host port and do some speed comparisons with that. If it looks promising I can then do the DSP bit properly.

Thanks again







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

Topic Posted by  Date 
Doom floor texturing dml Jan,21.2013-18:47
  Re: Doom floor texturing dml Jan,21.2013-18:48
    Re: Doom floor texturing dml Jan,21.2013-21:33
      Re: Doom floor texturing Defjam Jan,21.2013-21:44
        Re: Doom floor texturing dml Jan,21.2013-22:38
        Re: Doom floor texturing dml Jan,22.2013-10:48
      Re: Doom floor texturing mikro Jan,22.2013-11:03
        Re: Doom floor texturing dml Jan,22.2013-11:43
          Re: Doom floor texturing mikro Jan,22.2013-13:30
            Re: Doom floor texturing mikro Jan,22.2013-13:36
              Re: Doom floor texturing mikro Jan,22.2013-13:37
                Re: Doom floor texturing dml Jan,22.2013-15:18
                  Re: Doom floor texturing mikro Jan,22.2013-16:22
                    Re: Doom floor texturing dml Jan,23.2013-00:55
                      Re: Doom floor texturing mikro Jan,23.2013-10:12
                        Re: Doom floor texturing dml Jan,23.2013-13:00
                        Re: Doom floor texturing Calimero Jan,24.2013-03:14
                  Re: Doom floor texturing ggn Jan,22.2013-16:41
                  Re: Doom floor texturing ggn Jan,22.2013-16:42
                    Re: Doom floor texturing dml Jan,23.2013-01:07
            Re: Doom floor texturing dml Feb,03.2013-20:23
              Re: Doom floor texturing mikro Feb,03.2013-22:07
          Re: Doom floor texturing dml Jan,23.2013-18:01
            Re: Doom floor texturing mikro Jan,23.2013-23:39


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