Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
zxbasic for dos?
#10
boriel Wrote:ZX Basic tries to follow FreeBASIC syntax, but at the same time tries to keep some backward compatibility with Sinclair BASIC.
You are right with DOSBox, hdpmi and the like. One solution could be to make ZXBASIC a translator (not exactly a compiler), and use DJGPP © as a backend, so it translates from BASIC to C which will be later compiled with djgpp Smile
But until vacation, I'm afraid I could not make much improvements...
FreeBasic is very good (i loved coding <!-- m --><a class="postlink" href="http://www.dosgames.com/forum/about18131.html">http://www.dosgames.com/forum/about18131.html</a><!-- m --> there, for example), but it's not that excellent yet: i think that is quite painful to compile some stuff there that would run decently on CGA display boards on IBM-PCXT machines (CGA modes seems to be simulated from VGA modes... :S ), unless some wise 8088/8086-assembly trick is used (that i didn't find yet...) - maybe Boriel's ZX-Basic Compiler can set goals where FreeBasic fails! Wink
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)