Image Map Image Map
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: .IMD to .DSK conversion for RX01 disk

  1. #1

    Default .IMD to .DSK conversion for RX01 disk

    I have a RX01 disk from which I want to make an image.
    So I made an image trough IMD. But I now want to convert the file
    to a binary .DSK file so that I can use it in an emulator.

    I found several conversion tools but they are all from 'something' to IMD.
    But I don't see any option to get from IMD to a binary .DSK file... Any idea's?

    Regards, Roland
    WTB: Case for Altair 8800 ...... Rolands Github projects

  2. #2

    Default

    ...Not the answer you asek for, but if you are able to read the disk, can you read the disk with putr.exe? It's a DOS tool. This will write as .DSK.

  3. #3

    Default

    Oh I tried it with Putr but I must have done something wrong.
    If it works with Putr then my problem is solved.
    Any examples on how to make such an image?
    WTB: Case for Altair 8800 ...... Rolands Github projects

  4. #4

    Default

    I will have a look in my note in the evening.

  5. #5

    Default

    Quote Originally Posted by Roland Huisman View Post
    I have a RX01 disk from which I want to make an image.
    So I made an image trough IMD. But I now want to convert the file
    to a binary .DSK file so that I can use it in an emulator.

    I found several conversion tools but they are all from 'something' to IMD.
    But I don't see any option to get from IMD to a binary .DSK file... Any idea's?

    Regards, Roland

    Do you know the format of the .DSK file? Is it just a raw sector dump by any chance?

    I have played with the .IMD file format and can convert it to a raw image.

  6. #6
    Join Date
    Dec 2010
    Location
    Seattle, WA
    Posts
    2,020

    Default

    Quote Originally Posted by Roland Huisman View Post
    I have a RX01 disk from which I want to make an image.
    So I made an image trough IMD. But I now want to convert the file
    to a binary .DSK file so that I can use it in an emulator.

    I found several conversion tools but they are all from 'something' to IMD.
    But I don't see any option to get from IMD to a binary .DSK file... Any idea's?

    Regards, Roland
    If you were able to run IMD118 to create the .IMD image file, then you can also run IMDU to create a raw sector file.

    IMDU <input .IMD filename> /B <output .DSK filename>

    An RX01 disk has logical sector interleave and skew applied to the raw physical sectors. If you use PUTR to access the disk image file it has a "dxilv" routine in the source code (PUTR.ASM) which I think should deal with that.

    Code:
    ;
    	subttl	interleave
    ;+
    ;
    ; RX01 interleave routine.
    ;
    ; bp	logical device rec
    ; ch	cylinder (0-75.)
    ; cl	logical sector (0-25.)
    ;
    ; On return:
    ; ch	cylinder (1-76.)
    ; cl	sector (1-26.)
    ;
    ; From RT-11 V04 DY.MAC:
    ;
    ; ISEC=(ISEC-1)*2
    ; IF(ISEC.GE.26) ISEC=ISEC-25
    ; ISEC=MOD(ISEC+ITRK*6,26)+1
    ; ITRK=ITRK+1
    ;
    ; PDP-8 interleave is the same but there's no skew.
    ;
    ;-
    dxilv:	add	cl,cl		;sec*2
    	cmp	cl,ss:nsecs[bp]	;off EOT?
    	jb	dxilv1
    	sub	cl,ss:nsecs[bp]	;start over at 1
    	inc	cx
    dxilv1:	cmp	ss:wsize[bp],16d ;PDP-11 disk?
    	jne	dxilv2		;no, no skew
    	mov	al,6		;skew factor=6
    	mul	ch		;*track
    	add	al,cl		;add (sec-1)
    	adc	ah,0
    	div	ss:nsecs[bp]	;track size
    	mov	cl,ah		;get remainder
    dxilv2:	add	cx,101h		;track,,sector +1
    	ret

  7. #7

    Default

    Quote Originally Posted by gslick View Post
    If you were able to run IMD118 to create the .IMD image file, then you can also run IMDU to create a raw sector file.

    IMDU <input .IMD filename> /B <output .DSK filename>
    Ah thanks a lot! That works

    Regards, Roland
    WTB: Case for Altair 8800 ...... Rolands Github projects

  8. #8

    Default

    so just for the records, if you will do the dsk image with putr:
    The disk is in drive b:

    format filemname /rx01 /os8
    mount aa: filename /rx01 /os8
    mount b: /rx01
    copy/dev/bin b: aa:
    dir aa:
    dismount aa:

    With putr you can make very batch similar processes with command files and a putr.ini file in the directory you start putr. But you have to read the manual for that.
    Have fun
    Volker

  9. #9

    Default

    Quote Originally Posted by gnupublic View Post
    so just for the records, if you will do the dsk image with putr:
    The disk is in drive b:

    format filemname /rx01 /os8
    mount aa: filename /rx01 /os8
    mount b: /rx01
    copy/dev/bin b: aa:
    dir aa:
    dismount aa:

    With putr you can make very batch similar processes with command files and a putr.ini file in the directory you start putr. But you have to read the manual for that.
    Have fun
    Volker
    Hi Volker,

    Thanks, good to know how it works on putr!

    Regards, Roland
    WTB: Case for Altair 8800 ...... Rolands Github projects

  10. #10
    Join Date
    Aug 2009
    Location
    Oslo, Norway
    Posts
    1,350
    Blog Entries
    3

    Default

    FWIW, there is also imd2raw http://bitsavers.org/bits/Convergent/ngen/imd2raw/
    It's a C program, compiles lots of places
    Torfinn

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •