tag:blogger.com,1999:blog-8869371566442567811.post3967557391537733381..comments2024-03-27T23:23:05.548-07:00Comments on Rescue 1130: 2014 Pickup of an IBM 1130 System and More: Completing 2310 and 2501 device implementationsCarl Claunchhttp://www.blogger.com/profile/00359841432891565909noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8869371566442567811.post-54118696728107909162016-05-07T10:45:36.391-07:002016-05-07T10:45:36.391-07:00Yes, the file is an array (although of words, pair...Yes, the file is an array (although of words, pairs of bytes). First 321 words are sector 0, etc. I use file IO, using a seek command and read or write to get the 642 bytes for the desired sector, rather than tying up 512000 words in memory. <br /><br />Yes, I used Brian Knittel's IBM 1130 simulator to run the DCIP standalone utility to format a blank disk, which creates the 1MB disk file image that can then be mounted as a new blank cartridge. <br /><br />In a way, this all fits the analogy to cartridges. You don't format a new blank cartridge out of thin air, you have to buy a new cartridge (or format an old one) before you can slide it into the drive and mount it. Carl Claunchhttps://www.blogger.com/profile/00359841432891565909noreply@blogger.comtag:blogger.com,1999:blog-8869371566442567811.post-62196290776061627972016-05-07T10:22:22.544-07:002016-05-07T10:22:22.544-07:00This sounds very nice, you are clearly becoming a ...This sounds very nice, you are clearly becoming a Wx guru!<br /><br />Re the 2310, how do you map the disk structure of tracks and sectors onto the file? Do you just treat the file as an array of bytes and map sector units onto it? Do you in fact keep an in-memory 1MB array to represent the disk contents, or what? Do you provide a "formatted blank disk" file that can be copied to make a "new" cartridge?<br />David Cortesihttps://www.blogger.com/profile/06760661115101469280noreply@blogger.com