Acorn Atom - Script needed

Do you have trouble to set-up your emulator for a platform?, need a script?...ask here, we might be able to help you!
User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Acorn Atom - Script needed

Unread post by Vicman » 16 Apr 2010, 20:19

Hi all,

It seems, that MESS does not really yet support the Acorn Atom Please, look here :

I can't find any other Windows-Emu for the Atom....

And so :
I need some Help to create a Script for the Arcon Atom Emulator(DOS-Emulator)

My Idea, to autorun the Games in eCC is :

1. I have exported all Games on the Tape-Images as *.ATM-Files to the eCC-romfolder. (so eCC can parse the dumps)
2. I have also created one new Tape-Image [*.Tap] ,with the DOS-Emulator, and copied all *.ATM's in it.
3. The new Tape-Image is in the same folder as the Emulator.

4. Now the Script has to do (only) this :
- start the DOS-Emulator with Dosbox
- type at the prompt : LO."Game-filename" (send Enter) and then type: RUN (send Enter)

That's it :cool:

Who can write this Script ?
Any other Ideas ?..... or maybe someone knows a working Win-Emu ?

Here are some Screenshots :
Attachments
1.Atom - parsing atm.jpg
1.Parsing the *.ATM's in eCC
2.Atom - make tap from atm.jpg
Create a Tape-Image from the ATM's
3.Atom - the new Tape-Image.jpg
Here you see the new Tape-Image "0001" (left side)
and the Games in it (right side)
4.Atom - typing at the prompt.jpg
Type i.e. : LO."BABIES" and RUN
4.Atom - typing at the prompt.jpg (22.04 KiB) Viewed 2337 times
5.Atom - game starts.jpg
The Game starts ;-)
5.Atom - game starts.jpg (26.76 KiB) Viewed 2337 times
Last edited by Vicman on 17 Apr 2010, 13:12, edited 1 time in total.
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
te_lanus
ECC Support
Posts: 265
Joined: 25 May 2009, 05:00
Location: Port Elizabeth, South Africa

Re: Acorn Atom - Script needed

Unread post by te_lanus » 16 Apr 2010, 22:49

Hi vicman. I'll try, but could you upload everything (including the atm files), so that i know the script works
Busy with:
image packs:
- EPOCH Super Cassette Vision, Exelvision EXL100
Platforms:
- Cybiko Xtreme
- Matsushita (Panasonic) National JR-200
- PDP-8, PDP-11, TRS-80 Model 100
- Tangerine Microtan 65, Terminal Computer SOL-20, Wang VS

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 08:28

Here you are.
Containing:
- "Test-Tape"-Image with 4 Games. (in the emu-folder)
- the 4 ATM's (in the ecc-rom-folder)
- Screenshots for eCC
- ecc-Datfile

Good Luck :boxing:
Attachments
atom.zip
(180.36 KiB) Downloaded 58 times
ecc.jpg
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Acorn Atom - Script needed

Unread post by Phoenix » 17 Apr 2010, 12:11

Hi Vicman,

I got it almost ready, but i got an error, i think we're missing that....how does atom.exe know witch .TAP file to use??
Attachments
ecc_atom_error.png
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Acorn Atom - Script needed

Unread post by Phoenix » 17 Apr 2010, 12:18

Hi Vicman & CO.

You may want to try this script....but i think that atom.exe doesn't know wich TAP file to use, nevertheless here is the almost finished code ;)

Code: Select all

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------
AutoItSetOption("SendKeyDownDelay", 120)

Run($Emulator & " Atom.Exe")

WinWaitActive("DOSBox", "", 10)
Sleep(5000) ;give dosbox some time to load atom.exe
Send("LO.")
Send("@") ;@ = " (other codepage)
Send($eccFileRomNamePlain)
Send("@") ;@ = " (other codepage)
Send("{ENTER}")
Sleep(1000)
Send("RUN")
Send("{ENTER}")
; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 12:36

Phoenix wrote: I got it almost ready, but i got an error, i think we're missing that....how does atom.exe know witch .TAP file to use??
The Solution is :
We only need one Tape-Image, and put all ATM-Files in this.
That should work :yes_head:

I'll try your script ;)
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 13:02

This Script doesn't work for me....
Only Dosbox starts, but it don't "mount" and start the DOS-Emulator.... :?
Think you have to add something to the Script....
Attachments
atom-script.jpg
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Acorn Atom - Script needed

Unread post by Phoenix » 17 Apr 2010, 14:15

Hi Vicman,

You have to place the atom emulator and dosbox in the same folder :yes_head:
Attachments
ecc_atom_script_folder.png
ecc_atom_script_folder.png (24.99 KiB) Viewed 2316 times
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 15:02

Don't work :no:
The Letters are written "revers" , ans the "quotation marks" are missing...
You have to fix the Script :rolleyes:
Attachments
atom.jpg
atom.jpg (17.59 KiB) Viewed 2313 times
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 15:41

LO."FROGGER" has to be written in lowercase....(lo."frogger") and (run)
but, how to say to the script "Send($eccFileRomNamePlain)" in lowercase... :-k

An other Solution :
I put : lo."frogger" into the Info-ID Field....
then send ENTER, RUN, ENTER....
but what is the string for the $ID-Info ?
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
DerMicha75
ECC2 (java) Developer
Posts: 521
Joined: 05 Feb 2007, 22:14
Location: Germany
Contact:

Re: Acorn Atom - Script needed

Unread post by DerMicha75 » 17 Apr 2010, 18:04

Hi Vicman,

try:

Send(StringLower($eccFileRomNamePlain))

Micha

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 18:24

Hi Micha,

StringLower works :thumb:

But still no quotation marks " (Anführungszeichen werden nicht geschrieben) ](*,)
Attachments
atom.jpg
atom.jpg (10.2 KiB) Viewed 2307 times
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Acorn Atom - Script needed

Unread post by Phoenix » 17 Apr 2010, 18:43

Quotations marks for this system on my computer is the @ (above number 2) > result: " .....but maybe this is under another location on your keyboard/codepage (this is a codepage issue)

maybe you should try "Chr(64)" (@) instead:

Code: Select all

Send(Chr(64))
so the most recent code will result in this:

Code: Select all

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------
AutoItSetOption("SendKeyDownDelay", 120)

Run($Emulator & " Atom.Exe")

WinWaitActive("DOSBox", "", 10)
Sleep(5000)
Send("LO.")
Send(Chr(64))
Send(StringLower($eccFileRomNamePlain))
Send(Chr(64))
Send("{ENTER}")
Sleep(2000)
Send("RUN")
Send("{ENTER}")
; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 19:00

Sorry chr64 don't work....

on my Keybord the " are on Number "2" :-k (shift+2)

btw.
Your Script above :
lo. and run in lowercase ;)
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 19:10

GOT IT :clap: :dance:
For me it's chr34 :yes_head:
http://rmhh.co.uk/ascii.html

Code: Select all

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------
AutoItSetOption("SendKeyDownDelay", 180)

Run($Emulator & " Atom.Exe")

WinWaitActive("DOSBox", "", 10)
Sleep(5000) ;give dosbox some time to load atom.exe
Send("lo.")
Send(Chr(34))
Send(StringLower($eccFileRomNamePlain))
Send(Chr(34))
Send("{ENTER}")
Sleep(1000)
Send("run")
Sleep(100)
Send("{ENTER}")
; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Thanks to all !
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Acorn Atom - Script needed

Unread post by Phoenix » 17 Apr 2010, 19:29

LOL, when i use "Chr(34)" i get "@" in this case (usual i also get ") :lmfao: , i have to use Chr(64) for this program though...

But how dit you load the proper TAP file?
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Acorn Atom - Script needed

Unread post by Vicman » 17 Apr 2010, 20:24

Phoenix wrote:
But how dit you load the proper TAP file?
Well, I have created my own TAP-File ;)

1. When DOS-Emulator is loaded : Press F9 . Now, you can see all Tape-Images.
2. Go i.e. to the Tape-Image "Games1" . On the right hand you'll see the Games.
3. Now, select a Game-file and press E for exporting the File as *.ATM on your Harddisk.
4. Do this with every Game on each TAPE-Image
5. Now, create a Blank Tape-Image by typing N, and give it a Name, i.e. 001
6. Select your new Tape-Image, and go to the blank right panel.
7. Press i , for import *.atm-files . Now you see all atm's , you've exported to your Harddisk.
8. Select an ATM and press S to import this Dump to your blank TAP-Image....
9. Do this with all atm's.
10. Now, you have all Games on one Tape-Image :music:
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest