Page 1 of 1

[Linux] Hollywood 8 console mode

Posted: Fri May 02, 2025 9:23 pm
by r-tea
I use Puppy Linux BookwormPup.
I copied all the Hollywood files from my CD to /root/my-applications/bin/Hollywood:
Hollywood, Hollywood.key, Hollywood.sys, Interpreter and the directories [Docs], [Examples], [LinkerPlugins], [Plugins] and [projects].
In the console, when I navigate to Hollywood's home directory, and run:

Code: Select all

./Interpreter projects/test.hws
with the followin code:

Code: Select all

@DISPLAY {1, 640, 480, "Test"}

While Not IsKeyDown("esc")
 Flip
Wend

End
I get an error window saying "Tag expected!" pointing to line 1.

However, when I run this official example:

Code: Select all

./Interpreter Examples/Hollywood/FloodFill/FloodFill.hws
everything works fine.

What am I doing wrong?

Re: [Linux] Hollywood 8 console mode

Posted: Fri May 02, 2025 11:34 pm
by Flinx
You need not only values in the table but tags as identifier. Look at the examples for @DISPLAY in the manual.

Code: Select all

@DISPLAY {Width=640, Height=480, Title="Test"}

BeginDoubleBuffer()
While Not IsKeyDown("esc")
 Flip
Wend

Re: [Linux] Hollywood 8 console mode

Posted: Sat May 03, 2025 1:05 pm
by r-tea
Thank you. You were right — I was in a bit of a hurry coming back to Hollywood after a long break.
Now, another issue:
"Double buffering mode is not currently active!" — this error points to the line with the Flip function.

Re: [Linux] Hollywood 8 console mode

Posted: Sat May 03, 2025 7:21 pm
by Flinx
I've already added the solution for this, but without mentioning it. Try my complete example :)

Re: [Linux] Hollywood 8 console mode

Posted: Sun May 04, 2025 4:11 pm
by r-tea
Thank you. It works the way I expected.