Jump to content
IGNORED

Returning to Atari after 30 years


ratwell

Recommended Posts

Progress Update:

 

Connecting Lotharek SIO-2-PC USB Rev2 my Mac (10.15.7 Catalina)

 

1. Download FTDI USB Serial driver for Mac

 

https://ftdichip.com/drivers/vcp-drivers/

https://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_4_4.dmg

 

2. Install and allow access when prompted

 

- Open System Preferences -> Security & Privacy

- Unlock to make changes (bottom left then enter password)

- Click Allow (see photo)

 

3. Plug SIO-2-PC adapter into Atari SIO port (but not Mac yet)

 

4. Reboot Mac (best to do it)

 

5. Plug SIO-2-PC USB cable into Mac (after reboot)

 

6. Verify the port name and verify connection in USB Device Tree

 

- Apple Menu -> About This Mac

- System Report...

- Hardware -> USB

 

Trying unplug and plug if not visible. Cmd-R to refresh device tree.

 

7. Download RespeQt R4 for Mac

https://github.com/ebiguy/RespeQt/releases/tag/r4

https://github.com/ebiguy/RespeQt/releases/download/r4/RespeQt-r4-OSX.zip

 

8. Use RespeQt Tools Menu -> Options... Menu Item to configure for Lotharek SIO-2-PC USB REV2

https://lotharek.pl/productdetail.php?id=157
 

Port name: tty.usbserial-XXX (where XXX is serial number in device tree)

Handshake method: CTS

 

9. Load disk image and cold start Atari with Option key and power switch.

Lotharek SIO-2-PC has Red comms light and Green SIO activity light.

Now that I've verified the SIO-2-PC connects and I can run disk images, I can work on the 1050-2-PC stage...

2. FTDI access.png

NB. USB Device Tree.png

7. RespeQt Options.png

NOK Connection Problem (check device tree).png

OK Success.png

Activity Lights.PNG

Edited by ratwell
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 4 weeks later...

Progress Update:

I installed a Happy 1050 from 8bitclassics.com to speed up the reading of the floppies I'm going to archive in addition to reading the DD disks:


https://www.8bitclassics.com/product/happy-1050-upgrade-for-atari-1050-disk-drive/
 

1022601950_Happy1050Installed(Tandon).thumb.jpg.fcf62eece2731ede24f52d7dd79601ba.jpg


It was drop shipped from Steven J Tucker and included some cool Reboot trading cards from 1995.

The instructions were very easy to follow and the only trouble I had was aligning the holes in the circuit board with the three pegs in the bottom of the case because the two white prongs at the side fight you a bit.

 

1359076966_Happy1050Install3Pegs.thumb.jpg.7cab342a5c2ba9c139102c0b6f1cc24c.jpg

The instructions make no mention of re-installing the RF shield:

 

https://www.atarimax.com/happy/happy_install.pdf

 

Back in the day, I had two Happy Enhancements from HCI and their instructions required re-installation of the cage:
 

https://archive.org/details/Happy1050HardwareInstallationInstructions/page/n5/mode/2up?q=shield


I checked the forums for heat issues and there doesn't appear to be any when re-installing the RF shield.

It's quite a thrill to hear those sped up pokey beeps after so many years!

 

Happy 1050 from Atarimax (SJT).jpg

Edited by ratwell
  • Like 1
Link to comment
Share on other sites

I've been experimenting with A8 sector copiers in this thread and have been challenged by being both able to read and write at highspeed SIO rates:
 


My objective is to create disk images as fast and as easily as possible (not including any copy protected many of which seem to be online already).

@HiassofT has a nice suite of tools and one of them includes a command line utility called atarixfer:

https://www.horus.com/~hias/atari/#atarisio

I'm using Lotharek's 1050-2-PC/SIO2PC-USB...

https://lotharek.pl/productdetail.php?id=157

NOTE: I'm using a USB based SIO2PC device and will be configuring the software this way.

 

To get it working I followed the following steps.

I'm doing all of this on Debian 10.4 (not the latest, should also work on 10.9) running under Parallel's Desktop on Mac OS Catalina (10.15.7).
 

GETTING STARTED

 

1. Download AtariSIO into HOME directory:
 

cd ~

wget https://www.horus.com/~hias/atari/atarisio/atarisio-201214.tar.gz
gzip -d atarisio-201214.tar.gz
tar -xvf atarisio-201214.tar
cd ~/atarisio-201214


2. Install Debian Build System:

 

su
apt-get clean
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get install linux-headers-$(uname -r) make gcc  dkms kpartx
apt-get install build-essential libncurses5-dev zlib1g-dev

apt-get install linux-headers-amd64 (optional)

apt-get install libftdi1-dev libusb-1.0-0-dev

 

Note: that last one is a must for 1050-2-PC mode!

 

3. Build AtariSIO toolset:
 

make
sudo make install DEFAULT_DEVICE=/dev/ttyUSB0

 

4. Update Permissions (if necessary):

chmod +x /usr/local/bin/atarixfer
chmod +x /usr/local/bin/atariserver


5. Build the 1050-2-PC Lotharek support:

cd ./contrib/lotharek
make
sudo make install
cd ../..

 

6. Confirm Lotharek 10502PC/SIO2PC-USB device is connected:

ls /dev/tty.USB*

result: /dev/ttyUSB0
 

sudo lsusb -v | grep lotharek

result:  iManufacturer 1 www.lotharek.pl

 

sudo usb-devices | grep lotharek
result: S: Manufacturer=www.lotharek.pl

 

See files at the end of this post for the full results from those last two inquiries:

 

7. Edit Configuration Files:
 

pico atarisio-modprobe.conf

 

# use first serial port 

old line: options atarisio port=/dev/ttyS0

new: options atarisio port=/dev/ttyUSB0
 

cd /etc/modprobe.d
sudo cp ~/atarisio-201214/atarisio-modprobe.conf .

cd /etc/udev/rules.d
sudo cp ~/atarisio-201214/atarisio-udev.rules 90-atarisio.rules

 

INSTALLATION COMPLETE

 

Note: the UART based kernel driver is only for serial SIO2PC devices and not necessary to install for USB. If you want to use the kernel driver you can follow the rest of the installation instructions in the download but 
 

HARDWARE CONFIGURATION:

 

The 1050 is directly connected to PC via 10502PC/SIO2PC-USB Rev 2 and my drive identifier switch is set to D2: and there is no Atari computer attached (or attached and turned on).

 

Note: no other adapters or +5V on SIO pin 10 was needed with this version of the device. Additionally, my drive is made in Singapore (TANDON) and has HAPPY 1050 from Atarimax installed.

USAGE

Switching from SIO2PC to 10502PC mode:

 

cd ~/atarisio-201214
sudo ./contrib/lotharek/lotharek-switch 1050
result: successfully switched to 1050-2-PC mode

 

Possible errors:

1. unable to open 10502PC/SIO2PC-USB device: -3 (device not found)

 

Cause: device not plugged in or trapped on Mac side of Parallel's

Solution: reconnect and test with lsusb -v and usb-devices to ensure that Debian can see them.

2. unable to open 10502PC/SIO2PC-USB device: -4 (usb_open() failed)

 

Cause: permissions error

Solution: use sudo lotharek-switch 1050 instead of following the instructions in the atarisio-201214 package (this is be fixed in the next release).

Copy a real floppy to .ATR file:

 

Note: I'm using my 1050 as D2: so that I can booted from RespeQt as D1: most of the time so I've added -2 to as an argument (default is -1):

 

/usr/local/bin/atarixfer -f /dev/ttyUSB0 -s 3 -2 -r ~/Documents/myfirstfloppy.atr
 

atarixfer 0.30-201214
(c) 2002-2020 Matthias Reichl <hias@horus.com>
checking highspeed capability
detected ultra speed drive: pokey divisor 10 (52160 baud)
possibly Happy 1050: enabling fast writes
Happy command $48 (AUX=$20) succeeded
get percom block ... OK
[128 BytesPerSec, 1040 Sectors]
enhanced density disk
starting to read disk
1040

successfully created "/home/ratwell/Documents/myfirstfloppy.atr" from disk

That's one done!

Copying an ED floppy took exactly 61 seconds! (read and write)


Thank you @HiassofT for this software: it is awesome and thank you also for maintaining it.

There are some speed limitations mentioned in the README file which depend on your hardware:


Using atarixfer
=========


-s mode  high speed: 0 = off, 1 = XF551/Warp, 2 = Ultra/Turbo, 3 = all
              Default is off.

              Happy Warp, XF551 and 1050 Turbo only work with the
              AtariSIO kernel driver.

              1050 Turbo Mode requires a 16950 UART and the AtariSIO
              kernel driver. It may also work on FTDI USB serial
              cables if strict SIO timing is enabled.

              Ultra Speed mode with a Happy 1050 or Speedy requires
              a 16950 UART and the AtariSIO kernel driver, an FTDI
              USB serial cable
or the on-board Raspberry Pi UART.

The 10502Pc/SIO2PC-USB rev 2 is FTDI based and gives the nearly 3x SIO transfer speed. Writing the unix file of course is nearly instant.

Help files:

 

sudo usb-devices.jpg

sudo lsusb -v.jpg

Edited by ratwell
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...