• Welcome to PCEngine-FX.com. Please log in.
 

BANKS problem with huc

Started by touko, 02/17/2012, 05:48 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

touko

Hi all, i have a big problem with huc ..

I'am not able to make a game larger than 192 ko ..

 ](*,)
HEEEEEEEEEEEEELP !!!

ÉDIT: fixed

touko

#1
Not fixed , if someone have an explanation or a solution .

OldRover

If you're talking about for the first overlay, then that's for a very good reason... it can only BE 192KB because it has the 64KB regular CDROM subprogram as part of it (error program). That's why for the first overlay, I make it as a "bootstrap", so to speak... usually just to show a logo or something, and THEN load a normal overlay which can be 256KB.
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

OldRover

Here's the overlay 1 code for Jungle Bros, for example:

#include "huc.h"

main()
{
  set_font_pal(0);
  set_font_color(1,0);
  load_default_font();

  put_string("PRODUCED BY OR",9,10);
  put_string("UNDER LICENSE FROM",7,13);
  put_string("FROZEN  UTOPIA",9,16);
  ad_reset();
  ad_trans(2, 0x0, 4, 0x0);
  cd_execoverlay(3);
}

It displays a Genesis-like startup screen, loads the custom ADPCM data bank from overlay 2, then does a cd-execoverlay() with the third overlay, which is another program.
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

touko

#4
Thanks Man ,For explanation ..   :dance:
I ll test That..

OldRover

I ran into the problem when expanding msong.c, which was originally the first overlay of MSR... it's got the title program, which at the time included a debug menu and some fancy option stuff. I don't remember how it got so large, but when it did, that's when it ran into the 192KB issue.
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

touko

#6
Msr has not only bad sides ..  :wink:

But your solution word fine, tanks a lot man .
This issue needs to be documented on your new huc version.

OldRover

I'm going to make note of it on obeybrew's docs. :)
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

touko

Yes would be cool .
If you can add more tips for begginers too .

OldRover

Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II