<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Q&amp;A - Recent questions and answers</title>
<link>http://cloud.vfxforth.com/forum/qa</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: Reset terminal on vfxlin crash</title>
<link>http://cloud.vfxforth.com/forum/12/reset-terminal-on-vfxlin-crash?show=343#a343</link>
<description>We have a fix for this.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/12/reset-terminal-on-vfxlin-crash?show=343#a343</guid>
<pubDate>Mon, 23 Mar 2026 17:53:10 +0000</pubDate>
</item>
<item>
<title>Answered: How do we make a Linux .so library file using VFX64?</title>
<link>http://cloud.vfxforth.com/forum/340/how-do-we-make-a-linux-so-library-file-using-vfx64?show=341#a341</link>
<description>Belay that - we have figured out how to do it. We can now make .so's in VFX that can be called from both C programs and other VFX programs.&lt;br /&gt;
&lt;br /&gt;
Useful.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/340/how-do-we-make-a-linux-so-library-file-using-vfx64?show=341#a341</guid>
<pubDate>Fri, 20 Mar 2026 16:07:48 +0000</pubDate>
</item>
<item>
<title>Answered: How can I use my own icon for my program created with VFX Forth?</title>
<link>http://cloud.vfxforth.com/forum/337/how-can-i-use-my-own-icon-for-my-program-created-with-vfx-forth?show=339#a339</link>
<description>Hello Mr. Pelc,&lt;br /&gt;
&lt;br /&gt;
​Thank you for the tip regarding Resource Hacker. I have actually used the tool for this before, but I always end up breaking the .exe file when I try to change the icon. This only seems to affect programs that were developed in Forth.&lt;br /&gt;
&lt;br /&gt;
​Is there a trick or a specific setting to prevent this from happening?&lt;br /&gt;
&lt;br /&gt;
​Best regards,&lt;br /&gt;
&lt;br /&gt;
​S. Henneke</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/337/how-can-i-use-my-own-icon-for-my-program-created-with-vfx-forth?show=339#a339</guid>
<pubDate>Mon, 23 Feb 2026 04:01:03 +0000</pubDate>
</item>
<item>
<title>Answered: Windows security</title>
<link>http://cloud.vfxforth.com/forum/332/windows-security?show=335#a335</link>
<description>Roger - Today was the first time I got a notification for a while. I'm checking with Wodni &amp;amp; Pelc GmbH central to see if something has changed.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/332/windows-security?show=335#a335</guid>
<pubDate>Wed, 11 Feb 2026 16:42:02 +0000</pubDate>
</item>
<item>
<title>Answered: How to flush a .&quot; string&quot; immediately?</title>
<link>http://cloud.vfxforth.com/forum/331/how-to-flush-a-string-immediately?show=333#a333</link>
<description>VFX is vectoring the IO through the GENIO system. So without knowing your OS, sourcecode or selected GENIO system, this question is hard to answer.&lt;br /&gt;
: slow .&amp;quot; start&amp;quot; 200 ms .&amp;quot; end&amp;quot; ; \ works as expected under lin64 using xterm.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/331/how-to-flush-a-string-immediately?show=333#a333</guid>
<pubDate>Thu, 08 Jan 2026 22:36:09 +0000</pubDate>
</item>
<item>
<title>Initialising local values - a plea</title>
<link>http://cloud.vfxforth.com/forum/330/initialising-local-values-a-plea</link>
<description>In his paper to Euroforth 2025, Nick Nelson made a plea (I think his second plea on the same subject), that local values should be initialised on entry.&lt;br /&gt;
It is so easy to forget to do this manually.&lt;br /&gt;
Now it has caught us out again. &lt;br /&gt;
&lt;br /&gt;
If you use &lt;br /&gt;
&lt;br /&gt;
gtk_tree_model_get&lt;br /&gt;
&lt;br /&gt;
to retrieve the value of a column, and you use a local to put it in, it works fine if the column is a data type string.&lt;br /&gt;
But if the column is a data type int or bool, and you tell it to put it in ADDR &amp;lt;local&amp;gt; , it only half fills it because ints and bools are only 32 bit. &lt;br /&gt;
If you have forgotten to manually initialise your local, then the result is garbage.&lt;br /&gt;
A very hard bug to track down.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/330/initialising-local-values-a-plea</guid>
<pubDate>Tue, 11 Nov 2025 12:55:08 +0000</pubDate>
</item>
<item>
<title>Answered: Why does VfxForth_x86_win.exe have a 12 second startup delay but VfxForth_x64_win.exe does not?</title>
<link>http://cloud.vfxforth.com/forum/174/vfxforth_x86_win-second-startup-delay-vfxforth_x64_win?show=329#a329</link>
<description>I've been struggling with this for ages, with the 32-bit version (5.20) on Windows 10. &amp;nbsp;Seems to do it on 10 and didn't on 8. &amp;nbsp;Sometimes it starts instantly, sometimes it can take longer, as long as 30+ seconds. &amp;nbsp;I used Process Monitor to pinpoint the delay at the loading of profapi.dll. &amp;nbsp;Does anyone else still observe this?&lt;br /&gt;
&lt;br /&gt;
I've whitelisted in Windows Defender and turned off SmartScreen.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/174/vfxforth_x86_win-second-startup-delay-vfxforth_x64_win?show=329#a329</guid>
<pubDate>Sat, 08 Nov 2025 04:48:41 +0000</pubDate>
</item>
<item>
<title>Statically linked turnkey application</title>
<link>http://cloud.vfxforth.com/forum/328/statically-linked-turnkey-application</link>
<description>I'm playing with VFX Forth on Linux and I was wondering if it supports generating statically linked executables, or if dynamic linking is required?&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
file p0046&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;p0046: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, no section header&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
ldd p0046&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;linux-vdso.so.1 (0x00007ffe0cf14000)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libdl.so.2 =&amp;gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd313f6b000)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd313d89000)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/lib64/ld-linux-x86-64.so.2 (0x00007fd313f88000)</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/328/statically-linked-turnkey-application</guid>
<pubDate>Wed, 15 Oct 2025 14:59:00 +0000</pubDate>
</item>
<item>
<title>Adding interrupt handler</title>
<link>http://cloud.vfxforth.com/forum/327/adding-interrupt-handler</link>
<description>If I relocate the vector table of a cortex-m4 to r/w memory, can I add EXC: definition to the target located in IntCortex.fth?&lt;br /&gt;
&lt;br /&gt;
Edit:&lt;br /&gt;
&lt;br /&gt;
I’ve realised I can use vectored execution and a dummy isr.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/327/adding-interrupt-handler</guid>
<pubDate>Tue, 09 Sep 2025 14:39:00 +0000</pubDate>
</item>
<item>
<title>Are you all coming to the Euroforth conference?</title>
<link>http://cloud.vfxforth.com/forum/326/are-you-all-coming-to-the-euroforth-conference</link>
<description>&lt;h2 id=&quot;hamburg-12-14-september-2025&quot;&gt;Hamburg, 12.-14. September 2025&lt;/h2&gt;&lt;div&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://euro.theforth.net/&quot;&gt;https://euro.theforth.net/&lt;/a&gt;&lt;/div&gt;&lt;p&gt;Should be very informative, as always.&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/326/are-you-all-coming-to-the-euroforth-conference</guid>
<pubDate>Mon, 01 Sep 2025 08:32:26 +0000</pubDate>
</item>
<item>
<title>Answered: This question is no longer relevant, but there's no delete function.</title>
<link>http://cloud.vfxforth.com/forum/319/this-question-is-longer-relevant-but-theres-delete-function?show=322#a322</link>
<description>&lt;h1 style=&quot;box-sizing: border-box; margin: 0px; font-size: 1.4em; line-height: 1.35em; overflow-wrap: break-word; caret-color: rgb(255, 255, 255); color: rgb(255, 255, 255); font-family: Ubuntu, Helvetica, Arial, FreeSans, sans-serif; background-color: rgb(0, 150, 136);&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;../319/this-question-is-longer-relevant-but-theres-delete-function&quot; style=&quot;box-sizing: border-box; color: rgb(255, 255, 255); text-decoration: none; line-height: inherit !important; border: 0px; opacity: 1;&quot;&gt;&lt;span itemprop=&quot;name&quot; style=&quot;box-sizing:border-box&quot;&gt;This question is no longer relevant, but there's no delete function.&lt;/span&gt;&lt;/a&gt;&lt;/h1&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/319/this-question-is-longer-relevant-but-theres-delete-function?show=322#a322</guid>
<pubDate>Thu, 07 Aug 2025 14:04:59 +0000</pubDate>
</item>
<item>
<title>There’s a bug in the macOS cross compiler</title>
<link>http://cloud.vfxforth.com/forum/321/theres-a-bug-in-the-macos-cross-compiler</link>
<description>After some investigation, when cross compiling vpf32sx.fth the stack depth appears to be limited to 6 values, as any more values are lost. This causes the population of farray to fail.&lt;br /&gt;
&lt;br /&gt;
Is there a formal bug submission process?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Theo</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/321/theres-a-bug-in-the-macos-cross-compiler</guid>
<pubDate>Sun, 03 Aug 2025 04:08:12 +0000</pubDate>
</item>
<item>
<title>Answered: Beginner Question: Drawing Simple Graphics with VFX Forth?</title>
<link>http://cloud.vfxforth.com/forum/314/beginner-question-drawing-simple-graphics-with-vfx-forth?show=318#a318</link>
<description>&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;I'm surprised nobody else has responded to this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;Drawing in VFX is as simple as abc.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;For example:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;BLACK PEN RED BRUSH \ Define your edge and fill colours&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;10 10 100 100 ELLIPSE \ Draw your circle by defining a bounding rectangle&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;You could easily define a word CIRCLE ( x,y,radius--- ) if you preferred.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;There are, of course a few hoops to jump through first.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#0451a5&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt; Make sure GTK is installed on your PC.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#0451a5&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt; Switch VFX to 64 bit floats, needed by the Cairo graphics library - for some reason VFX come with 80 bit floats at the moment.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#0451a5&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt; INCLUDE the GTK bindings and wrappers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#0451a5&quot;&gt;4.&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt; INCLUDE the CAIRO bindings and wrappers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#0451a5&quot;&gt;5.&lt;/span&gt;&lt;span style=&quot;color:#000000&quot;&gt; Code a little toy program that provides a surface for you to draw on.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;An example program that does 2-5 for you, using the latest version of GTK, has been donated to VFX though I'm not sure if it's part of the distribution yet.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#000000&quot;&gt;If you come to EuroForth 2025 I can show you exactly how it all works.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/314/beginner-question-drawing-simple-graphics-with-vfx-forth?show=318#a318</guid>
<pubDate>Mon, 28 Jul 2025 17:29:45 +0000</pubDate>
</item>
<item>
<title>Problem with binding rebuilt VFX (MacOS) Kernel</title>
<link>http://cloud.vfxforth.com/forum/317/problem-with-binding-rebuilt-vfx-macos-kernel</link>
<description>&lt;p data-start=&quot;987&quot; data-end=&quot;1222&quot; style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;When I rebuild the VFX kernel using&amp;nbsp;&lt;code data-start=&quot;1039&quot; data-end=&quot;1047&quot;&gt;x64.mo&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code data-start=&quot;1052&quot; data-end=&quot;1063&quot;&gt;mosx64.sh&lt;/code&gt;, I can generate&amp;nbsp;&lt;code data-start=&quot;1080&quot; data-end=&quot;1096&quot;&gt;VFXFORTH64.img&lt;/code&gt;. But the script then tries to run it directly, and macOS throws a “&lt;strong data-start=&quot;1164&quot; data-end=&quot;1185&quot;&gt;exec format error&lt;/strong&gt;” (likely expecting a Mach-O binary):&lt;/p&gt;&lt;pre class=&quot;overflow-visible!&quot; data-start=&quot;1224&quot; data-end=&quot;1295&quot; style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;&lt;/pre&gt;&lt;div class=&quot;contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary&quot;&gt;&lt;div class=&quot;flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl&quot;&gt;&lt;/div&gt;&lt;div class=&quot;overflow-y-auto p-4&quot; dir=&quot;ltr&quot;&gt;&lt;code class=&quot;whitespace-pre! language-bash&quot;&gt;% ./VFXFORTH64.img zsh: &lt;span class=&quot;hljs-built_in&quot;&gt;exec&lt;/span&gt; format error: ./VFXFORTH64.img &lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;p data-start=&quot;1297&quot; data-end=&quot;1313&quot; style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;Is there a work-around for this, or am I following the wrong shell script?&amp;nbsp;(I'm using the script mosx64.sh in /Kernel as the guide.)&lt;/p&gt;&lt;p data-start=&quot;1297&quot; data-end=&quot;1313&quot; style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;thanks&lt;/p&gt;&lt;p data-start=&quot;1297&quot; data-end=&quot;1313&quot; style=&quot;caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);&quot;&gt;- Bruno&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/317/problem-with-binding-rebuilt-vfx-macos-kernel</guid>
<pubDate>Thu, 24 Jul 2025 14:08:54 +0000</pubDate>
</item>
<item>
<title>Answered: where can I find a step by step example of how to use GUIgen?</title>
<link>http://cloud.vfxforth.com/forum/312/where-can-i-find-a-step-by-step-example-of-how-to-use-guigen?show=313#a313</link>
<description>GUIgen was written for the Win32 API using 32 bit VFX. I'm pretty sure it will not work under the 64-bit version.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/312/where-can-i-find-a-step-by-step-example-of-how-to-use-guigen?show=313#a313</guid>
<pubDate>Mon, 30 Jun 2025 09:38:44 +0000</pubDate>
</item>
<item>
<title>Answered: macOS building standalone app</title>
<link>http://cloud.vfxforth.com/forum/308/macos-building-standalone-app?show=311#a311</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I'm on an M1 Mac and was able to make an executable. ( I have rosetta&amp;nbsp;2 installed as VFXForth is intel codebase ). I placed the stubosx64.mo in the same location as vfx64, which for me is /usr/local/bin&amp;nbsp;&lt;/p&gt;&lt;p&gt;I followed the instructions in the manual ( Chapter 26 Building Standalone Programs ). It created an executable and ran without issue.&lt;/p&gt;&lt;blockquote&gt;&lt;div style=&quot;font-style: normal; color: rgb(204, 204, 204); background-color: rgb(31, 31, 31); font-family: Menlo, Monaco, &amp;quot;Courier New&amp;quot;, monospace; font-size: 12px; line-height: 18px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color:#dcdcaa&quot;&gt;start&lt;/span&gt; &lt;span style=&quot;color:#6a9955&quot;&gt;\ hmodule 0 commandline show -- res&lt;/span&gt;&lt;/div&gt;&lt;div&gt;4drop&lt;/div&gt;&lt;div&gt;WalkColdChain &lt;span style=&quot;color:#6a9955&quot;&gt;\ run startup chain&lt;/span&gt;&lt;/div&gt;&lt;div&gt;.&quot; &lt;span style=&quot;color:#ce9178&quot;&gt;Hello World! from VFX&quot;&lt;/span&gt; cr&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color:#b5cea8&quot;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 18px;&quot;&gt;&amp;nbsp;&lt;div&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;'&lt;/span&gt; start &lt;span style=&quot;color:#d4d4d4&quot;&gt;is&lt;/span&gt; EntryPoint&lt;/div&gt;&lt;div&gt;Save hello&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;p&gt;Hope this helps.&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/308/macos-building-standalone-app?show=311#a311</guid>
<pubDate>Wed, 28 May 2025 18:02:08 +0000</pubDate>
</item>
<item>
<title>Answered: Has anybody been able to compile vfxforth on to a Micro:bit V2 (nrf52833)?</title>
<link>http://cloud.vfxforth.com/forum/309/has-anybody-been-able-to-compile-vfxforth-micro-bit-nrf52833?show=310#a310</link>
<description>It's now resolved.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/309/has-anybody-been-able-to-compile-vfxforth-micro-bit-nrf52833?show=310#a310</guid>
<pubDate>Wed, 28 May 2025 17:06:30 +0000</pubDate>
</item>
<item>
<title>generating a DLL on Windows - missing VfxForthBH_64_win.exe</title>
<link>http://cloud.vfxforth.com/forum/307/generating-a-dll-on-windows-missing-vfxforthbh_64_win-exe</link>
<description>I am trying to generate a Windows DLL, starting with the GenDllTest.fth example.&lt;br /&gt;
&lt;br /&gt;
However, my distribution (version 5.43 build 4241) does not contain a pair of matched low-memory / high-memory compilers. VfxForthK_64_win.exe does not have init-libs, but both VfxForthB_x64_win.exe and VfxForth_x64_win.exe compile the file successfully, with the DllMain entry reported at different addresses. Unfortunately, that does not seem sufficient for MakeDll.&lt;br /&gt;
&lt;br /&gt;
MakeDll %bin%\VfxForthB_x64_win %bin%\VfxForth_x64_win %mydir%\GenDllTest C:\temp\testdll&lt;br /&gt;
Saving C:\temp\testdll&lt;br /&gt;
Err# -256 ERR: Execution of a DEFERed word with no ASSIGNed action.&lt;br /&gt;
&amp;nbsp;-&amp;gt; MakeDll %bin%\VfxForth_x64_win %bin%\VfxForthB_x64_win %mydir%\GenDllTest C:\temp\testdll&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;^&lt;br /&gt;
I then tried to make a VfxForthBH_x64_win.exe by using VfxBase64.bld. But (after selecting the latest ExternWin64.fth) I gave up after stumbling on the following error. Also I could not find how to load to make the result load to a higher memory area (just reserve unused space in the dictionary to get an offset?).&lt;br /&gt;
&lt;br /&gt;
Err# -13 ERR: Undefined word.&lt;br /&gt;
&amp;nbsp;Source: &amp;quot;c:\Products\VfxCommunity\Sources\VFXBase\CallDefWin64.fth&amp;quot; on line 178&lt;br /&gt;
&amp;nbsp;-&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[a &amp;nbsp;movsx &amp;nbsp;a] &amp;nbsp;Poff bytePSP, &amp;nbsp;^ai IntArgReg &amp;nbsp;[a]&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;^</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/307/generating-a-dll-on-windows-missing-vfxforthbh_64_win-exe</guid>
<pubDate>Wed, 08 Jan 2025 12:40:35 +0000</pubDate>
</item>
<item>
<title>False virus detection of turnkeys</title>
<link>http://cloud.vfxforth.com/forum/306/false-virus-detection-of-turnkeys</link>
<description>My saved turnkey exe (which has EntryPoint reassigned) is tripping Windows 10 defender on my own machine. &amp;nbsp;The file gets automatically quarantined a few moments after being copied to another folder.&lt;br /&gt;
&lt;br /&gt;
As I recall, I used to have this whenever I did anything with the compiler. &amp;nbsp;Since I'm not in this program, I guess that Windows Defender has gotten more sophisticated with its heuristics.&lt;br /&gt;
&lt;br /&gt;
What can I do that (hopefully) doesn't involve code signing?&lt;br /&gt;
&lt;br /&gt;
Version: 5.20 (build 3797) 32-bit</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/306/false-virus-detection-of-turnkeys</guid>
<pubDate>Wed, 01 Jan 2025 01:25:53 +0000</pubDate>
</item>
<item>
<title>Answered: Building Standalone Programs - getting the example to work?</title>
<link>http://cloud.vfxforth.com/forum/303/building-standalone-programs-getting-the-example-to-work?show=304#a304</link>
<description>This version does create a valid VFX console executable and provides a clue as to why the example does not work. &amp;nbsp;See comment&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
: start \ hmodule 0 commandline show-- res&lt;br /&gt;
&amp;nbsp;[ action-of EntryPoint ] literal execute&lt;br /&gt;
&amp;nbsp;0&lt;br /&gt;
&amp;nbsp;;&lt;br /&gt;
&lt;br /&gt;
' start is EntryPoint&lt;br /&gt;
SaveConsole hello</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/303/building-standalone-programs-getting-the-example-to-work?show=304#a304</guid>
<pubDate>Thu, 26 Dec 2024 08:53:29 +0000</pubDate>
</item>
<item>
<title>Answered: Could IF...THEN mismatches be trapped more tidily?</title>
<link>http://cloud.vfxforth.com/forum/301/could-if-then-mismatches-be-trapped-more-tidily?show=302#a302</link>
<description>The obvious thing to do is to add two check boxes:&lt;br /&gt;
1) check to display registers&lt;br /&gt;
2) check for a horizontal return stack display&lt;br /&gt;
Additional analysis of the last word called, e.g. &amp;gt;ARES is likely&lt;br /&gt;
to be unproductive. e.g. try&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;: TT &amp;nbsp;ELSE &amp;nbsp;;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/301/could-if-then-mismatches-be-trapped-more-tidily?show=302#a302</guid>
<pubDate>Fri, 06 Dec 2024 09:44:28 +0000</pubDate>
</item>
<item>
<title>Answered: Can old installation of VFX be preserved after new installation?</title>
<link>http://cloud.vfxforth.com/forum/297/can-old-installation-vfx-preserved-after-new-installation?show=299#a299</link>
<description>Make sure that you install the new version (64 bit or 32 bit) in a new empty directory.&lt;br /&gt;
&lt;br /&gt;
The only thing that may be shared is the INI file, type SHOWMACROS to see where it is for each version. The 64 bit INI file is not the same as the 32 bit, but all 32 bit installations will probably eventually use the same INI file.&lt;br /&gt;
&lt;br /&gt;
Sorry for the delay - mail went to mpeforth.com, which is only read once a month or so.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/297/can-old-installation-vfx-preserved-after-new-installation?show=299#a299</guid>
<pubDate>Wed, 27 Nov 2024 14:12:17 +0000</pubDate>
</item>
<item>
<title>Answered: embedding VfxForth into an interpreted language?</title>
<link>http://cloud.vfxforth.com/forum/295/embedding-vfxforth-into-an-interpreted-language?show=296#a296</link>
<description>My apologies for the delay in answering - domestic and technical nightmares now resolved.&lt;br /&gt;
&lt;br /&gt;
When we did this in the past, we used named pipes for comms because there is no need to interfere with other processes address space.&lt;br /&gt;
1) you can tell if the pipe is there. This allows you to determine if the pipe server (say Forth) is running.&lt;br /&gt;
2) You still have two processes running. On one or both sides side you can have a pipe task that feeds source code into the REPL.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/295/embedding-vfxforth-into-an-interpreted-language?show=296#a296</guid>
<pubDate>Thu, 14 Nov 2024 10:29:18 +0000</pubDate>
</item>
<item>
<title>Answered: getting started with libXL</title>
<link>http://cloud.vfxforth.com/forum/291/getting-started-with-libxl?show=292#a292</link>
<description>&lt;p&gt;There is no need to reload the EXTERN mechanism. It is already part of the VFX Forth base.&lt;/p&gt;&lt;p&gt;LibXL.fth does not include the definitions for Win64. To add these, insert the following code&lt;/p&gt;&lt;pre&gt;[defined] Target_x64_Windows [if]
also types definitions
: &quot;C&quot;    fastcall ;
previous definitions
Library: libXL.dll
[then]&lt;/pre&gt;&lt;p&gt;After this libXL.fth will compile correctly.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/291/getting-started-with-libxl?show=292#a292</guid>
<pubDate>Wed, 06 Nov 2024 11:01:25 +0000</pubDate>
</item>
<item>
<title>Answered: Command line history in the console app</title>
<link>http://cloud.vfxforth.com/forum/286/command-line-history-in-the-console-app?show=287#a287</link>
<description>The console is a GENIO device. There may be several devices for a version of VFX and the console is being redesigned for v6.&lt;br /&gt;
&lt;br /&gt;
The history system is contained within a GENIO device.&lt;br /&gt;
&lt;br /&gt;
For Windows, see VFXBase/Win64/richedit.fth. For Linux, see Lib/Lin64/Genio/xterm.fth. For MacOS, see Lib/Osx64/Genio/xterm.fth.&lt;br /&gt;
&lt;br /&gt;
For Windows, you will have to move or replicate the history system into the default console.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/286/command-line-history-in-the-console-app?show=287#a287</guid>
<pubDate>Mon, 07 Oct 2024 12:49:43 +0000</pubDate>
</item>
<item>
<title>Answered: Has anyone got a working version of XML.FTH?</title>
<link>http://cloud.vfxforth.com/forum/282/has-anyone-got-a-working-version-of-xml-fth?show=283#a283</link>
<description>&lt;p&gt;I seem to have bumbled my way through to fixing it. AS I suspected it was&amp;nbsp;&amp;nbsp;a problem with the change to 64-bit. There were a number of small changes needed throughout the file (mostly in details of 64 bit fetch and store) , but I think the critical bug was this on line 536 of ZML.FTH:&amp;nbsp;&lt;/p&gt;&lt;p&gt;: -align&lt;span style=&quot;white-space:pre&quot; class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt;\ caddr -- addr'&lt;/p&gt;&lt;p&gt;\ *G Align a byte address to the previous cell boundary.&lt;/p&gt;&lt;p&gt;\ ** N.B. This word assumes a byte addressed 32 bit Forth.&lt;/p&gt;&lt;p&gt;&amp;nbsp; -4 and &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;======================= &amp;nbsp;should be -8 AND&lt;/p&gt;&lt;p&gt;;&lt;/p&gt;&lt;div&gt;The -4 should be a -8 for 64 bit. As this word is part if the machinery for the multiple string-stacks, an error here would have lots of opportunity to mess things up.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Fortunately, due to Stephen's foresight and good programming practice, the comment preceding the above definition flagged it as being specific to 32-bit, so it caught my eye fairly quickly.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;Bruno Degazio&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/282/has-anyone-got-a-working-version-of-xml-fth?show=283#a283</guid>
<pubDate>Wed, 25 Sep 2024 14:46:11 +0000</pubDate>
</item>
<item>
<title>Answered: VFXFORTH -console</title>
<link>http://cloud.vfxforth.com/forum/278/vfxforth-console?show=279#a279</link>
<description>See the manual (remember those). Chapter 27, Building Standalone Programs. Section 27.5, Binary SAVE words. The word you want is SAVECONSOLE.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/278/vfxforth-console?show=279#a279</guid>
<pubDate>Tue, 03 Sep 2024 09:57:53 +0000</pubDate>
</item>
<item>
<title>Answered: VFX 64 for Arm Linux</title>
<link>http://cloud.vfxforth.com/forum/275/vfx-64-for-arm-linux?show=277#a277</link>
<description>Give me a call on +44 7803 903612. Stephen</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/275/vfx-64-for-arm-linux?show=277#a277</guid>
<pubDate>Mon, 02 Sep 2024 09:42:58 +0000</pubDate>
</item>
<item>
<title>Answered: How could this state machine (traffic light) be optimized further?</title>
<link>http://cloud.vfxforth.com/forum/269/how-could-this-state-machine-traffic-light-optimized-further?show=274#a274</link>
<description>In real life, we have never had a speed problem with VFX, despite dealing with over 100 much more complex state machines simultaneously in one 20ms thread, plus around 20 other threads doing user interface, communications with loads of other devices, and lots of database stuff.&lt;br /&gt;
&lt;br /&gt;
However - since we are getting competitive, here's a suggestion.&lt;br /&gt;
&lt;br /&gt;
Enumerate ALL possible states - a combination of light state and direction.&lt;br /&gt;
&lt;br /&gt;
Create a table defining the next state for each state.&lt;br /&gt;
&lt;br /&gt;
The transition simply does a lookup to generate the next state - almost certainly quicker than CASE, comparisons and IFs.&lt;br /&gt;
&lt;br /&gt;
In the good old days of Fig style Forth on 2MHz microcontrollers, when performance really was an issue, I remember this was an effective technique.&lt;br /&gt;
&lt;br /&gt;
Any good?&lt;br /&gt;
&lt;br /&gt;
I'm highly suspicious of the Rust figures - are we comparing like with like?&lt;br /&gt;
&lt;br /&gt;
Nick Nelson</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/269/how-could-this-state-machine-traffic-light-optimized-further?show=274#a274</guid>
<pubDate>Thu, 22 Aug 2024 09:57:36 +0000</pubDate>
</item>
<item>
<title>Answered: Something wrong with &quot;include&quot; on VFX Windows 5.43 build 4241</title>
<link>http://cloud.vfxforth.com/forum/266/something-wrong-with-include-on-vfx-windows-5-43-build-4241?show=267#a267</link>
<description>I always use EMPTY interactively. Run from within an include file will destroy some of the include file data (I think). The include file data system needs a rewrite - there are a couple of other side effects that need to be removed.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/266/something-wrong-with-include-on-vfx-windows-5-43-build-4241?show=267#a267</guid>
<pubDate>Tue, 28 May 2024 18:57:54 +0000</pubDate>
</item>
<item>
<title>Answered: https://www.mpeforth.com/arena/ProgramForth.pdf gives error 404</title>
<link>http://cloud.vfxforth.com/forum/256/https-www-mpeforth-com-arena-programforth-pdf-gives-error-404?show=261#a261</link>
<description>We have moved the old arena content over to vfxforth.com. Redirects are in place, your provided link works again.&lt;br /&gt;
&lt;br /&gt;
Thanks for letting us know.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/256/https-www-mpeforth-com-arena-programforth-pdf-gives-error-404?show=261#a261</guid>
<pubDate>Sat, 09 Mar 2024 17:13:46 +0000</pubDate>
</item>
<item>
<title>Answered: Cant download Tarball for Vfx Forth 64 for Linux ?</title>
<link>http://cloud.vfxforth.com/forum/257/cant-download-tarball-for-vfx-forth-64-for-linux?show=260#a260</link>
<description>We, the web people checked to downloads folder and found the last remaining trailing-slash-sensitive links. They are fixed now.&lt;br /&gt;
&lt;br /&gt;
If it still does not work for you, please provide more information where you are trying to download the tarball from.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/257/cant-download-tarball-for-vfx-forth-64-for-linux?show=260#a260</guid>
<pubDate>Thu, 07 Mar 2024 14:37:29 +0000</pubDate>
</item>
<item>
<title>Answered: Type mismatch calling external library on Windows</title>
<link>http://cloud.vfxforth.com/forum/250/type-mismatch-calling-external-library-on-windows?show=251#a251</link>
<description>Where is &amp;nbsp;the file raylib.dll? It must be in the Windows search path.&lt;br /&gt;
&lt;br /&gt;
Before execution, run .LIBS and .BADEXTERNS. If raylib.dll gives 0, it has not been found. If InitWindow gives 0, it has not been found.&lt;br /&gt;
&lt;br /&gt;
Please give me the results.&lt;br /&gt;
&lt;br /&gt;
I note that you are testing using a cross compiler. Try downloading VFX64 and testing on that, as that is what we will do.&lt;br /&gt;
&lt;br /&gt;
If there really is a type mismatch do three things:&lt;br /&gt;
1) send me raylib.dll (64 bit version)&lt;br /&gt;
2) decompile InitWindow (dis initWindow) and send me the result.&lt;br /&gt;
3) check this against the Win64 calling convention.&lt;br /&gt;
&lt;br /&gt;
Help me to help you. I do not need another C compiler installation on my Windows box. What I need is a 64 bit binary for the DLL.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/250/type-mismatch-calling-external-library-on-windows?show=251#a251</guid>
<pubDate>Mon, 12 Feb 2024 12:31:30 +0000</pubDate>
</item>
<item>
<title>Answered: Multitasking on RPi INIT_MULTI doesn't exist, where is multitasking Library?</title>
<link>http://cloud.vfxforth.com/forum/247/multitasking-init_multi-doesnt-exist-multitasking-library?show=248#a248</link>
<description>The word in current VFX versions is &amp;lt;pre&amp;gt;INIT-MULTI&amp;lt;/pre&amp;gt; and can be found at line 948 of Lib/Lin32/MultiLin32.fth.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/247/multitasking-init_multi-doesnt-exist-multitasking-library?show=248#a248</guid>
<pubDate>Wed, 17 Jan 2024 09:16:02 +0000</pubDate>
</item>
<item>
<title>Answered: Is somewhere free EBook about VFXForth?</title>
<link>http://cloud.vfxforth.com/forum/245/is-somewhere-free-ebook-about-vfxforth?show=246#a246</link>
<description>Stephen's book 'Programming Forth' is available from:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://www.mpeforth.com/resource-links/books/&quot; rel=&quot;nofollow&quot;&gt;https://www.mpeforth.com/resource-links/books/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Stephen</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/245/is-somewhere-free-ebook-about-vfxforth?show=246#a246</guid>
<pubDate>Mon, 15 Jan 2024 11:51:44 +0000</pubDate>
</item>
<item>
<title>Answered: How to access a 'C' float in a callback?</title>
<link>http://cloud.vfxforth.com/forum/241/how-to-access-a-c-float-in-a-callback?show=242#a242</link>
<description>I need to replicate this to see if there is a problem. So I have questions for you.&lt;br /&gt;
&lt;br /&gt;
VFX64 or VFX32? I assume 64 and will test on Win11.&lt;br /&gt;
&lt;br /&gt;
How do I replicate this? How do I trigger the callback? Please give code.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/241/how-to-access-a-c-float-in-a-callback?show=242#a242</guid>
<pubDate>Fri, 22 Dec 2023 12:58:52 +0000</pubDate>
</item>
<item>
<title>Answered: Which floating point system to use for MacOS (Cocoa)?</title>
<link>http://cloud.vfxforth.com/forum/228/which-floating-point-system-to-use-for-macos-cocoa?show=238#a238</link>
<description>VFX 5.43, November 7 2023, has this fixed in KERNEL: Corrected return of two double floats in VFXBase/ExternSysVx64.fth. Current coco-vfx64 uses NDP FP because of speed.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/228/which-floating-point-system-to-use-for-macos-cocoa?show=238#a238</guid>
<pubDate>Fri, 15 Dec 2023 07:12:42 +0000</pubDate>
</item>
<item>
<title>Answered: Err# -1001 Invalid type in EXTERN: import</title>
<link>http://cloud.vfxforth.com/forum/236/err%23-1001-invalid-type-in-extern-import?show=237#a237</link>
<description>I cannot replicate this fault on v5.43.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;extern &amp;quot;C&amp;quot; int al_attach_audio_stream_to_mixer( void * stream, void * mixer ); &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ok</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/236/err%23-1001-invalid-type-in-extern-import?show=237#a237</guid>
<pubDate>Thu, 14 Dec 2023 11:07:40 +0000</pubDate>
</item>
<item>
<title>Answered: Which FP package to use for MacOS?</title>
<link>http://cloud.vfxforth.com/forum/227/which-fp-package-to-use-for-macos?show=232#a232</link>
<description>It turned out that the problem was only with a small number of Externs that returned two floats. Unfortunately that included several graphics-related related OS calls needed for drawing and re-sizing windows, which made the problem look much larger than it really was. &lt;br /&gt;
&lt;br /&gt;
PS - I just found out that there is a fix (vfx 5.43) already up on the server. Thanks!</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/227/which-fp-package-to-use-for-macos?show=232#a232</guid>
<pubDate>Wed, 08 Nov 2023 11:12:43 +0000</pubDate>
</item>
<item>
<title>Answered: Where to download VFX for MacOS, version 5.4x?</title>
<link>http://cloud.vfxforth.com/forum/225/where-to-download-vfx-for-macos-version-5-4x?show=226#a226</link>
<description>It's a website f***up. Go to&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://vfxforth.com/downloads/VfxCommunity/&quot; rel=&quot;nofollow&quot;&gt;https://vfxforth.com/downloads/VfxCommunity/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Depending on the browser, the trailing '/' matters.&lt;br /&gt;
&lt;br /&gt;
Regards, Stephen</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/225/where-to-download-vfx-for-macos-version-5-4x?show=226#a226</guid>
<pubDate>Sun, 29 Oct 2023 11:58:54 +0000</pubDate>
</item>
<item>
<title>Answered: Not understanding CallDef: properly</title>
<link>http://cloud.vfxforth.com/forum/199/not-understanding-calldef-properly?show=222#a222</link>
<description>Just to confirm that floating point doubles in callbacks now work correctly.&lt;br /&gt;
&lt;br /&gt;
(Linux64 and SSE64)</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/199/not-understanding-calldef-properly?show=222#a222</guid>
<pubDate>Tue, 03 Oct 2023 16:32:44 +0000</pubDate>
</item>
<item>
<title>Answered: undefined word compile ?</title>
<link>http://cloud.vfxforth.com/forum/219/undefined-word-compile?show=220#a220</link>
<description>Use POSTPONE instead of COMPILE. The kernel is cross-compiled and the cross compiler supports COMPILE as well as POSTPONE.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/219/undefined-word-compile?show=220#a220</guid>
<pubDate>Tue, 19 Sep 2023 11:22:24 +0000</pubDate>
</item>
<item>
<title>Fixing RebuildLin64.sh broken on Linux x64, patch supplied</title>
<link>http://cloud.vfxforth.com/forum/218/fixing-rebuildlin64-sh-broken-on-linux-x64-patch-supplied</link>
<description>&lt;p&gt;Hello&lt;/p&gt;&lt;p&gt;In order to integrate PDFhelp.fth into the kernel I had to make ./RebuildLin64.sh work. It says in the manual be careful&amp;nbsp;of paths, which I automated,&amp;nbsp;and fixed a couple of typos as well.&lt;/p&gt;&lt;p&gt;So now no more include for PDFhelp.fth, it just works when I boot Forth, happy bunny :)&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;Binary files ../../VfxForth64Lin.VIRGIN/Bin/VfxForth_x64_lin.elf and ./Bin/VfxForth_x64_lin.elf differ

diff -ruN ../../VfxForth64Lin.VIRGIN/Kernel/mlin64.sh ./Kernel/mlin64.sh

--- ../../VfxForth64Lin.VIRGIN/Kernel/mlin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-06-09 11:36:10.000000000 +0100

+++ ./Kernel/mlin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 19:06:03.625947939 +0100

@@ -6,12 +6,12 @@

 

 # build arguments

 VFX_ARGS=&quot;1 constant Community?&quot;

-if [ &quot;$VFX_BATCH_MODE&quot; -eq &quot;1&quot; ]; then

+if [ &quot;$VFX_BATCH_MODE&quot; = &quot;1&quot; ]; then

     VFX_ARGS+=&quot; 1 constant BatchMode&quot;

 fi

 

 # save the INI file

-cp ~/.VfxForth/VfxForth.ini ini.temp

+cp ~/.VfxForth/VfxForth64.ini ini.temp

 

 # Build the desktop version

 # TODO CI2020 stephen: why isn't that crosscompile in the buildkit?

@@ -28,7 +28,7 @@

 $XCDIR/x64.elf $VFX_ARGS include x64lin1.ctl

 mv -f VFXFORTH.img  vfxkern64.elf

 chmod +x vfxkern64.elf

-cp -a vfxkern64.elf  ../Images/VfxForthK_x64_lin.elf

+cp -a vfxkern64.elf ${XCDIR}/VfxForthK_x64_lin.elf

 

 # restore the INI file

-mv ini.temp ~/.VfxForth/VfxForth.ini

+mv ini.temp ~/.VfxForth/VfxForth64.ini

Binary files ../../VfxForth64Lin.VIRGIN/Kernel/vfxkern64.elf and ./Kernel/vfxkern64.elf differ

Binary files ../../VfxForth64Lin.VIRGIN/Kernel/XREF.XRF and ./Kernel/XREF.XRF differ

diff -ruN ../../VfxForth64Lin.VIRGIN/RebuildLin64.sh ./RebuildLin64.sh

--- ../../VfxForth64Lin.VIRGIN/RebuildLin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-06-09 11:36:10.000000000 +0100

+++ ./RebuildLin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 19:28:23.128666912 +0100

@@ -1,5 +1,5 @@

 #! /bin/bash

-INI_FILE=${VFX_DEFAULT_INI:-$HOME/.VfxForth/VfxForth.ini}

+INI_FILE=${VFX_DEFAULT_INI:-$HOME/.VfxForth/VfxForth64.ini}

 INI_TEMP=ini.temp

 

 [ -f $INI_FILE ] &amp;amp;&amp;amp; cp $INI_FILE $INI_TEMP

@@ -9,6 +9,15 @@

 ./mlin64.sh $*

 cd ..

 if [ &quot;$VFX_BATCH_MODE&quot; != &quot;1&quot; ]; then

-    ./CopyLin64.sh

+    # ./CopyLin64.sh

+

+    printf &quot;\n\n                 !!!! IMPORTANT PLEASE READ !!!! \n\n&quot;

+    printf &quot;Rebuild64.sh tries to execute ./CopyLin64.sh which does not exist !\n&quot;

+    printf &quot;I can't find the code for this file but from the name and the fact that\n&quot;

+    printf &quot;is right at the end I would guess that it copies the 64 bit linux exes\n&quot;

+    printf &quot;to Linux ... I would suggest you run ./InstallMe.Lin64.sh instead :)&quot;

+    printf &quot;\n\n&quot;

+

 fi

+

 [ -f $INI_TEMP ] &amp;amp;&amp;amp; mv $INI_TEMP $INI_FILE

diff -ruN ../../VfxForth64Lin.VIRGIN/VFXBase/mlin64.sh ./VFXBase/mlin64.sh

--- ../../VfxForth64Lin.VIRGIN/VFXBase/mlin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-06-09 11:36:10.000000000 +0100

+++ ./VFXBase/mlin64.sh&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 18:59:10.784766919 +0100

@@ -4,7 +4,7 @@

 

 # CI2020: setup directories

 VFX_BUILDKIT_DIR=${VFX_BUILDKIT_DIR:-$HOME/buildkit.dev}

-VFX_DEFAULT_INI=${VFX_DEFAULT_INI:-$HOME/.VfxForth/VfxForth.ini}

+VFX_DEFAULT_INI=${VFX_DEFAULT_INI:-$HOME/.VfxForth/VfxForth64.ini}

 

 # default values

 BUILD_LEVEL=2

@@ -19,12 +19,24 @@

 # save INI file

 cp $VFX_DEFAULT_INI ini.temp

 

+# Build the desktop version

+# TODO CI2020 stephen: why isn't that crosscompile in the buildkit?

+if [ -d ../Images ]; then

+  XCDIR=../Images

+else

+  if [ -d ../Bin ]; then

+    XCDIR=../Bin

+  else

+    XCDIR=${HOME}/buildkit.dev/software/COMPILER

+  fi

+fi

+

 # Build proper

 cp VfxLin.no VfxLin.tmp

-../Images/VfxForthK_x64_lin.elf  $VFX_ARGS

-cp -a vfxlin64 ../Images/VfxForth_x64_lin.elf

+${XCDIR}/VfxForthK_x64_lin.elf  $VFX_ARGS

+cp -a vfxlin64 ${XCDIR}/VfxForth_x64_lin.elf

 # mv -f vfxlin64 ../Images/VfxForth_x64_lin.elf

-chmod +x ../Images/VfxForth_x64_lin.elf

+chmod +x ${XCDIR}/VfxForth_x64_lin.elf

 cp VfxLin.tmp VfxLin.no

 

 # restore INI file

diff -ruN ../../VfxForth64Lin.VIRGIN/VFXBase/VfxBase64.bld ./VFXBase/VfxBase64.bld

--- ../../VfxForth64Lin.VIRGIN/VFXBase/VfxBase64.bld&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 19:32:54.755206149 +0100

+++ ./VFXBase/VfxBase64.bld&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 19:03:15.535811987 +0100

@@ -152,7 +152,7 @@

 cr .( XREF )                    include ../Lib/xref

 cr .( DocGen )                  include ../Lib/DocGen4

 \ The next line should be the last of this group

-cr .( Config save/restore )                 include Lin32/SysConfig

+cr .( Config save/restore )                 include Lin64/SysConfig

 [THEN]

 

 [defined] Target_AA64_Linux [IF]

Binary files ../../VfxForth64Lin.VIRGIN/VFXBase/vfxlin64 and ./VFXBase/vfxlin64 differ

diff -ruN ../../VfxForth64Lin.VIRGIN/VFXBase/VfxLin64.no ./VFXBase/VfxLin64.no

--- ../../VfxForth64Lin.VIRGIN/VFXBase/VfxLin64.no&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-06-09 11:36:10.000000000 +0100

+++ ./VFXBase/VfxLin64.no&lt;span style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;2023-08-27 19:28:30.224730620 +0100

@@ -1 +1 @@

-5.41 [build 0183]

\ No newline at end of file

+5.41 [build 0197]

\ No newline at end of file


&lt;/pre&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/218/fixing-rebuildlin64-sh-broken-on-linux-x64-patch-supplied</guid>
<pubDate>Mon, 28 Aug 2023 08:18:44 +0000</pubDate>
</item>
<item>
<title>Answered: Fixing help broken on Linux x64, patch supplied</title>
<link>http://cloud.vfxforth.com/forum/216/fixing-help-broken-on-linux-x64-patch-supplied?show=217#a217</link>
<description>&lt;p&gt;Apologies, I made some errors above, if you want &quot;help&quot; to work the following is far more robust&lt;/p&gt;&lt;p&gt;From a Fresh install, check ~/.VfxForth/VfxForth.ini basepath is configured, in my case…&lt;/p&gt;&lt;p&gt;basepath = /home/dave/VfxForth64Lin&lt;/p&gt;&lt;p&gt;Next get the patch ...&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;diff -r /home/dave/VfxForth64Lin.VIRGIN/Lib/PDFhelp.fth /home/dave/VfxForth64Lin/Lib/PDFhelp.fth&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;192c192&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;lt;&amp;nbsp; &amp;nbsp;s&quot; %LOAD_PATH%/../doc/VfxLin&quot; HelpBase$ place&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt;&amp;nbsp; &amp;nbsp;s&quot; %BASEPATH%/Doc/VfxLin64&quot; HelpBase$ place&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;209c209&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;lt;&amp;nbsp; &amp;nbsp;&quot;, \entry {\code {&quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt;&amp;nbsp; &amp;nbsp;&quot;, \entry{\code {&quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;219a220,221&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt;&amp;nbsp; &amp;nbsp;\ expand macros to get path to VfxLin64.*&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt;&amp;nbsp; &amp;nbsp;helpbase$ $ExpandMacros count helpbase$ place&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;397a400&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt; [defined] Target_x64_Linux or&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;404c407&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;lt;&amp;nbsp; &amp;nbsp;s&quot; HelpBase&quot; HelpBase$ /Help$ s&quot; /usr/share/doc/VfxForth/Doc/VfxLin&quot; Ini.ReadStr&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;&lt;span style=&quot;font-size:10px&quot;&gt;&amp;gt;&amp;nbsp; &amp;nbsp;s&quot; HelpBase&quot; HelpBase$ /Help$ s&quot; %BASEPATH%/Doc/VfxLin64&quot; Ini.ReadStr&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Then use the above patch and apply it to the PDFhelp.fth file, in my case&lt;/p&gt;&lt;p&gt;patch /home/dave/VfxForth64Lin/Lib/PDFhelp.fth /home/dave/Desktop/PDFhelp.fth.PATCH&lt;/p&gt;&lt;p&gt;Then in VfxForth include the file, in my case&lt;/p&gt;&lt;p&gt;include /home/dave/VfxForth64Lin/Lib/PDFhelp.fth&lt;/p&gt;&lt;p&gt;Then this works :)&lt;/p&gt;&lt;p&gt;help help&lt;/p&gt;&lt;p&gt;Now working on howto recompile VfxForth so its included automatically without having to re-include it&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/216/fixing-help-broken-on-linux-x64-patch-supplied?show=217#a217</guid>
<pubDate>Sat, 26 Aug 2023 15:54:29 +0000</pubDate>
</item>
<item>
<title>Answered: Very useful VOCDOT - could this be ANSI?</title>
<link>http://cloud.vfxforth.com/forum/212/very-useful-vocdot-could-this-be-ansi?show=215#a215</link>
<description>This really one for Gerald, but note that recognisers are not yet standardised.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/212/very-useful-vocdot-could-this-be-ansi?show=215#a215</guid>
<pubDate>Thu, 10 Aug 2023 09:16:51 +0000</pubDate>
</item>
<item>
<title>Answered: POSTPONE state switching</title>
<link>http://cloud.vfxforth.com/forum/213/postpone-state-switching?show=214#a214</link>
<description>Not yet. Recognisers are not yet properly standardised.</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/213/postpone-state-switching?show=214#a214</guid>
<pubDate>Thu, 10 Aug 2023 09:15:26 +0000</pubDate>
</item>
<item>
<title>A few minor issues with V5.41 on Linux64</title>
<link>http://cloud.vfxforth.com/forum/211/a-few-minor-issues-with-v5-41-on-linux64</link>
<description>&lt;p&gt;a) The release notes state that &quot;the base VFX64 does not include an FP pack&quot;. In fact, NDP387 is in the base system. If you need SSE64 then you have to remove NDP387 first. The documentation does not highlight that the NDP387 recogniser also needs to be manually removed - see my other post.&lt;/p&gt;&lt;p&gt;b) The compilation of FPSSE64S.fth leaves a couple of items on the number stack. These are non-functional problems, but on our build they flag an alert. The problem is a couple of NIP s missing. Line 307 etc. should be ...&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;c&quot; FP-PACK&quot; find NIP&amp;nbsp; FPsystem SSE64System =&amp;nbsp; and&lt;br&gt;dup [IF]&amp;nbsp; cr .&quot; SSE64System pack already compiled&quot;&amp;nbsp; [THEN]&lt;br&gt;?StopIncluding&lt;br&gt;&lt;br&gt;c&quot; FP-PACK&quot; find NIP FPsystem 0&amp;lt;&amp;gt; or&lt;br&gt;[IF]&amp;nbsp; cr .&quot; Remove existing float pack before compiling this one&quot; abort&amp;nbsp; [THEN]&lt;/span&gt;&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/211/a-few-minor-issues-with-v5-41-on-linux64</guid>
<pubDate>Wed, 09 Aug 2023 09:01:44 +0000</pubDate>
</item>
<item>
<title>Answered: Raspberry Pi: could  I  control the general purpose I/O pins?</title>
<link>http://cloud.vfxforth.com/forum/183/raspberry-pi-could-i-control-the-general-purpose-i-o-pins?show=207#a207</link>
<description>&lt;p&gt;The 'correct' answer is to write a Linux kernel device driver for the&amp;nbsp;GPIO/I2C/SPI/.. peripheral and access it through userspace. &lt;a rel=&quot;nofollow&quot; href=&quot;https://embetronicx.com/tutorials/linux/device-drivers/gpio-driver-basic-using-raspberry-pi/&quot;&gt;However, this is hard work.&lt;/a&gt;&lt;br&gt;&lt;br&gt;The approach taken below (and also libbcm2835&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.airspayce.com/mikem/bcm2835/&quot;&gt;https://www.airspayce.com/mikem/bcm2835/&lt;/a&gt;) is to access the memory device &lt;em&gt;/dev/mem&lt;/em&gt; directly - is a bit of a hack but quick and easy. See the comment about libbcm2835 in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/maximeh/buildroot/blob/master/package/bcm2835/Config.in&quot;&gt;Buildroot Config&lt;/a&gt;:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;WARNING: the opinion of the Buildroot developers is that such library is a complete abomination as it entirely works around the standard Linux interfaces to access GPIOs, I2C, SPI busses or other IOs. The library directly remaps the hardware registers in user-space, completely bypassing what the kernel drivers are doing, and potentially conflicting with them.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;You takes your choice!&lt;/p&gt;&lt;p&gt;Bart&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/183/raspberry-pi-could-i-control-the-general-purpose-i-o-pins?show=207#a207</guid>
<pubDate>Tue, 25 Jul 2023 15:08:00 +0000</pubDate>
</item>
<item>
<title>Step missing in the documented process for switching floating point systems?</title>
<link>http://cloud.vfxforth.com/forum/198/missing-documented-process-switching-floating-point-systems</link>
<description>&lt;p&gt;I think there may be a critical bit of information missing in the VFX manual ?&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Section 14.4 Only one FP package&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;says ...&lt;/p&gt;&lt;p&gt;To replace the floating point pack use:&lt;br&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;remove-FP-pack&lt;br&gt;include &amp;lt;sourcefile&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;BUT this does not remove the default NDP floating point recogniser, so any subsequent attempt to use an FP number results in a mysterious crash.&lt;/p&gt;&lt;p&gt;BEFORE doing remove-FP-pack, you must do&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;' REC-NDPFLOAT FORTH-RECOGNIZER -STACK \ Remove NDP recog&lt;/span&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/198/missing-documented-process-switching-floating-point-systems</guid>
<pubDate>Thu, 20 Jul 2023 18:36:24 +0000</pubDate>
</item>
<item>
<title>Answered: memory error saving application to an .exe with SAVE</title>
<link>http://cloud.vfxforth.com/forum/192/memory-error-saving-application-to-an-exe-with-save?show=193#a193</link>
<description>&lt;p&gt;SAVE operates on the current dictionary, which has to be less than the stated maximum dictionary size.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;1024 Mb set-size&lt;br&gt;save bigvfx&lt;br&gt;bye&lt;/span&gt;&lt;/p&gt;&lt;p&gt;run bigvfx&lt;br&gt;compile app&lt;br&gt;save app&lt;br&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">http://cloud.vfxforth.com/forum/192/memory-error-saving-application-to-an-exe-with-save?show=193#a193</guid>
<pubDate>Thu, 13 Jul 2023 07:58:09 +0000</pubDate>
</item>
</channel>
</rss>