Re: [Bigforth-devel] Turnkey application problems
Brought to you by:
paysan
From: David K. <dvd...@gm...> - 2011-03-30 20:33:04
|
>>>>> "Bernd" == Bernd Paysan <ber...@gm...> writes: > Am Sonntag, 27. März 2011, 13:20:57 schrieb David Kuehling: >> - The bigger problem is, that '(SAVE' doesn't seem to exist nowadays, >> and I don't know how to replace it. How do I specify the word to >> execute at startup? The cleanest solution would be something like >> 'bootmessage' in Gforth, for initializating Brainless, since >> afterwards Brainless uses the Forth terminal anyways. > The way to go is to use the module system. > module brainless include brainless.fs main: go ; module; Ok, I now have a somewhat working .exe version of Brainless. Not completely stable yet (think I still missed a few ! and LITERAL that need to be converted to A!, ALITERAL). Next problem: windows consoles do not have ansi escape sequence support (and bigforth does not support the windows syscalls for console colors?) Hmm, what is the simplest way to draw the chessboard in color then? Does the xbigforth dialog window help here? Or is it easier to open another minos window that shows the chessboard as a matrix of characters, and use the dialog for command entry (moves) only? I noticed that the xbigforth dialog window does not suppor the unicode chess glyphs (♙♘♗♖♕♔, ♟♞♝♜♛♚). How are my chances to make them work? cheers, David -- GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40 |