Dead Hackers Society
Other BBSes »
 
 

Silly Venture 2019
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Paulo Simoe's Lance replayer
Posted by: joska Jun,20.2015-11:53 

A short status update: I can now use the player in "no trash"-mode pretty much like the original Lance player. One call to init the module/player, one call per VBL to play the module and one call to stop.

But there are some issues I'm not sure how to handle. There are *lots* of calls to Paolo's own memory handler in mt_init. The problem is that this system hogs all available memory, so if you use it you pretty much lock the rest of your code to this system. IMO it must be replaced. Replacing it with calls to Malloc would be easy, but not sure how GEMDOS likes this many allocations.

The second issue is that mt_init writes around 350kb past it's allocated memory... It happens both with my modified code and the original code. Not sure what happens here, and there's a lot of code to debug to figure it out. Looks like the player has never been tested outside Paolo's test framework, and it has worked by accident since the module has been placed at the top of the heap.

Not sure what to do know, I'll have to meditate a bit on this :)







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

Topic Posted by  Date 
Paulo Simoe's Lance replayer joska Jun,18.2015-13:54
  Re: Paulo Simoe's Lance replayer evil Jun,18.2015-15:38
    Re: Paulo Simoe's Lance replayer joska Jun,18.2015-20:22
      Re: Paulo Simoe's Lance replayer joska Jun,19.2015-11:10
        Re: Paulo Simoe's Lance replayer Grazey/PHF Jun,19.2015-18:52
        Re: Paulo Simoe's Lance replayer joska Jun,20.2015-11:53
  Re: Paulo Simoe's Lance replayer joska Jun,21.2015-22:46
    Re: Paulo Simoe's Lance replayer joska Jun,22.2015-01:11
      Re: Paulo Simoe's Lance replayer mikro Jun,22.2015-08:15
        Re: Paulo Simoe's Lance replayer joska Jun,22.2015-09:00
          Re: Paulo Simoe's Lance replayer ljbk Jun,24.2015-14:16
            Re: Paulo Simoe's Lance replayer joska Jun,24.2015-15:28
              Re: Paulo Simoes Lance replayer ljbk Jun,24.2015-21:04
                Re: Paulo Simoes Lance replayer joska Jun,25.2015-00:20
  Re: Paulo Simoe's Lance replayer joska Jun,26.2015-10:30
    Re: Paulo Simoe's Lance replayer evil Jun,26.2015-12:01
      Re: Paulo Simoe's Lance replayer joska Jun,26.2015-13:25
        Re: Paulo Simoes Lance replayer ljbk Jun,26.2015-19:34
          Re: Paulo Simoes Lance replayer ljbk Jun,26.2015-19:36
      Re: Paulo Simoes Lance replayer ljbk Jun,26.2015-20:00
        Re: Paulo Simoes Lance replayer joska Jun,26.2015-20:53
          Re: Paulo Simoes Lance replayer ljbk Jun,26.2015-23:09
            Re: Paulo Simoes Lance replayer joska Jun,28.2015-18:38
              Re: Paulo Simoes Lance replayer joska Jun,29.2015-14:38
          Re: Paulo Simoes Lance replayer evil Jun,27.2015-18:10
            Re: Paulo Simoes Lance replayer ljbk Jun,27.2015-22:32
              Re: Paulo Simoes Lance replayer joska Jun,28.2015-16:07
            Re: Paulo Simoes Lance replayer joska Jun,28.2015-16:09


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-2019 Dead Hackers Society Contact: Anders Eriksson