Page 1 of 1

Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jun 16, 2019 1:29 pm
by TeMaToS
Hey guys! I have some problems with creating rom disc like a VFS in kallistiOS. I don't know why, but when size of all files in this VFS exceed approximately 16 mb my game wan't loads, just black screen.

Thank you for attantion. I hope that someone knows what is that problem or may be someone was able to load more than 50 mb of files on rom.

Re: Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jun 16, 2019 5:04 pm
by colgate
Well Dreamcast has 16mb of ram, if you are creating a vfs that has 16mb it will crash for sure because everything will be in memory and you will run out of it.

Sent from my moto x4 using Tapatalk

Re: Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jul 28, 2019 10:10 am
by lerabot
Is there anyway you can either :

1 - Compress those assets?
2 - Load them separately? (Only the required asset for each level)

Re: Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jul 28, 2019 11:42 am
by Ian Micheal
I think what your thinking of as a VFS is not the same, your better off using the cd anything in a romsdisk has to load it fully into memory first. Remember any asset that has to unpack also has a buffer, if your using music it's better to convert it to a streaming format then your only limted by cd size also try compling your project with -0s for space , also remember you might have 16meg of main ram but thats minus the size of your main bin also your libs compile them with -0s to gain a smaller bin size. make sure your flushing clearing memory of assest as your need them. You be lucky to load a rb of 13 meg ??? how large is you main exe elf bin? remember that is not free allways minus that.

And follow what lerabot says.

Re: Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jul 28, 2019 2:36 pm
by megavolt85
Ian Micheal wrote: also remember you might have 16meg of main ram but thats minus the size of your main bin


15,9686888454011741683 :)
first 0x10000 bytes used for syscslls, interputs, etc... if you don't use KOS you can use 0x4000-0xf3ff, for example few katana games and bleemcast use this memory
KATANA and KOS use 0xf400 for interput, WINCE set interput in main binary memory, 0x120f0 or 0x12110

Re: Need some help with VFS(Virtual File System) in kallistiOS

Posted: Sun Jul 28, 2019 2:42 pm
by Ian Micheal
megavolt85 wrote:
Ian Micheal wrote: also remember you might have 16meg of main ram but thats minus the size of your main bin


15,9686888454011741683 :)
first 0x10000 bytes used for syscslls, interputs, etc... if you don't use KOS you can use 0x4000-0xf3ff, for example few katana games and bleemcast use this memory
KATANA and KOS use 0xf400 for interput, WINCE set interput in main binary memory, 0x120f0 or 0x12110


I did not know that thank you man.