Author
| SymbOS MSX multitasking operating system - help needed!
|
Trebmint msx addict Posts: 284 | Posted: June 11 2008, 00:20   |
Excellent. Cheers guys. Perhaps next time i'll do a proper little application rather than a stupid thing  |
|
spl online msx professional Posts: 759 | Posted: June 11 2008, 00:53   |
|
|
Trebmint msx addict Posts: 284 | Posted: June 11 2008, 15:21   |
You can try out another small demo at www.dread-donkey.com/symstudio/downloads/paintpot.rar
This tiny demo is not really a proper paint package, but allows you to draw onto the screen using the mouse in upto 16 colours. Perhaps shows what might be acheivable in symbasic though.
And here's the listing.
Global Loop,ObjId
;**** Code called on event occuring on Timer1
FUNCTION Timer1_Event
If MouseOver(Super1_ID) Then
Label2_Text="x -"+Str$(MouseX()-(Form1_Left+Super1_Left))
Label3_Text="y -"+Str$(MouseY()-(Form1_Top+Super1_Top))
else
Label2_Text="x -"
Label3_Text="y -"
endif
RefreshObj Label2_Id
RefreshObj Label3_Id
ENDF
;**** Main loop of Form Form1
FUNCTION Form1_Main
If MouseOver(Super1_ID) and MouseKey()=1 then
SetObjPos Paint1_Id,MouseX()-(Form1_Left+2),MouseY()-(Form1_Top+20)
RefreshObj Paint1_Id
else
for loop=1 to 16
ObjId=GetObjId(1,Loop+2) ;First ID is Number 3 and Form is 1
If MouseOver(ObjId) and MouseKey()=1 then
Label1_Text="Pen: "+str$(Loop)
Paint1_Appearance=Loop-1
RefreshObj Label1_ID
endif
next
endif
ENDF
;****
|
|
spl online msx professional Posts: 759 | Posted: June 11 2008, 15:47   |
Cool! I will try it at night  |
|
edgarpinheiro msx friend Posts: 4 | Posted: June 12 2008, 02:47   |
Hello!!
I'm having a lot trouble to run symbos on my tr...
Can anyone show me how to do??
I have a sunrise ide on slot 2.0
how can I run it???
thanks!
|
|
spl online msx professional Posts: 759 | Posted: June 13 2008, 23:46   |
Trebmint: just tested  . It works also perfectly at 16 colours  |
|
Trebmint msx addict Posts: 284 | Posted: June 14 2008, 02:00   |
Quote:
| Trebmint: just tested  . It works also perfectly at 16 colours 
|
It was just a small bit of code written so I could test the mouseover() function. Ultimately I see no reason why a full paint package can't be written perfectly adequately in a fairly short time in symbasic. When the thing has matured a bit (i'm still trying to think of all the must have functions before I release the first) hopefully we'll see a few new apps spring up. Once learnt about the basics of symbos/symbasic coding you could probably knock up a decent sized program in a few days or even hours. Might even have that symbos app coding competitions that was talked about a long while back
Symbos still needs a few certain things in the OS that people will want that it doesn't currently do though. Nobody has complained about these lacks because nobody has coded symbos apart from Prodatron, and he's hardly going to moan at lack of features to himself is he? Hopefully signs are good that Prodatron will unretire soon though  |
|
spl online msx professional Posts: 759 | Posted: June 14 2008, 23:53   |
Quote:
| because nobody has coded symbos apart from Prodatron
|
Well, NYYRIKKI did SymRom  |
|
Trebmint msx addict Posts: 284 | Posted: June 15 2008, 11:20   |
The new .991 version of symstudio with the beta of symbasic is now uploaded at.
www.dread-donkey.com/symstudio/downloads/symstudio9_91.rar
This is a work in progress, so is strictly for testing purposes at the moment. For instance graphics importing, drop down lists and tabs are still to be fully implemented.
There are 4 small tutorials, and I will be adding more and fixing constantly from this point. Please let me know of any issues, missing function/commands etc. Oh yes I know the Code editor isn't great, but I will be working on this also.
Have fun and hope this finally might result in a few applications being created for symbos. regards Rob |
|
Trebmint msx addict Posts: 284 | Posted: June 20 2008, 18:14   |
Hey can somebody quickly try this little application. It's a test of my colour import routines, works fine 4 colour on the CPC, but I'd like to make sure the MSX 16 colour version is good too.
Just flicks some coloured icons on and off. Cheers if somebody could check it please
www.dread-donkey.com/symstudio/downloads/colour.rar |
|
spl online msx professional Posts: 759 | Posted: June 21 2008, 12:05   |
I will be with Window$ later so I will try it  Now I am under PC-BSD and I don't have anything to extract a DSK |
|
manuel msx guru Posts: 3552 | Posted: June 22 2008, 12:05   |
spl - well, you can certainly download programs for that  |
|
spl online msx professional Posts: 759 | Posted: June 22 2008, 16:37   |
What apps?
PS: I haven't tested the app yet, I will do it on monday. |
|
Trebmint msx addict Posts: 284 | Posted: June 23 2008, 01:29   |
Another plea for somebody to try and see if my 16 colour apps work or not? This time I've made it simple for you MSX'ers - no .rar, just a nice .dsk file. You might actually be pleasantly suprised at the decency of the app too (although stilla work in progress, and if it works)
www.dread-donkey.com/symstudio/downloads/slidemsx.zip
I know it says .zip, but its actually a .dsk (just rename it)
Cheers Rob |
|
manuel msx guru Posts: 3552 | Posted: June 23 2008, 09:03   |
spl: e.g., the good old wrdsk/rddsk. Or mounting it with -o loop.
Rob: as soon as I have some time, I'll try it out on openMSX.
|
|
|
|
|