| |
AlexC
Registered: Jan 2008 Posts: 299 |
retro replay file format
Since rr files aren't in CRT format could somebody please point me to (hopefully existing) document describing its file format? |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
what info are you missing for exactly? if we are not talking .crt files, then we have plain binaries... which are just that. *shrug* |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
I know I could go through Vice sources but maybe someone will be kind enough to to tell me how emulator validates the file then? And what is the internal structure since RR is using banking? |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
As for the internal "structure", it is just one bank after another, in order.. raw data as Gpz said. Dunno how VICE does the validation. |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
So at first sight it seems that only file size could be a tip. @Groepaz & Frantic: thank you :) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
yup, VICE only checks the file size for binaries |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
So is there any minimal and maxium size? I guess minimal size could be 32kb?
The reason for my question is that I'm writing code for detecting file types and I'd like to include detection code for RR compatible ROMs. |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Dunno. What I *do* know is that I generated 64kb cart images from my code at one point and that worked fine. |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
The original RR specs define 128kb ROM so I guess this would be the limit but I'd like to have confirmation from someone who knows this topic better than I do. The RR file is 64kb long so your experience is right. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
it will accept 32k, 64k and 128k binaries. however, that is not a good way to detect valid RR images :) |
| |
AlexC
Registered: Jan 2008 Posts: 299 |
So could you please share better approach with us... |
... 6 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 - Next |