Originally posted by nescphp@Jun 22, 2003 @ 01:28 AM
can you release the code please? pretty please?![]()
![]()
#ifdef SBL_VBT
SCL_Vdp2Init();
SetVblank();
set_imask(0);
SCL_SetPriority(SCL_SP0|SCL_SP1|SCL_SP2|SCL_SP3|
SCL_SP4|SCL_SP5|SCL_SP6|SCL_SP7,6);
SCL_SetSpriteMode(SCL_TYPE1,SCL_MIX,SCL_SP_WINDOW);
SCL_SetFrameInterval( 1 );
DBG_Initial( &dummy_pad, RGB16_COLOR(31,31,31), 0 );
DBG_DisplayOn();
// fonctionne :)
i = 0;
while(i < 200)
{
SCL_DisplayFrame();
DBG_SetCursol(11, 12);
DBG_Printf(" WAIT ");
i++;
}
DBG_DisplayOff();
#endif
Originally posted by nescphp@Jun 22, 2003 @ 07:53 PM
hey maybe we can help if you release the code![]()
/*****************************************************************************
* ƒ\ƒtƒgƒEƒFƒAƒ‰ƒCƒuƒ‰ƒŠ
*
* Copyright (c) 1994 SEGA
*
* Library: ƒtƒ@ƒCƒ‹ƒÂÂ[ƒ_
* Module : ƒTƒ“ƒvƒ‹‚P
* File : smpfld01.c
* Date : 1995-10-02
* Version: 1.00
* Auther : N.K
*
* ƒQÂ[ƒ€‚Ã’Pƒ‚ËN“®ÂB
*
*****************************************************************************/
/*****************************************************************************
* ƒCƒ“ƒNƒ‹Â[ƒhƒtƒ@ƒCƒ‹
*****************************************************************************/
#include <sega_sys.h>
#include <sega_gfs.h>
#include <fld_load.h>
/*****************************************************************************
* ’蔃}ƒNƒÂ
*****************************************************************************/
/* “Â¯Žž‚ÃIÂ[ƒvƒ“‚⢂éƒtƒ@ƒCƒ‹‚Ô */
#define MAX_OPEN 2
/* ƒ‹Â[ƒgƒfƒBƒŒƒNƒgƒŠ‚ ‚éƒtƒ@ƒCƒ‹Â” */
#define MAX_DIR 10
/* ƒAƒNƒZƒX‚⢂éƒtƒ@ƒCƒ‹–¼ */
#define FNAME "SAMP_IP.BIN"
/*****************************************************************************
* ŠÃ”‚ÃÂéŒÂ¾
*****************************************************************************/
/*****************************************************************************
* •Ô‚Òè‹`
*****************************************************************************/
/* ƒ‰ƒCƒuƒ‰ƒŠÂì‹Ã—Èæ */
Uint32 lib_work[GFS_WORK_SIZE(MAX_OPEN) / sizeof(Uint32)];
/* ƒfƒBƒŒƒNƒgƒŠÂî•ñŠÃ——Èæ */
GfsDirTbl dirtbl;
/* ƒfƒBƒŒƒNƒgƒŠÂî•ñŠi”[—Èæ */
GfsDirName dirname[MAX_DIR];
/*****************************************************************************
* ŠÃ”‚Òè‹`
*****************************************************************************/
Sint32 main()
{
Sint32 ret;
Sint32 tno = 2; /* ‚b‚cÂ|‚c‚`‚ÃÂæ“ªƒgƒ‰ƒbƒN”Æ */
/* ƒfƒBƒŒƒNƒgƒŠÂî•ñŠÃ——Èæ‚Ãsetup */
*((Uint32 *)GFS_DDS_ADDR) = 0x20202020;
GFS_DIRTBL_TYPE(&dirtbl) = GFS_DIR_NAME;
GFS_DIRTBL_DIRNAME(&dirtbl) = dirname;
GFS_DIRTBL_NDIR(&dirtbl) = MAX_DIR;
/* ƒtƒ@ƒCƒ‹ƒVƒXƒeƒ€‚Ɋú‰Â» */
ret = GFS_Init(MAX_OPEN, lib_work, &dirtbl);
if (ret <= 0) {
/* ŽÂ¸”s‚⢂é‚ÃÂAŽÂ©•ªŽÂ©Âg‚ð‹N“®‚⢂é */
SYS_Exit(0);
}
/* ƒQÂ[ƒ€‚ð‹N“®‚⢂é */
ret = FLD_ExecGame(FNAME,tno);
if (ret == NG) {
/* ŽÂ¸”s‚⢂é‚ÃÂAƒ}ƒ‹ƒ`ƒvƒŒƒCƒ„Â[‚ÖÂé */
SYS_Exit(1);
}
return 0;
}
Originally posted by nescphp@Jun 25, 2003 @ 07:43 AM
are you entering the contest?
-display 0.bin
-user presses start
-loading menu.bin
-display menu.bin
-user presses a
-loading game.bin
-display game.bin
Originally posted by vbt@Jun 24, 2003 @ 01:05 AM
It seems now it works both on ssf and girigi but only if I don't use gfx or text displayI 'll try to burn a CD to see the result.![]()