Jump to content

Photo

DOS 2.0S DUP.SYS Source Code?


64 replies to this topic

#26 sm3 OFFLINE  

sm3

    Dragonstomper

  • Topic Starter
  • 652 posts
  • Location:USA

Posted Sat Feb 8, 2014 7:29 PM

I think your link is for a single page?

 

I did 20 pages.  you can download it (the first 20 pages in a .pdf) from http://www.russgilb.net.

 

The original is not a good copy, so don't expect too much, especially the first few pages.

 

The pages will be sideways, so it would be better to print them out, landscape style.

 

No need to advise me to lower the dpi, it needs all the dpi it can get.

 

I belive it is about 127 pages.

 

Yeah, sorry, I was just showing an example of what the printout looks like, that was taken with my phone. I still don't have a scanner.



#27 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Sun Feb 9, 2014 7:36 AM

 

Yeah, sorry, I was just showing an example of what the printout looks like, that was taken with my phone. I still don't have a scanner.

I didn't mean to put your pic down.  Don't know what I was thinking.  So, you now have the DOS 2.0S DUP source.  Probably not many people want it.  Any feedback about it would be welcome.  Should I

scan the rest?



#28 Allan OFFLINE  

Allan

    Quadrunner

  • 6,380 posts
  • Location:Wallingford, CT

Posted Sun Feb 9, 2014 7:51 AM

I didn't mean to put your pic down.  Don't know what I was thinking.  So, you now have the DOS 2.0S DUP source.  Probably not many people want it.  Any feedback about it would be welcome.  Should I

scan the rest?

Yes, please do. I would love to put the whole thing up on Atarimania. It might not have a lot of interest but it would be available for the few people that would like to look at it.

 

Allan



#29 sm3 OFFLINE  

sm3

    Dragonstomper

  • Topic Starter
  • 652 posts
  • Location:USA

Posted Sun Feb 9, 2014 10:26 AM

Russg, if you want to continue scanning the rest, that's fine. If you have the time and want to proceed. I will get to it myself eventually, as I said before, my shipment from Best arrived before my scanner ;) Allan, yeah, I was going to see about getting it up on Atarimania after I've scanned it.

#30 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Sun Feb 9, 2014 10:38 AM

Russg, if you want to continue scanning the rest, that's fine. If you have the time and want to proceed. I will get to it myself eventually, as I said before, my shipment from Best arrived before my scanner ;) Allan, yeah, I was going to see about getting it up on Atarimania after I've scanned it.

I apologize for the DOSII1-20.zip on my www.russgilb.net.  I didn't see it was 0 bytes.  I hope I have it right this time.  D/L DOSIIDUP.zip  it should be 33 mb.  It should have a zip with a folder with three .pdf.  The three pdf are:

DOSII1-20.pdf, DOSII21-60.pdf and DOSII61-103.pdf.  Because I screwed up posting the DOSII1-20.pdf yesterday, nobody has seen how my pdf are.  I made three pdf because if something went wrong, or goes wrong

with one of them, it is easier to replace or start again, whichever.  (Uhm.... eight people tried to download DOSII1-20.zip and nobody said anything?)  or one person tried eight times.  That may count some times I tried.

Oh heck, I just tried and it has a busted link.  Musta typed something wrong.  Be back shortly.  There was one error, an extra Z in a 44 character, super secret file URL.

I'm back.  It is there and correct now.

http://www.russgilb.net


Edited by russg, Sun Feb 9, 2014 10:59 AM.


#31 Allan OFFLINE  

Allan

    Quadrunner

  • 6,380 posts
  • Location:Wallingford, CT

Posted Sun Feb 9, 2014 10:48 AM

I apologize for the DOSII1-20.zip on my www.russgilb.net.  I didn't see it was 0 bytes.  I hope I have it right this time.  D/L DOSIIDUP.zip  it should be 33 mb.  It should have a zip with a folder with three .pdf.  The three pdf are:

DOSII1-20.pdf, DOSII21-60.pdf and DOSII61-103.pdf.  Because I screwed up posting the DOSII1-20.pdf yesterday, nobody has seen how my pdf are.  I made three pdf because if something went wrong, or goes wrong

with one of them, it is easier to replace or start again, whichever.  (Uhm.... eight people tried to download DOSII1-20.zip and nobody said anything?)  or one person tried eight times.  That may count some times I tried.

Oh heck, I just tried and it has a busted link.  Musta typed something wrong.  Be back shortly.

 

http://www.russgilb.net

I thought that you were using a different zip program that my Mac couldn't open. I was going to try another today. Didn't catch the zero K.  I'll look at your scan later when I get home from work.

 

Allan



#32 sm3 OFFLINE  

sm3

    Dragonstomper

  • Topic Starter
  • 652 posts
  • Location:USA

Posted Sun Feb 9, 2014 10:57 AM

Thanks Russg for taking the time to scan this document. I'm sure someone out there besides me has wanted a copy before now.



#33 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Sun Feb 9, 2014 12:03 PM

Thanks Russg for taking the time to scan this document. I'm sure someone out there besides me has wanted a copy before now.

You're welcome.  Maybe your copy is better than mine.  There is a fair amount of faint printing.  Mine looks like it is a fairly poor copy, certainly not a first hand printout of a printer.  Don't get me wrong, I think

it is legible enough to be useable.



#34 Allan OFFLINE  

Allan

    Quadrunner

  • 6,380 posts
  • Location:Wallingford, CT

Posted Sun Feb 9, 2014 9:22 PM

I just put the whole thing on Atarimania so people can download it in one PDF.

 

http://www.atarimani...uments_3_8.html

 

 

Plus I turned all the pages (except for the first two) sideways for easier reading. 

Thanks Russg for scanning it.

 

Allan



#35 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Mon Feb 10, 2014 8:11 AM

I just put the whole thing on Atarimania so people can download it in one PDF.

 

http://www.atarimani...uments_3_8.html

 

 

Plus I turned all the pages (except for the first two) sideways for easier reading. 

Thanks Russg for scanning it.

 

Allan

You're welcome.  It takes a while to download from atarimania 44 megs, but you did a wonderful job.  I don't know how you did that (making landscape into portrait).  I also couldn't concatenate them like that.

It came out nice, I think it is definitely readable.


Edited by russg, Mon Feb 10, 2014 8:12 AM.


#36 Allan OFFLINE  

Allan

    Quadrunner

  • 6,380 posts
  • Location:Wallingford, CT

Posted Mon Feb 10, 2014 2:52 PM

You're welcome.  It takes a while to download from atarimania 44 megs, but you did a wonderful job.  I don't know how you did that (making landscape into portrait).  I also couldn't concatenate them like that.

It came out nice, I think it is definitely readable.

You could tell the originals weren't to great. It probably was an after thought of Atari to publish them. You did most of the work with the scanning. It's easy in Preview, a simple picture viewer that comes with OS X, to turn them 90 degrees. I also have a program called 'Combine PDFs' that can sort PDFs in a number of different ways. It saves me a lot of time with scanning. 

 

Hopefully scans will be of interest for some people.

 

Allan



#37 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Mon Feb 10, 2014 6:36 PM

You're welcome.  It takes a while to download from atarimania 44 megs, but you did a wonderful job.  I don't know how you did that (making landscape into portrait).  I also couldn't concatenate them like that.

It came out nice, I think it is definitely readable.

I'll wait a few days and take my scans down from my website, the atarimania post is a lot better.



#38 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 7:00 AM

If anyone is still interested, I typed in the remaining part of DUP.SYS from the Green Book and now have a complete copy of it.  I assembled it and created a boot disk with the assembled copy and it works perfectly.,

 

I did not put comments in the part I typed in; there were about 30 pages to type and I ws happy just to get the source code without the comments. 

 

You can download the complete listing of DUP.SYS here:  https://dl.dropboxus...rce listing.TXT

 

I hope this makes someone out there happy.



#39 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 10:00 AM

I've also attached the listing in case you can't downlaod it from the web site...

Attached Files



#40 bob1200xl OFFLINE  

bob1200xl

    River Patroller

  • 2,624 posts

Posted Wed Jan 21, 2015 10:13 AM

Very nice!

 

...but where is the source code, exactly? What did you use to assemble it?

 

Bob



#41 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 10:19 AM

I used MAC/65 to assemble it.  I had to separate it into four files because it was too big to fit into memory.  So at the end of the first file I used .INCLUDE statements to bring in the other three files,  It assembled just fine that way.

 

I don't understand your question "where is the source code".  The source code is the file I posted.  Unless you mean where is it physically?  It is on my system as four separate files with the M65 extension.  Is that what you meant?



#42 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 10:48 AM

The reason I needed to reassemble it by the way was to make a modification in it.  The resident portion of it lies only $300 bytes (768) above the DOS buffers.  Normally this is enough room.  But I use three disk drives, all double density.  When DOS allocates buffers for three DD drives, it actually writes into the DUP.SYS code causing it to act weird.  For instance, if I try to issue a Directory command the system returns an error saying there is no Drive.

 

So I raised the resident portion of DUP.SYS from $300 bytes to $0C00 bytes avove the DOS buffers.  This is plenty of room and now when I use my three DD drives I have no problems at all.

 

Can't believe I'm a hacker after all these  years.  Hah hah.


Edited by AGiambra, Wed Jan 21, 2015 10:48 AM.


#43 bob1200xl OFFLINE  

bob1200xl

    River Patroller

  • 2,624 posts

Posted Wed Jan 21, 2015 11:58 AM

Hmmm... I get two text files, with comments. I don't see an uncommented source file in either link.

 

I have the same problem with my DD drives - not enough buffer space. I use a DOS 2.0D (not the one from the 815) that seems to work OK, but I'd love to have plain, old 2.0S.

 

Can you step-by-step lay out how to 'fix' DOS 2.0S?

 

Bob



#44 sm3 OFFLINE  

sm3

    Dragonstomper

  • Topic Starter
  • 652 posts
  • Location:USA

Posted Wed Jan 21, 2015 3:50 PM

If anyone is still interested, I typed in the remaining part of DUP.SYS from the Green Book and now have a complete copy of it.  I assembled it and created a boot disk with the assembled copy and it works perfectly.,

 

...

 

Wow, fantastic! Appreciate the effort.



#45 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 4:32 PM

Everything beyond line 2008 is uncommented.  That's what I meant when I said the code was uncommented.

 

Yes I can give you a step by step.  First, do the following:

 

I assume you have a method of getting the files from Windows onto your Atari disks.  I use Ape for Windows which has a nice function called MIRROR that alows me to take files from Windows and put them on Atari disks.

 

Next the files need to be converted becuase the carriage returns are in Windows format.  Using MAC/65 key in the program called CONVERT.TXT and assemble it into CONVERT.COM.

 

To convert the files, first rename Dup.Sys Part 1.TXT to INPUT.DOC.  Put CONVERT.COM on the same disk and run it.  The conversion program will create a file called OUTPUT.DOC.  Rename this to DUPSYS.M65

 

Do this for the four remaining files.  Make sure that you name the remaining files DUPSYS2.M65, DUPSYS3.M65 and DUPSYS4.M65.  This is important because the first file references the others.

 

Also download the file called INSTALL.TXT.  Key it into MAC/65 and assemble it into INSTALL.COM.

 

Now you're ready to modify DUP.SYS on your system.

 

Make sure all four DUPSYS files are on the same disk.  Run MAC/65 and key in:  ASM #D:DUPSYS.M65,,#D:DUPSYS.COM  This will run for quite some time and create the DUPSYS.COM file.

 

Now run BUG65.  Key in R 3000 #D:DUPSYS.COM

 

This will load the COM file into memory with an offset of $3000.  For now, don't worry about why we're doing this.

 

Now key in W 4540 6B05 #D:DUPSYS.COM

 

When the file finishes being written, key in Q to exit BUG65.

 

Okay we're almost done.

 

Copy DUPSYS.COM and INSTALL.COM onto a standard Atari DOS boot disk.  Boot from the Atari DOS disk.

 

Issue an L command to tell DOS you want to load a file.  When it asks which file to load, key in DUPSYS.COM

 

Next issue an L command to load another file.  When it asks which file to load, key in INSTALL.COM

 

INSTALL.COM will load and install the new version of DUP.SYS.  It will happen in the blink of an eye.

 

Now issue an H command to tell DOS you want to write out new DOS files.  When it asks which drive to write them to, key in 1 and press RETURN

 

You're done!  The modified version of DUP.SYS in installed and whenever you boot from this disk you will be in the new version.  To install it to other disks, simply boot from this disk and write DOS files to the new disk.

 

I hope this was not too hard to follow.  I'll be glad to answer any follow up questions you might have.

Attached Files



#46 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 4:38 PM

I forgot that the CONVERT program INCLUDES a MACRO called IOMAC.M65.   Download the attached file and place it on the same disk as CONVERT.M65.  When you assemble this program, it will call the MACRO file.

Attached Files



#47 Larry OFFLINE  

Larry

    River Patroller

  • 4,111 posts
  • Location:U.S. -- Midwest

Posted Wed Jan 21, 2015 5:29 PM

Homemade Translator, etc.?  (Presume you're the author...)

 

-Larry



#48 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 6:00 PM

Yep, that's me

#49 AGiambra OFFLINE  

AGiambra

    Space Invader

  • 24 posts
  • DOSMaster

Posted Wed Jan 21, 2015 6:57 PM

The command in BUG65 should be W 4540 6C05 #D:DUPSYS.COM



#50 bob1200xl OFFLINE  

bob1200xl

    River Patroller

  • 2,624 posts

Posted Wed Jan 21, 2015 7:25 PM

OK - I get it, now.

 

Where does the code move DUP up in memory? Can I just move it $200 bytes, rather than $C00 bytes? Which parameter would I change?

 

Could you create an .ATR of the modified DOS? (and post it?)

 

Thanks!

 

Bob






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users