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

Moderators: pcwzrd13, deluxux, VasiliyRS

User avatar
TeMaToS
noob
Posts: 4

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

Post#1 » Sun Jun 16, 2019 1:29 pm

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.

colgate
Doom
Posts: 185

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

Post#2 » Sun Jun 16, 2019 5:04 pm

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

User avatar
lerabot
blackout!
Posts: 134

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

Post#3 » Sun Jul 28, 2019 10:10 am

Is there anyway you can either :

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

User avatar
Ian Micheal
Developer
Posts: 5994
Contact:

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

Post#4 » Sun Jul 28, 2019 11:42 am

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.

User avatar
megavolt85
Developer
Posts: 1786

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

Post#5 » Sun Jul 28, 2019 2:36 pm

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

User avatar
Ian Micheal
Developer
Posts: 5994
Contact:

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

Post#6 » Sun Jul 28, 2019 2:42 pm

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.

  • Similar Topics
    Replies
    Views
    Last post

Return to “New Games”

Who is online

Users browsing this forum: No registered users