27 June 2007, 13:51 | #1 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Simple script utility
Is there a proggy that checks whether the system is running under emulation and returns a WARN code if that's the case?
Something I could use like this: Code:
C:UAECheck if warn ;running WinUAE setup else ;running normal setup endif |
27 June 2007, 14:58 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
Uhmm... Why?
I only see two possibilies, doing something naughty or hacks that are not supported and will break in future versions. Answer is no. Of course depending on configuration, there are things that can be used to detect emulation but it is unsupported. |
27 June 2007, 17:58 | #3 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
I'm up to no mischief
Here's an example: Lets say I want to have a single disk (ADF) that has a couple of serial terminal programs and I want to set up some useful aliases. In WinUAE when you tick the RTS/CTS option any program that uses the serial port should have hardware handshaking turned off. So I could use this script utility to set the correct options depending on the environment I'm using (real thing/emulation). Or I have a Hard Drive with a single boot partition and like to use it in both the real Amiga and WinUAE. I could configure the system to take advantages of emulation (more speed, extra memory, new devices etc.) during startup. Last edited by ppill; 27 June 2007 at 18:26. |
27 June 2007, 18:15 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
Ok, something like "version uaehf.device" (or uaescsi.device etc..) is probably good enough solution.
|
27 June 2007, 18:25 | #5 | |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Quote:
|
|
27 June 2007, 20:02 | #6 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RebootStart script help! | Overkill | support.Other | 43 | 23 April 2013 17:52 |
Simple Menu Utility | ppill | Coders. General | 0 | 15 August 2010 21:31 |
Execute a script | frikilokooo | project.ClassicWB | 6 | 20 November 2007 11:36 |
The zone script | fairchild | project.EAB | 3 | 21 April 2005 20:28 |
New Installer Script | BenniP | request.UAE Wishlist | 16 | 22 June 2004 09:55 |
|
|