Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
zxbasic compiler for Sega Master System?
#9
boriel Wrote:
nitrofurano Wrote:no, i didn't try yet - and i think .com is too related to msxdos (i wanted to avoid it for now...)
I lack this info.

i imagine that there can be several ways on having msx binaries: as "bloadable" from basic (it has some bytes before, like address of the first byte, size and execution, but i'm not sure how many they are, maybe 7) ready to be included into a .dsk file (the same fat-12/fat-16 format used on qemu, i think, but with a limit of 720kb), this same "bloadable" inside a .cas file, this on from the msxdos i have no idea how to create it (since rarelly used msxdos, but i think demos from Bandwagon uses this format)

Quote: The good news: for the amstrad platform there is already support for .tzx format cassette files. I'm almost finishing an amstrad generation prototype.
So -T flag + --arch=amstrad (??) should be the minimal flags required.

this is awesome! i'm also curious for seeing some few snippets on it! Smile (and i wonder if gx4000 will be somehow supported as well? - i imagine the difference would be the cartridge format, palette support, and etc? - i think palette wouldn't be such issue, since that "easiness" i added UlaPlus support as libraries! Smile )


Quote:I think I could port most routines, but need amstrad info (a lot!). I've been struggling with cassette header format, but I think I got it. More on this this weekend.

exactly for this is why i started pasting links about it at wikipages like <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Amstrad_CPC">http://www.boriel.com/wiki/en/index.php ... mstrad_CPC</a><!-- m --> Wink - everything interesting you find, please add there as well, because i'm also very interesting about! Smile



Quote:Regarding to Sega Master System, I guess the author can't keep up with continuous compiler updated. :oops:

this is also why i'm tried to contact him




Quote:He strips some asm down, and then filters it for the WSL assembler.

yes, i saw that too

as it is, i were now trying this SMS version - i really wished to have more contact with Haroldo O.P. here in this forum or somewhere else - also because stuff like cleaning (avoiding/removing) all that w32 .exe binary "garbage" he left there... - and maybe some needed libraries like this (and assuming my knowledge about SMS hardware is almost nule):

Code:
sub sms_vpoke(alv as uinteger, vlv as ubyte):
  out $BF,alv band 255
  out $BF,int(alv/256)
  out $BE,vlv
  end sub
'----- information about video memory area:
'- $0000 pattern ($2000 - $20 per character, 256 characters)
'- $C000 palette (32?)
'- $B800 text ($0800)





Quote:I think I could either produce WLA-DX asm directly, or even package for the SMS directly from ZXBasm.

i imagined that, that's why i wanted to contact you about this SMS version as soon as i found it
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)