split binary files

Page 2/2
1 |

Par alessandro_scaccia

Resident (41)

Portrait de alessandro_scaccia

28-03-2018, 17:00

Ok,

thanks you.

but the problem remains:

the 2 bins works perfectly if put into .cas, start msx with 28815 bytes.
if put into .dsk and start MSX with disk controller enable, with 24990 bytes, the same BLOAD command not working...

the thing strange is that ther are a lot of disk that having more file that execeed the 28kb but working fine. Crazy

Par eimaster

Champion (282)

Portrait de eimaster

02-04-2018, 17:21

After bloading the 2 bins try bloading and runnibg NYYRIKKI's NODISK.BIN to free more RAM then run your game.

10 DEFUSR=your game execution address
20 BLOAD"APE1.BIN":BLOAD"APE2.BIN"
30 BLOAD"NODISK.BIN",R,address after game end address
40 PRINT USR(0)

So, if we take the following information about the 2 bins as a test:

BEGIN ADDRESS: 82DF
END ADDRESS: EE1A
START ADDRESS:82DF

BSAVE command:

BSAVE"APE1.BIN",&H82DF,&HCC00,&H82DF:BSAVE"APE2.BIN",&HCC00,&EE1A,&H82DF

Then I think it should be like this:

10 DEFUSR=&H82DF
20 BLOAD"APE1.BIN":BLOAD"APE2.BIN"
30 BLOAD"NODISK.BIN",R,&HEF00:PRINT USR(0)
Page 2/2
1 |