Discussion:
How do I convert a BASIC file to ATR?
(too old to reply)
q***@hotmail.com
2005-09-05 01:22:55 UTC
Permalink
Hi
I read some of the interesting books at http://www.atariarchives.org/
I would like to run the BAS files directly in Atari800win+
Is there a utility that easily converts BAS files to ATR files?
/Aces123
RetroJess
2005-09-05 02:41:05 UTC
Permalink
Many emulators allow direct access to .bas/.com./exe files...

Failing that, Ken Siders has a great Win utility to manage ATR
images including an Insert Binary option; go to:
http://atari.ksiders.tzo.com/a8emulators.html

Jess
Post by q***@hotmail.com
Hi
I read some of the interesting books at
http://www.atariarchives.org/
Post by q***@hotmail.com
I would like to run the BAS files directly in Atari800win+
Is there a utility that easily converts BAS files to ATR files?
Jeff Lodoen
2005-09-05 03:07:55 UTC
Permalink
Post by q***@hotmail.com
Hi
I read some of the interesting books at http://www.atariarchives.org/
I would like to run the BAS files directly in Atari800win+
Is there a utility that easily converts BAS files to ATR files?
An easy way to quickly run simple BASIC program is to use
the emulators cassette functions.

Boot into BASIC, with or without DOS
Choose 'Tape recorder...' on the Atari menu
click browse.. default shows only CAS files, so show all files
select any tokenized BASIC file
at the READY prompt type CLOAD<ENTER>
at the Braaaap! press <ENTER> again
LIST or RUN or whatever
s***@hotmail.com
2005-09-05 04:06:43 UTC
Permalink
Post by q***@hotmail.com
Hi
I read some of the interesting books at http://www.atariarchives.org/
I would like to run the BAS files directly in Atari800win+
Is there a utility that easily converts BAS files to ATR files?
/Aces123
METHOD 1

Put BAS files in any folder on your hard disk

Setup Atari800Win Plus hard disk emulation (ALT+H). Point H1:-H4: to
above folder.

Boot any DOS bootable ATR straight into BASIC.

You can load your BASIC programs from directly the virtual hard drive
(e.g. LOAD "H1:MYPROG.BAS").

Alternatively you can copy the BAS files from the virtual hard drive to
any DOS formatted ATR/disk.

If you want to grab a BASIC program directly from a webpage, select it,
copy it, and save it to a folder.

Just as above setup a virtual hard drive. However when you actually
load the program choose H6:-H9: which are the same virtual drives as
H1:-H4: but when you access the former then Atari800Win Plus
automatically does ASCII Line Feed/ATASCII EOL conversions.

Since captured programs aren't tokenized BASIC you need to use the
ENTER command (e.g. ENTER "H6:WEBPROG.TXT"). You can then save the
program back to H1:-H4: (e.g SAVE "H1:NEWNAME.BAS") or to any DOS
formatted ATR/disk (e.g SAVE "D2:NEWNAME.BAS")



METHOD 2

Use an ATR builder program like MAKEATR to install all your BASIC
programs into the ATR. Select any format. Boot the matching DOS ATR
(MyDOS, SpartDOS, or Atari DOS). Load your programs from BASIC.

METHOD 3

Build an ATR just as in Method 2 but choose Atari DOS or MyDOS format
only (not SpartaDOS). Install Matthias Reichl's excellent MyPicoDOS
onto the ATR. Now you have a bootable, menu driven ATR/disk that will
automatically startup BASIC when you select a BASIC program.

One caveat, BASIC programs that require DOS won't work very well since
MyPicoDOS is a game DOS not a full fledged DOS.

MyPicoDOS can also load COM and EXE files automatically disabling
BASIC. You can mix different types of programs on the same ATR/disk.


Stephen Sheppard
q***@hotmail.com
2005-09-05 06:42:44 UTC
Permalink
Thank you all for your help. It works perfect now:) /Aces123

Loading...