08-01-2012, 02:26 PM
boriel Wrote:nitrofurano Wrote:i knew now that someone adapted zxbasic compiler to create Sega Master System roms? did someone try it?Of course. :!:
<!-- m --><a class="postlink" href="http://www.smspower.org/forums/viewtopic.php?t=12902">http://www.smspower.org/forums/viewtopic.php?t=12902</a><!-- m -->
if it is working fine, or close to it, maybe it could somehow be available officially here from Boriel's website?
I'm still refactoring the compiler (this is a long-term task), to enable multiple-targets (MSX, etc...).
For most Z80 architectures, I guess the fastest way is to create a /library/arch, so the compiler generates generic .z80 asm files and then the assembler assembles the final result to the target architecture. Unfortunately, I need info on how to generate binary files for MSX, Sega, etc. and emulators to test them.
Currently I'm starting with BlueMSX for MSX files.
btw, i were constantly updating the <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Other_architectures">http://www.boriel.com/wiki/en/index.php ... hitectures</a><!-- m --> , even if considered as a very shy help - i think msx is the less incomplete there (i tried to have some asm snippets there can help us somehow)
and so, maybe Jim Bagley (after his truly wonderful project <!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=mhbXHCYATbY">http://www.youtube.com/watch?v=mhbXHCYATbY</a><!-- m --> ) can help a bit more on this one <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:NamcoPacMan">http://www.boriel.com/wiki/en/index.php ... amcoPacMan</a><!-- m --> - would be really great seeing arcade stuff made from zxbasic-compiler!

some people from the Aquarius community (atariage forum - <!-- m --><a class="postlink" href="http://www.atariage.com/forums/topic/200929-aquarius-adapting-boriels-zxbasic-compiler-to-mattel-aquarius/">http://www.atariage.com/forums/topic/20 ... -aquarius/</a><!-- m --> ) are becoming really interested on helping as well - they realized zxbasic compiler can be an awesome tool for creating new homebrew titles easily there
and yes, info about generating tape and cartridge files may vary significantly from machine to machine (specially among so similar machines like msx1, colecovision and sg1000 are)
about emulators, i'm using openmsx (for msx, also supporting turbo-r and gfx9000, which will be great seeing zxbasic compiler supporting that soon as well!

the interesting of this master system version is it can also provide some clues on how to deal with rom (cartridge) and ram areas independently, which the original zx-spectrum isn't - i think this is what i struggled at most on my humble msx version approach