Jump to content
IGNORED

Disk emulator projects in English?


Recommended Posts

Was wondering if someone could point me to a SIO disk emulator project with source code comments in English?

 

The piece I am mainly interested in right now is just the part that emulates the various Atari drives when it comes to the Atari talking to the disk dive.

 

I think I found the source code for SDDRive max but I am having difficulty figuring ou the part of the code that emulates the disk drive communication and does the work of processing the various command from the host.

 

https://github.com/kbr-net/sdrive-max p

 

 

Can anyone help? The simpler the better as long as it is working. ;)

 

 

Later I would like the code to read and write ATR files but for now I would be happy with just emulating a disk drive.

 

 

Link to comment
Share on other sites

I found the Atari Technical Reference manual to be invaluable for is kind of stuff.

http://www.atarimania.com/documents/atari-800-technical-reference-notes.pdf

 

The SIO stuff starts around page 40+

It is that literal. I've hung a serial monitor on the lines and absolutely no surprises. IIRC, computer wakes up, sends a couple of STATUS commands down the line in the format listed in the manual, if a device is there, it responds to the STATUS command and they start talking. There's some other hand shaking that goes on like device only get 100 msecs to respond or the computer moves on, that is that groaning buzz you hear when you start up an Atari w/o anything attached.

 

Happens to fast for human intervention in real time. By that I mean if you run something like SIO2PC or APE that monitor the communication things change in the display so fast you can't tell anything other then the last command. Just a wag, I found the TRM a fascinating read, couldn't put it down. I am a little weird that way. If you are kind of weird that way too or at least obsessive to the point where you will do anything to get the job done, the TRM is your best bet. Helps to speak a little 6502 assembly language too as there is a listing for the OS that lets you really get into the nuts and bolts.

Link to comment
Share on other sites

I found the Atari Technical Reference manual to be invaluable for is kind of stuff.

http://www.atarimania.com/documents/atari-800-technical-reference-notes.pdf

 

The SIO stuff starts around page 40+

It is that literal. I've hung a serial monitor on the lines and absolutely no surprises. IIRC, computer wakes up, sends a couple of STATUS commands down the line in the format listed in the manual, if a device is there, it responds to the STATUS command and they start talking. There's some other hand shaking that goes on like device only get 100 msecs to respond or the computer moves on, that is that groaning buzz you hear when you start up an Atari w/o anything attached.

 

Happens to fast for human intervention in real time. By that I mean if you run something like SIO2PC or APE that monitor the communication things change in the display so fast you can't tell anything other then the last command. Just a wag, I found the TRM a fascinating read, couldn't put it down. I am a little weird that way. If you are kind of weird that way too or at least obsessive to the point where you will do anything to get the job done, the TRM is your best bet. Helps to speak a little 6502 assembly language too as there is a listing for the OS that lets you really get into the nuts and bolts.

 

 

Looks like the hard copy I have from years gone by.

Link to comment
Share on other sites

Soap box attack warning! :) I've been a pretty vocal advocate for structured and clearly written source code since maybe the 80s? Ditto for some things like tools should be obvious and easy to use. Just look at the C code threads in the programming section. Takes people longer to get the tools running then it does to learn the language.

 

Ditto for some of the great hacks we've seen. Not knocking things like Nick's SIO2PC, just that all you have to do is learn 8086 assembly language to understand the code.

 

Some people don't seem to get what I am talking about. I've heard some people like Willy Mays make lousy coaches. What happens is they take for granted their skills and can't conceive of someone not having the same level of understanding i.e. Just go to the plate and swing the bat! Presto! Home run!

 

It is a moving target. Best to keep it updated with current tools and conventions. I think Hias wrote some good C code for Linux or BSD that was pretty obvious and simple to understand. Since then the price of entry to figuring out SIO communication is anything but obvious or simple given the software and price of entry like build a Linux box and learn GNU C.

 

Some of us had heroes like Bill Wilkinson. It wasn't because he threw a touchdown in Super Bowl XIV. It was because as brilliant as he was, he could still teach people and convey knowledge in an easily understood manner. He understood his audience and was more about inviting people to the club of understanding then showing off his ability to write obtuse code.

  • Like 2
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...