17 November 2011, 14:41 | #201 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
gibs: I don't really know anything at all about AMOS so maybe this will work, more than likely it won't
I had a read though the AMOS Pro manual and it seemed to me that maybe you could output a character to the CLI like olesio wants by using the DOS libary functions. First you need to get a pointer to the CLI window by calling the DOS library output function: DOSCALL(-60) As TinyLauncher was called from the CLI I think, after this call, the address of the CLI output window should be returned in d0 You should be able to access this value from AMOS using DREG(0) You will need this returned value to then call the DOS library write function to write a character to the CLI Load the registers like this: DREG(1) = value that was returned to DREG(0) in the previous DOS library call DREG(2) = memory address of the byte in memory that contains the ascii text byte you want to output to the CLI DREG(3) = length of the string you want to output, which in this case would be 1 as you only want to output a 1 byte ASCII character and then call the DOS library write function: DOSCALL(-48) The above equivalent works OK in assembly language - it's exactly what I used to output a character to the CLI for the joyread program I made for olesio previously so I'm guessing it might work under AMOS too...? Who knows? Might be worth a try though! Hope that helps |
17 November 2011, 23:15 | #202 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Thanks, very useful, I'm going to check that asap.
|
17 November 2011, 23:47 | #203 |
Registered User
Join Date: Aug 2010
Location: in the past and present
Posts: 122
|
Can we just turn the images off or use ours after all?
|
18 November 2011, 00:05 | #204 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
yes ! soon.
if you have some screens to suggest (as replacement of the actuals), you are welcome! |
18 November 2011, 11:45 | #205 |
Registered User
Join Date: Aug 2010
Location: in the past and present
Posts: 122
|
I'd suggest other invaders like I said in my previous post a few days ago but I'm not going to start that discussion again. Thanks for leaving a way open for customization.
|
18 November 2011, 15:34 | #206 |
Registered User
Join Date: Apr 2007
Location: Poland
Posts: 337
|
@pmc: thanks for your hints. I hope that helps gibs improve new version and make his proggy just perfect [not only for me]
@gibs: let us know about new version I will test it with pleasure, as always |
19 November 2011, 18:14 | #207 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
@Olesio
Can you please check that and tell me if it is what you expect: http://dl.dropbox.com/u/1566495/TinyLauncher/pmc.exe Launch it from a CLI, and on the black screen you can press "Amiga+A", go back to the black screen by pressing "Amiga+A" and press a key. Thanks. |
19 November 2011, 18:51 | #208 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
gibs: did that AMOS stuff I guessed at actually work?
|
19 November 2011, 19:40 | #209 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
I beg youR pardon ?
What do you mean? |
19 November 2011, 20:03 | #210 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
I mean: that stuff I posted before about how to do CLI output with AMOS was basically a guess.
Did you implement it and find that it worked? |
19 November 2011, 20:16 | #211 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Well, I don't know...It writes "5" on the cli at a time but I don't know if this is the result expected.
|
20 November 2011, 09:21 | #212 |
Registered User
Join Date: Apr 2007
Location: Poland
Posts: 337
|
@gibs: good news - it works like it should and like I wanted to. But only when I press Right Amiga + A, not Left Amiga. But key combo is for test puproses only - like I suspect. So following script works fine. So you can implement in next release when user exit from launcher without runing demo or game and your launcher will be perfect. I hope also break a detecting assigns on green rectangle screen - will be possible by escape key. And maybe it is possible to add nice requester with error message if amos.library will be not found. Because not it is requester with Suspend / Reboot buttons and error #80000003. Because sometimes some one can forgot copy amos.library to LIBS: drawer. Anyway my test script looks like that and like I wrote it works fine:. Blah I repeating myself with this "works fine" but I'm happy from this fact And after long time spend in work I hope I may test perfect version of TInyLauncher.exe soon
Code:
assign >NIL: T: RAM: assign >NIL: ENV: RAM: LAB TESTGIBS set Reply `pmc.exe` if $Reply eq "5" skip TESTGIBS BACK EndIf Last edited by olesio; 20 November 2011 at 19:55. |
20 November 2011, 13:02 | #213 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Cool,
Can you test this one : http://dl.dropbox.com/u/1566495/Tiny...cher17beta.exe Remove all TL Assignment in your startup-sequence. It's not needed anymore. BTW, I did a new video for the 1.7+ : [ Show youtube player ] (CC English/French) Last edited by gibs; 20 November 2011 at 22:30. |
20 November 2011, 18:28 | #214 |
Registered User
Join Date: Apr 2007
Location: Poland
Posts: 337
|
Works perfect. Thanks a lot. I will transfer to my real Amiga 1200 now. And the begining of S:startup-sequence file should look like this (ofcourse DH1:TINYLAUNCHER is my path to Your great proggy):
Code:
assign >NIL: T: RAM: assign >NIL: ENV: RAM: LAB LOADTL set Reply `DH1:TINYLAUNCHER/TinyLauncher.exe` if $Reply not eq "5" skip LOADTL BACK EndIf ; ...cut... Last edited by olesio; 20 November 2011 at 19:55. |
20 November 2011, 18:50 | #215 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Isn't it better that I do a CTRL+ESC to exit returning the 5 ? Because when launched from the Workbench, it leaves an open window on exit.
|
20 November 2011, 18:57 | #216 |
Registered User
Join Date: Apr 2007
Location: Poland
Posts: 337
|
Hmmm, it's a fact - I did not tested under Workbench. For me better key to quit with "5" returned on CLI will be F10. Because I'm used to this combination in WHDLoad games. This is my default quit key. I have my Amiga on a small folding chair when I conecting to PC with Easy Cap and I have most keys if not needed covered with mouse pad with mouse on it to save place in my small room And F10 is not covered. And I put my keypad on other table wit PC keyboard next to PC Monitor. Ofcourse I have keyboard covered by big mouse pad when keyboard is not needed in game. So can it be F10 key for me? Please I use Easy CAP and PC monitor because I do not have room and cash to find and buy deticated Amiga monitor and do not want to ocupate my parents TV in other room. Ofcourse ESC key will be useful to exit without returning "5" on CLI. Ah, and in my opinion you should disable "C" key when Configuration screen is show. Or maybe easyiest thing will be add "RUNFROMCLI" parameter and show "5" only then after pressing Escape. I hope in Amos there is no problem to read parameters like in HSPascal you can use ParamStr(1) or something similar. You decide what will be much useful. Leaving to exit by both "combos" Esc and F10 and shows "5" only when Tiny Launcher was run with some short text parameter - maybe "fromcli"?
Last edited by olesio; 20 November 2011 at 19:18. |
20 November 2011, 19:19 | #217 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Ok, but if you use a CD32 or a computer with no keyboard in the Shooney's garden ? how to do ? lol
Ok, I'm going to move the EXIT5 on F10, UP+STICK on the first menu will exit (with 5 returned to the CLI too) and the Exit Door will exit in mode normal. What do you think of this ? Ok, going to check the "C" key. |
20 November 2011, 19:31 | #218 | ||
Registered User
Join Date: Apr 2007
Location: Poland
Posts: 337
|
Quote:
Quote:
Last edited by olesio; 20 November 2011 at 19:37. |
||
21 November 2011, 00:23 | #219 |
Banned
Join Date: Jan 2010
Location: france
Posts: 932
|
Tiny Launcher 1.7 : http://dl.dropbox.com/u/1566495/Tiny...Launcher17.lzh
Olesio, to save the maximum of memory you can press "r" to force the RAD. (check the infodesk for its status) Kickstart 3.X only The video : [ Show youtube player ] (CC English/French) |
21 November 2011, 02:45 | #220 |
Junior Member
Join Date: Sep 2001
Location: No(R)Way
Age: 41
Posts: 3,200
|
Super cool !!! Great video, tiny launcher seems excellent !!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tiny Launcher 1.7 | gibs | News | 53 | 27 April 2014 21:48 |
CDTV Tiny Launcher | gibs | Amiga scene | 68 | 16 September 2013 04:23 |
Wii Backup Launcher 0.3 beta Released! | seuden | Retrogaming General Discussion | 4 | 27 October 2008 12:41 |
Tiny PAL LCD for A500 | Photon | support.Hardware | 14 | 12 December 2006 01:05 |
Tiny Troops | Maverick357 | support.Games | 4 | 29 July 2001 18:21 |
|
|