Welcome, Guest. Please login or register.

Author Topic: Help me setup a menu  (Read 1381 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Help me setup a menu
« on: December 29, 2011, 03:17:28 PM »
I am running Workbench 3.1 and boots from HDD. What I would like to do is that when the Amiga is switched on, before Workbench loads, an option with a timer (for example 5 seconds) appears.

If the user presses Joystick player 1 button during these 5 seconds, Workbench doesn't load, instead TinyLauncher command runs (situated in Dh0:c). TinyLauncher is a really good Whdload menu frontend. Once it launches and the user plays a game, and quits, TinyLauncher has to be run again.

If during the 5 second countdown, joystick is not pressed, the system proceeds to load WB3.1 as usual.

Can be done? =)
 

Offline Matt_H

Re: Help me setup a menu
« Reply #1 on: December 29, 2011, 04:11:04 PM »
Rainboot might be able to do that. There are also some good tools in the CD32 developer kit on the Amiga Developer's CD that check for mouse or button presses as part of a script - you could add some of those commands to your startup-sequence.
 

Offline amiga1260

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 679
    • Show only replies by amiga1260
Re: Help me setup a menu
« Reply #2 on: December 29, 2011, 05:00:48 PM »
You could download Bootman from Aminet. You could make your own startup-scripts and has a timer to boot from your default startup script.
 

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Re: Help me setup a menu
« Reply #3 on: December 29, 2011, 05:04:20 PM »
Great thanks, I will try it out!
 

Offline lionstorm

Re: Help me setup a menu
« Reply #4 on: December 29, 2011, 07:13:39 PM »
you might want to try the same with the mouse with 1TouchMac25 from Aminet.

Description:

It's a simple program that allow you to boot from differents Startup-sequence
files by Pressing the left, the right or the middle mouse button (a different
file will be executed depending on witch button you've pressed).

check here http://aminet.net/package/util/boot/1TouchMac25
 

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Re: Help me setup a menu
« Reply #5 on: December 29, 2011, 07:16:11 PM »
Is there something similar but waits for a joystick rather than a mouse click?
 

Offline Matt_H

Re: Help me setup a menu
« Reply #6 on: December 29, 2011, 09:39:08 PM »
Quote from: Nostromo;673460
Is there something similar but waits for a joystick rather than a mouse click?


I think the CD32 stuff I mentioned checks joysticks, but it's been a while since I looked at it.