Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
102 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 101

Georg, more...

Headlines

Forum Index


Board index » All Posts (Allanon)




Re: Thought I'd say Hi on the offical Newbie forum!
Just popping in
Just popping in


@tommo1975

Welcome mate!

Go to top


Re: AmigaOne Commodore Case!!
Just popping in
Just popping in


@danwood_uk

Cool!!!!
...and welcome!

Go to top


Re: SAM and quality of the display
Just popping in
Just popping in


@TheDaddy

I've exactly the same problem here, I've sent an e-mail to ACube yesterday to have infos about taking the VGA signal directly from the header.
But since I'm quiet a noob on this hw things I've asked if they sell some kind of adapters to plug in the header.

Go to top


Re: What do you think about....
Just popping in
Just popping in


@nubechecorre
Good idea, it would be very interesting!!

Go to top


Re: Is Ibrowse 100% capatiable with SAM 4.1?
Just popping in
Just popping in


@Slayer
Quote:

Slayer wrote:
@Allanon

I guess ya mean the actual main program?

Yep

Go to top


Re: Is Ibrowse 100% capatiable with SAM 4.1?
Just popping in
Just popping in


I've solved disabling JIT for IBrowse, now seems stable, no more freezes at all

Go to top


Re: Learning HollyWood (~Tutorial) Vol. 1
Just popping in
Just popping in


@PEB
Sorry mate, I've made an error copying & pasting the example, ofcourse the intention was to print the pressed key and not the message table.
:)

Go to top


Re: Learning HollyWood (~Tutorial) Vol. 1
Just popping in
Just popping in


Instead of REM Hollywood uses ;
Here is a complete and very simple example:

Function PrintMyKey(k)
   ; 
This function is called everytime the user release a key
   NPrint
(k)
EndFunction

Below we are telling Hollywood to call the function
PrintMyKey everytime the user release a keyboard key
InstallEventHandler
({OnKeyUp PrintMyKey})

The following loop is a neverending loop that do nothing
but in background Hollywood is still "listening" for the
; <OnKeyUpevents.
You can exit from this program hitting Control+C
Repeat
   WaitEvent
Forever


I love these Hollywood event handlers
:)

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


@Atheist

Quote:

Atheist wrote:
I've been using Hollywood for about 2 hours, and there are some interesting features that I don't think AMOS Pro had, like Layers (are these the same layers as in C?). I could see that for graphics being extremely useful, and I was constantly clearing sentences in AMOS by measuring string length and printing that many blank characters over them, that was a nuisance. But in exchange for that, I'd imagine that possibly a lot of resources are used?

I'm in total shock that a 3 line stand alone compiled program for AOS4/PPC which only prints "Hello World" and waits for a mouse press to finish comes out to 970,000 bytes!!!



I'm developing ScuiLib, a huge library with Hollywood (around 12.000 lines) and I can say that the size of the executable isn't scaring at all, it's around 1,2M (OS4 version).
That's because Hollywood link to your executable a platform-specific player with your compiled code.

I don't have precise data but seems that when you compile your projects you have about 800/900K for the player and the rest for your code.

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


EDIT:
----------------------------------
@ChrisH
Sorry Ive posted before reading your wishes, this is the last one, I'll stop immediately further comments.
----------------------------------

@LiveForIt

Quote:

LiveForIt wrote:
@Allanon

Quote:

you can have non-numeric indexes to simulate structures:
mytable = { name = "Johnny", surname = "Mnemonic" }

so you can access them with:
mytable.name
mytable.surname

but this is not a LUA thread


enum Days {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri};

/*
Now you have auto numbers.
so you don't need to remember numbers.

Sat =1
Sun =2
Mon =3
Tue =4
Wen =5
Fri =6

use this in side tables and event handlers, and so as you like.

*/


But my example is something quite different, I've make this example to show how structures can be done in LUA and Hollywood, another example can be:

mystruct = { name "Johnny",
             
surname "Mnemonic",
             
activities = { "hero""courier" } }


during the code execution I can add another fields without worries, and I've to remember only the field name:
mystruct.age 33


I can access members with something like this
Function GetMember(membername)
   Return(
mystruct[membername])
EndFunction


so:
value = GetMemeber("name")
sets value with "Johnny"

Enum is something different used to declare constants numerics variables.

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


@Atheist

--- PLOT IN HOLLYWOOD ---
Plot(x, y, color)


@LiveForIt
Quote:

I don?t know what you?re trying to do whit the last line; I think a structure might be better.
A structure is a way to group variables.

Struct
{
char *str1;
char *str2;
int value1;
int value2;
char *str3;
} my_value_type;


That's the way Hollywood (and LUA) handle data, somithing similar to standard structures:

mytable = { 2, 3, "four" }

is the same as
mytable[0] = 2
mytable[1] = 3
mytable[2] = "four"


you can have non-numeric indexes to simulate structures:
mytable = { name = "Johnny", surname = "Mnemonic" }

so you can access them with:
mytable.name
mytable.surname


but this is not a LUA thread

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


@LiveForIt

... I can add the following examples

--- LUA ---
number = 5

--- Hollywood ---
number = 5

In Hollywood you can force <number> to be globally or locally declared with:

Global number = 5
or
Local number = 5



In these languages type have not to be declared, you can have:
number = 5 ; <--- numeric type
number = "five" ; <--- string type
number = { "one", "two", 3, 4, "five" } ; <--- table of mixed types

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


@Atheist

Sorry if "I'm pushing always the same key" but, why don't you try Hollywood, I'm sure that is what you're searching for.

I'm planning to write an isometric turn-based RPG with Hollywood, I've written down some ideas and when I've finished ScuiLib and some utilities I'm working on I'll start to port a 2d particle engine I've written some time ago in Blitz, then I will test Hollywood how can handle a basic isometric engine, if this is the case I'll start with Hollywood otherwise I will do the job in E.

I've played with E many years ago and IIRC it's much more simple and "natural" then C.

If you are interested we can join our forces in a such neverending task :)

Go to top


Re: Doesn't Seem to be Any Programing Languages for AOS4 for the Average Person
Just popping in
Just popping in


Hollywood can be also compared to LUA for many concepts behind it like tables for example.

Lua has been my favourite language for years but when I've put my hand on Hollywood, well... :)

If you are looking for a simple to understand and very powerfull language you should find the time to install the ISO you've got.

Go to top


Re: Testing SAM for the new SAM case
Just popping in
Just popping in


I've no problems at all, I'm using a wireless Logitech keyboard.

Go to top


Re: Glame
Just popping in
Just popping in


@Tuxedo

Well, if you need it I will release a beta version with some preloaded profiles yuo can select with the drop down gadget.
Before that I want to include same basic preferences like:
- Clear FileList after encoding (Flag)
- Remove original Files after encoding (Flag)
- Overwrite existing files (Flag)
- Play sound when encoding has been completed (Flag)

I'd like to insert two more buttons to play/stop the selected file in the FileList.

Let's say next week I can release something
:)


@Wanderer
Yes, I know about the look of the gui but you should know that I'm using Hollywood to build this app and a Gui library developed by me named ScuiLib.
Hollywood doesn't have any sort of Gui and can't open any windows except the main program window.
So I was forced to develop a Gui library by myself, it's event driven and I've made a fake window system because I can't open system windows.
The gui is skinnable and right now I prefer to focus to the app development and ScuiLib testing then skin design :)

When I'll have time I'll try to make an OS4-like theme, but actually I've other priorities, first of all I've to complete the missing classes in ScuiLib.

Fonts are the same there are just two different sizes (11 and 9 if I remember right)
Why are you saying "randomly-made layout"? We can discuss about it, I'd like to have a simple front Gui with all of the options in the profiles editor, any suggestions? How can I improve the layout?

Regards,
Allanon

P.S.: if I change the font of the title bar of the fake window nothing will fall into pieces :P

Go to top


Re: Glame
Just popping in
Just popping in


@Tuxedo
sorry no AISS at the moment, but in the next version of ScuiLib will be support for images/icons in buttons and I hope to make a gui theme more OS4 like.

ETA is unknown, the program is actually missing:
- Encoding Profile editing
- Tons of lame options
- Preferences
- The encoding feedback you have requested ;)

Go to top


Re: Glame
Just popping in
Just popping in


@Tuxedo

I will try to catch the output of lame and convert in same sort of feedback in the encoding window :)

Go to top


Glame
Just popping in
Just popping in


Hello, I'm working on a front end for Lame named Glame, do you like the design?

Click Here!

What you see is the AROS version, but when it will be finished an OS4 and a 68k versions will be released too

Go to top


Re: cordless keyboard/mouse set on sam440ep/os41 ?
Just popping in
Just popping in


@drvolk

Hello and congrats for your SAM :)

I'm successfully using a Logitech wireless mouse/keyboard, but the wireless mouse was replaced by a wired one because i was tired of battery changes :)
The w/l keyboard work without problems, if I found a pair of batteries in my home I can try and let you know

Go to top



TopTop
« 1 (2) 3 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project