Image Map Image Map
Results 1 to 9 of 9

Thread: TRS-80 Model 4P CP/M Serial Data Transfer

  1. #1

    Default TRS-80 Model 4P CP/M Serial Data Transfer

    I just bought a TRS-80 model 4P and I'd like to send programs to it from my PC. I am want to use Tera Term to send the data. I have a USB to serial cable with null modem connected to the TRS-80 running CP/M 2.2. How can I send programs over serial to my TRS-80? I want to at least send PCGET or any better way to receive files from my PC, then I'm all set.

    I have more problems related to floppy drives but I will make another post later about it.

  2. #2
    Join Date
    Mar 2013
    Location
    Chaffee, MO
    Posts
    1,686

    Default

    There are several ways you can do this much easier, than with RS-232C Transfers.

    I've included my TRS-80 Definitions that are for 22DISK, cpmtools, and libdsk.

    1. You can use Chuck(G)'s 22DISK Program (SYDEX) to read and write directly to your floppy's.
    His software works well, and perhaps he will still let you become a REGISTERED USER.

    2. You can also use cpmtools (or cpmtools built with libdsk) to read and write the files directly
    to an image of the Floppy. After you have the RAW Image you will need to create a Binary
    Image to recreate the Floppy.

    3. There is another program named Convert that will allow you to read/write directly to the floppy,
    if you have the proper CP/M definition. I've got instructions for using that package.

    Code:
    BEGIN TRS1  TRS-80 Model 1, Omikron CP/M - SSSD 48 tpi 5.25" - 128 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS1  TRS-80 Model 1, Omikron CP/M - SSSD 48 tpi 5.25" - 128 x 18
    diskdef trs1
      seclen 128
      tracks 35
      sectrk 18
      blocksize 1024
      maxdir 64
      skew 4
      boottrk 3
      os 2.2
    end
    
    # libdsk data below
    [trs1]
    description = TRS1  TRS-80 Model 1, Omikron CP/M - SSSD 48 tpi 5.25" - 128 x 18
    cylinders = 35
    heads = 1
    secsize = 128
    sectors = 18
    secbase = 1
    datarate = SD
    
    BEGIN TRS2  TRS-80 Model 1, Bigmem CP/M - SSDD 8" - 256 x 26
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS2  TRS-80 Model 1, Bigmem CP/M - SSDD 8" - 256 x 26
    diskdef trs2
      seclen 256
      tracks 77
      sectrk 26
      blocksize 2048
      maxdir 64
      skew 6
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs2]
    description = TRS2  TRS-80 Model 1, Bigmem CP/M - SSDD 8" - 256 x 26
    cylinders = 77
    heads = 1
    secsize = 256
    sectors = 26
    secbase = 1
    datarate = ED
    
    BEGIN TRS3  TRS-80 Model 1, Color Power II - SSDD 48 tpi 5.25" - 256 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS3  TRS-80 Model 1, Color Power II - SSDD 48 tpi 5.25" - 256 x 18
    diskdef trs3
      seclen 256
      tracks 40
      sectrk 18
      blocksize 1024
      maxdir 64
      skew 1
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs3]
    description = TRS3  TRS-80 Model 1, Color Power II - SSDD 48 tpi 5.25" - 256 x 18
    cylinders = 40
    heads = 1
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRS4  TRS-80 Lifeboat CP/M (256 bytes/sector) - SSDD 8" - 256 x 26
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS4  TRS-80 Lifeboat CP/M (256 bytes/sector) - SSDD 8" - 256 x 26
    diskdef trs4
      seclen 256
      tracks 77
      sectrk 26
      blocksize 2048
      maxdir 128
      skew 9
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs4]
    description = TRS4  TRS-80 Lifeboat CP/M (256 bytes/sector) - SSDD 8" - 256 x 26
    cylinders = 77
    heads = 1
    secsize = 256
    sectors = 26
    secbase = 1
    datarate = ED
    
    BEGIN TRS5  TRS-80, Lifeboat CP/M (1024 bytes/sector) - SSDD 8" - 1024 x 8
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS5  TRS-80, Lifeboat CP/M (1024 bytes/sector) - SSDD 8" - 1024 x 8
    diskdef trs5
      seclen 1024
      tracks 77
      sectrk 8
      blocksize 2048
      maxdir 128
      skew 3
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs5]
    description = TRS5  TRS-80, Lifeboat CP/M (1024 bytes/sector) - SSDD 8" - 1024 x 8
    cylinders = 77
    heads = 1
    secsize = 1024
    sectors = 8
    secbase = 1
    datarate = ED
    
    BEGIN TRS6  TRS-80, Pickles & Trout CP/M - SSDD 8" - 512 x 16
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS6  TRS-80, Pickles & Trout CP/M - SSDD 8" - 512 x 16
    diskdef trs6
      seclen 512
      tracks 77
      sectrk 16
      blocksize 2048
      maxdir 128
      skew 1
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs6]
    description = TRS6  TRS-80, Pickles & Trout CP/M - SSDD 8" - 512 x 16
    cylinders = 77
    heads = 1
    secsize = 512
    sectors = 16
    secbase = 1
    datarate = ED
    
    BEGIN TRS7  TRS-80, Holmes CP/M - DSDD 48 tpi 5.25" - 512 x 10
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS7  TRS-80, Holmes CP/M - DSDD 48 tpi 5.25" - 512 x 10
    diskdef trs7
      seclen 512
      tracks 40
      sectrk 20
      secbase 0
      blocksize 2048
      maxdir 64
      skew 1
      offset 10240
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trs7]
    description = TRS7  TRS-80, Holmes CP/M - DSDD 48 tpi 5.25" - 512 x 10
    sides = extsurface
    cylinders = 80
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 0
    datarate = DD
    
    BEGIN TRS8  TRS-80, MM CP/M - SSDD 48 tpi 5.25" - 512 x 10
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS8  TRS-80, MM CP/M - SSDD 48 tpi 5.25" - 512 x 10
    diskdef trs8
      seclen 512
      tracks 40
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 1
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs8]
    description = TRS8  TRS-80, MM CP/M - SSDD 48 tpi 5.25" - 512 x 10
    cylinders = 40
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRS9  TRS-80 Model 4, 4P; MT CP/M - SSDD 48 tpi 5.25" - 256 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRS9  TRS-80 Model 4, 4P; MT CP/M - SSDD 48 tpi 5.25" - 256 x 18
    diskdef trs9
      seclen 256
      tracks 40
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trs9]
    description = TRS9  TRS-80 Model 4, 4P; MT CP/M - SSDD 48 tpi 5.25" - 256 x 18
    cylinders = 40
    heads = 1
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSA  TRS-80 Model 4, 4P; MT CP/M - DSDD 48 tpi 5.25" - 256 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSA  TRS-80 Model 4, 4P; MT CP/M - DSDD 48 tpi 5.25" - 256 x 18
    diskdef trsa
      seclen 256
      tracks 80
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsa]
    description = TRSA  TRS-80 Model 4, 4P; MT CP/M - DSDD 48 tpi 5.25" - 256 x 18
    sides = alt
    cylinders = 80
    heads = 2
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSB  TRS-80 Model 4, 4P - SSDD 48 tpi 5.25" - 512 x 8
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSB  TRS-80 Model 4, 4P - SSDD 48 tpi 5.25" - 512 x 8
    diskdef trsb
      seclen 512
      tracks 40
      sectrk 8
      blocksize 1024
      maxdir 64
      skew 1
      boottrk 1
      os 2.2
    end
    
    # libdsk data below
    [trsb]
    description = TRSB  TRS-80 Model 4, 4P - SSDD 48 tpi 5.25" - 512 x 8
    cylinders = 40
    heads = 1
    secsize = 512
    sectors = 8
    secbase = 1
    datarate = DD
    
    BEGIN TRSC  TRS-80 Model 3 - Hurricane CP/M - SSDD 48 tpi 5.25" - 1024 x 5
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSC  TRS-80 Model 3 - Hurricane CP/M - SSDD 48 tpi 5.25" - 1024 x 5
    diskdef trsc
      seclen 1024
      tracks 40
      sectrk 5
      blocksize 2048
      maxdir 128
      skew 3
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsc]
    description = TRSC  TRS-80 Model 3 - Hurricane CP/M - SSDD 48 tpi 5.25" - 1024 x 5
    cylinders = 40
    heads = 1
    secsize = 1024
    sectors = 5
    secbase = 1
    datarate = DD
    
    BEGIN TRSD  TRS-80 Model 4P - Montezuma 800K - DSDD 96 tpi 5.25" - 512 x 10
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSD  TRS-80 Model 4P - Montezuma 800K - DSDD 96 tpi 5.25" - 512 x 10
    diskdef trsd
      seclen 512
      tracks 160
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsd]
    description = TRSD  TRS-80 Model 4P - Montezuma 800K - DSDD 96 tpi 5.25" - 512 x 10
    sides = alt
    cylinders = 160
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSE  TRS-80 II/12/16 Aton CP/M - SSHD 8" - 1024 x 8
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSE  TRS-80 II/12/16 Aton CP/M - SSHD 8" - 1024 x 8
    diskdef trse
      seclen 1024
      tracks 77
      sectrk 8
      blocksize 2048
      maxdir 128
      skew 3
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trse]
    description = TRSE  TRS-80 II/12/16 Aton CP/M - SSHD 8" - 1024 x 8
    cylinders = 77
    heads = 1
    secsize = 1024
    sectors = 8
    secbase = 1
    datarate = ED
    
    BEGIN TRSF  TRS-80 II/12/16 Aton CP/M  - DSHD 8" - 1024 x 8
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSF  TRS-80 II/12/16 Aton CP/M  - DSHD 8" - 1024 x 8
    diskdef trsf
      seclen 1024
      tracks 154
      sectrk 8
      blocksize 2048
      maxdir 192
      skew 3
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsf]
    description = TRSF  TRS-80 II/12/16 Aton CP/M  - DSHD 8" - 1024 x 8
    sides = alt
    cylinders = 154
    heads = 2
    secsize = 1024
    sectors = 8
    secbase = 1
    datarate = ED
    
    BEGIN TRSG  TRS-80 II/12/16 Pickles & Trout - DSHD 8" - 512 x 16
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSG  TRS-80 II/12/16 Pickles & Trout - DSHD 8" - 512 x 16
    diskdef trsg
      seclen 512
      tracks 154
      sectrk 16
      blocksize 2048
      maxdir 192
      skew 1
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    #ORDER CYLINDERS
    #
    [trsg]
    description = TRSG  TRS-80 II/12/16 Pickles & Trout - DSHD 8" - 512 x 16
    sides = outback
    cylinders = 154
    heads = 2
    secsize = 512
    sectors = 16
    secbase = 1
    datarate = ED
    
    BEGIN TRSH  TRS-80 Model 4, Montezuma - DSDD 48 tpi 5.25" - 256 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSH  TRS-80 Model 4, Montezuma - DSDD 48 tpi 5.25" - 256 x 18
    diskdef trsh
      seclen 256
      tracks 80
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsh]
    description = TRSH  TRS-80 Model 4, Montezuma - DSDD 48 tpi 5.25" - 256 x 18
    sides = eagle
    cylinders = 80
    heads = 2
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSI  TRS-80 Model 4, Montezuma 170K - SSDD 48 tpi 5.25" - 256 x 18
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSI  TRS-80 Model 4  Montezuma 170K - SSDD 48 tpi 5.25" - 256 x 18
    diskdef trsi
      seclen 256
      tracks 40
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsi]
    description = TRSI  TRS-80 Model 4  Montezuma 170K - SSDD 48 tpi 5.25" - 256 x 18
    cylinders = 40
    heads = 1
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSJ  TRS-80 Model 4,4P Montezuma Data 200K - SSDD 48 tpi 5.25 - 512 x 10"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSJ  TRS-80 Model 4 4P Montezuma Data 200K - SSDD 48 tpi 5.25 - 512 x 10"
    diskdef trsj
      seclen 512
      tracks 40
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsj]
    description = TRSJ  TRS-80 Model 4 4P Montezuma Data 200K - SSDD 48 tpi 5.25 - 512 x 10"
    cylinders = 40
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSK  TRS-80 Model 4,4P Montezuma Data 400K - DSDD 48 tpi 5.25" - 512 x 10
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSK  TRS-80 Model 4 4P Montezuma Data 400K - DSDD 48 tpi 5.25" - 512 x 10
    diskdef trsk
      seclen 512
      tracks 80
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsk]
    description = TRSK  TRS-80 Model 4 4P Montezuma Data 400K - DSDD 48 tpi 5.25" - 512 x 10
    sides = eagle
    cylinders = 80
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSL  TRS-80 Model 4,4P Montezuma System 350K - SSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSL  TRS-80 Model 4,4P Montezuma System 350K - SSDD 96 tpi 5.25"
    diskdef trsl
      seclen 256
      tracks 80
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsl]
    description = TRSL  TRS-80 Model 4,4P Montezuma System 350K - SSDD 96 tpi 5.25"
    cylinders = 80
    heads = 1
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSM  TRS-80 Model 4,4P Montezuma Data 400K - SSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSM  TRS-80 Model 4,4P Montezuma Data 400K - SSDD 96 tpi 5.25"
    diskdef trsm
      seclen 512
      tracks 80
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsm]
    description = TRSM  TRS-80 Model 4,4P Montezuma Data 400K - SSDD 96 tpi 5.25"
    cylinders = 80
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSN  TRS-80 Model 4,4P Montezuma System 710K - DSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSN  TRS-80 Model 4,4P Montezuma System 710K - DSDD 96 tpi 5.25"
    diskdef trsn
      seclen 256
      tracks 160
      sectrk 18
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsn]
    description = TRSN  TRS-80 Model 4,4P Montezuma System 710K - DSDD 96 tpi 5.25"
    sides = alt
    cylinders = 160
    heads = 2
    secsize = 256
    sectors = 18
    secbase = 1
    datarate = DD
    
    BEGIN TRSO  TRS-80 Model 4,4P Montezuma Data 800K - DSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSO  TRS-80 Model 4,4P Montezuma Data 800K - DSDD 96 tpi 5.25"
    diskdef trso
      seclen 512
      tracks 160
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trso]
    description = TRSO  TRS-80 Model 4,4P Montezuma Data 800K - DSDD 96 tpi 5.25"
    sides = alt
    cylinders = 160
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSP  TRS-80 Model 4,4P Montezuma Extend System 190K - SSDD 48 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSP  TRS-80 Model 4,4P Montezuma Extend System 190K - SSDD 48 tpi 5.25"
    diskdef trsp
      seclen 512
      tracks 40
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsp]
    description = TRSP  TRS-80 Model 4,4P Montezuma Extend System 190K - SSDD 48 tpi 5.25"
    cylinders = 40
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSQ  TRS-80 Model 4,4P Montezuma Extend System 390K - DSDD 48 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSQ  TRS-80 Model 4,4P Montezuma Extend System 390K - DSDD 48 tpi 5.25"
    diskdef trsq
      seclen 512
      tracks 80
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsq]
    description = TRSQ  TRS-80 Model 4,4P Montezuma Extend System 390K - DSDD 48 tpi 5.25"
    sides = alt
    cylinders = 80
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSR  TRS-80 Model 4,4P Montezuma Extend System 390K - SSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSR  TRS-80 Model 4,4P Montezuma Extend System 390K - SSDD 96 tpi 5.25"
    diskdef trsr
      seclen 512
      tracks 80
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trsr]
    description = TRSR  TRS-80 Model 4,4P Montezuma Extend System 390K - SSDD 96 tpi 5.25"
    cylinders = 80
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRSS  TRS-80 Model 4,4P Montezuma Extend System 790K - DSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSS  TRS-80 Model 4,4P Montezuma Extend System 790K - DSDD 96 tpi 5.25"
    diskdef trss
      seclen 512
      tracks 160
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 2
      os 2.2
    end
    
    # libdsk data below
    [trss]
    description = TRSS  TRS-80 Model 4,4P Montezuma Extend System 790K - DSDD 96 tpi 5.25"
    sides = alt
    cylinders = 160
    heads = 2
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD
    
    BEGIN TRST  TRS-80 Model 4,4P Montezuma Super Data 220K - SSDD 48 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRST  TRS-80 Model 4,4P Montezuma Super Data 220K - SSDD 48 tpi 5.25"
    diskdef trst
      seclen 1024
      tracks 40
      sectrk 6
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trst]
    description = TRST  TRS-80 Model 4,4P Montezuma Super Data 220K - SSDD 48 tpi 5.25"
    cylinders = 40
    heads = 1
    secsize = 1024
    sectors = 6
    secbase = 1
    datarate = DD
    
    BEGIN TRSU  TRS-80 Model 4,4P Montezuma Super Data 440K - DSDD 48 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSU  TRS-80 Model 4,4P Montezuma Super Data 440K - DSDD 48 tpi 5.25"
    diskdef trsu
      seclen 1024
      tracks 80
      sectrk 6
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsu]
    description = TRSU  TRS-80 Model 4,4P Montezuma Super Data 440K - DSDD 48 tpi 5.25"
    sides = eagle
    cylinders = 80
    heads = 2
    secsize = 1024
    sectors = 6
    secbase = 1
    datarate = DD
    
    BEGIN TRSV  TRS-80 Model 4,4P Montezuma Super Data 440K - SSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSV  TRS-80 Model 4,4P Montezuma Super Data 440K - SSDD 96 tpi 5.25"
    diskdef trsv
      seclen 1024
      tracks 80
      sectrk 6
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsv]
    description = TRSV  TRS-80 Model 4,4P Montezuma Super Data 440K - SSDD 96 tpi 5.25"
    cylinders = 80
    heads = 1
    secsize = 1024
    sectors = 6
    secbase = 1
    datarate = DD
    
    BEGIN TRSW  TRS-80 Model 4,4P Montezuma Super Data 880K - DSDD 96 tpi 5.25"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSW  TRS-80 Model 4,4P Montezuma Super Data 880K - DSDD 96 tpi 5.25"
    diskdef trsw
      seclen 1024
      tracks 160
      sectrk 6
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsw]
    description = TRSW  TRS-80 Model 4,4P Montezuma Super Data 880K - DSDD 96 tpi 5.25"
    sides = alt
    cylinders = 160
    heads = 2
    secsize = 1024
    sectors = 6
    secbase = 1
    datarate = DD
    
    BEGIN TRSX  TRS-80 Model 4,4P Montezuma System 400K - SSDD 96 tpi 3.5"
    INSERT 22DISK DEFINITION HERE
    END
    
    # TRSX  TRS-80 Model 4,4P Montezuma System 400K - SSDD 96 tpi 3.5"
    diskdef trsx
      seclen 512
      tracks 80
      sectrk 10
      blocksize 2048
      maxdir 128
      skew 2
      boottrk 0
      os 2.2
    end
    
    # libdsk data below
    [trsx]
    description = TRSX  TRS-80 Model 4,4P Montezuma System 400K - SSDD 96 tpi 3.5"
    cylinders = 80
    heads = 1
    secsize = 512
    sectors = 10
    secbase = 1
    datarate = DD

    Will you tell us the exact name of your CP/M version? Do you know what the Floppy definition is?

    If you must use serial, I've got Modem904.LBR that has a driver I created by modifying an existing
    driver for the same hardware.

    That should work with PCPLUS, assuming you have a real serial port on the PC.


    Larry
    Last edited by ldkraemer; January 24th, 2021 at 06:46 AM. Reason: typo

  3. #3

    Default

    Booting my TRS-80 into the CP/M disk gives me this message:

    "TRS-80 Model 4 64k CP/m vers 2.2 (c) (p) 1982 Digital Research Inc.
    Bios vers 2.22 (c) (p) 1984 Montezuma Micro/JBO"

    Here are the settings for the floppy drives in config.

    Drive A (boot drive)

    Type of drive: 5 inch
    Number of tracks: 40
    Number of sides: 1
    Step rate (ms): 30

    Drive B

    Type of drive: 5 inch
    Number of tracks: 40
    Number of sides: 1
    Step rate (ms): 6

    The disk is labeled "CPM operating system, montezuma" so it looks like it checks out. I hope that that might help you. I'm not familiar with any TRS-80 model and I don't have any other equipment to write to 5.25 floppies. Most of the stuff I collect is Windows 3.1/95 stuff so this is all new to me. I can't write to any 5.25 disks, which is why I want to use serial. Sorry, I should've clarified that in my first post.

  4. #4
    Join Date
    Mar 2013
    Location
    Chaffee, MO
    Posts
    1,686

    Default

    The problem you are going to run into is the UART for the Model 4P is
    Code:
    U33   TR1865  UART  8040865
    
    U73   BR1943  Clock Generator
    and none of the drivers available are designed for these IC's. I've looked at MEX and IMP and Modem7 packages.

    Do you happen to have a communications program on your CP/M Floppy?


    Larry

  5. #5
    Join Date
    Mar 2013
    Location
    Chaffee, MO
    Posts
    1,686

    Default

    This site:
    http://oldcomputers.dyndns.org/publi...dem/index.html

    has an Overlay for the TRS-80 Model 4 & 4P that has information on the Ports and Bits.

    ZMO-R415.Z80 has the following:
    Code:
    esc	equ	1bh
    ctrlq	equ	11h
    cr	equ	0dh
    lf	equ	0ah
    bdos	equ	5
    
    
    ; Tandy specific equates  ***********************************************
    mdata	equ	0EBh	;Modem data port
    mstat	equ	0EAh	;Modem Status for BREAK,DTR,RTS
    mrset	equ	0E8h	;Master Reset and Modem Status for CTS,DSR,CD,RI
    brg	equ	0E9h	;Baud rate generator port BR 1943
    break	equ	2	;BREAK bit 2, 0 = BREAK 1 = NO BREAK
    error	equ	038h	;For bits 5,4,3 (any a 1)
    dtr	equ	1	;DTR bit 1, 1=OFF, 0=ON
    nstp	equ	4	;Bit 4 is No of STOP bits, 1=2 stop bits, 0=1 stop bit
    paroe	equ	7	;Parity ODD/EVEN bit 7, 1=EVEN, 0=ODD  
    paron	equ	3	;Parity ON/OFF bit 3, 1=OFF, 0=ON
    rda	equ	7	;Bit 7 received byte available, 1=data available
    rts	equ	0	;RTS bit 0, 1=OFF, 0=ON
    tbe	equ	6	;Bit 6 transmit holding register empty, 1=empty
    wls1	equ	6	;Word Length Select bit 6  (See explanation below)
    wls2	equ	5	;Word Length Select bit 5
    ;Set the following two equates to the drive and user area which will contain
    ;   ZMP's .OVR files, .CFG file, .FON file and .HLP file. Set both to zero
    ;   (null) to locate them on the drive from which ZMP was invoked.
    .
    .
    .
    .
    .
    .
    .
    .port:	ds	1
    
    brate:	dw	5		; baud rate:
    parity:	dw	'N'		; parity
    data:	dw	8		; data bits
    stop:	dw	1		; stop bits
    combyt:	db	06Ch		;To store current set-up (init val = 8,1,n)
    
    
    ; Values for Western Digital BR1941/BR1943, for each baud rate: 0 if invalid
    ;
    brval:
    	db	22h	;   110		0
    	db	55h	;   300		1
    	db	0	;   450		2
    	db	66h	;   600		3
    	db	0	;   710		4
    	db	77h	;  1200		5
    	db	0AAh	;  2400		6
    	db	0CCh	;  4800		7
    	db	0EEh	;  9600		8
    	db	0FFh	; 19200		9
    	db	0	; 38400		10
    	db	0	; 57600		11
    	db	0	; 76800		12
    So it's possible my TR1602 Overlay for the Modem904 Program will function properly,
    if you can get it to a Floppy.


    Larry

  6. #6
    Join Date
    Mar 2013
    Location
    Chaffee, MO
    Posts
    1,686

    Default

    Boot your CP/M Version and execute the following commands. Post the settings you find.

    Code:
    STAT DSK:
    STAT A: DSK:
    STAT B: DSK:

    Larry

  7. #7

    Default

    Here is a retyping of what I got after executing the commands:

    A>STAT DSK:

    A: Drive Characteristics
    1360: 128 Byte Record Capacity
    170: Kilobyte Drive Capacity
    128: 32 byte directory entries
    256: Records/ Extent
    16: Record/ Block
    36: Sectors/ Track
    2: Reserved Tracks

    A>STAT A: DSK:

    A: Drive Characteristics
    1360: 128 Byte Record Capacity
    170: Kilobyte Drive Capacity
    128: 32 byte directory entries
    256: Records/ Extent
    16: Record/ Block
    36: Sectors/ Track
    2: Reserved Tracks

    There is a disk in drive B, but I don't know what it is for. Just some files I have no idea what to do with. WOMENS.BAK and WOMENS.FEL came up when reading it.

    A>STAT B: DSK:

    Unrecoverable error on drive B:!

    (Drive B is having some issues but I hope I'll be able to fix them soon, but for now it won't read 90% of the time.)

    Also, I just noticed a program on my CP/M disk: MDM730. It looks like I can use it for receiving files from my PC. Running it gives me this message:

    "Version 3.1 for Tandy TRS-80 4/4P with Montezuma Micro CP/M 2.2"

    There are lots of useful commands I can use listed in the menu, like "Terminal mode", which looks like a terminal emulator or "Receive/Send CP/M file using Christensen Protocol", which it sounds to me like it might be XMODEM. In the terminal emulator mode I can't seem to establish a connection with Tera Term, though.

  8. #8

    Default

    Nevermind, I was able to set it up on Tera Term. I type on one computer and it comes out the other and vice versa, so I know it works. I'll let you know if basic file transfers work and if XMODEM file transfers work with the Christensen protocol option.

  9. #9

    Default

    Alright. If anybody wants to know how I did it, here's the steps.

    Launch MDM730.

    Type "LOG X:" X being whatever drive you want to save the file to.

    Type "SET" and type the baud rate you want. Start with 300, but I like to use 9600. Make sure to set Tera Term to the same baud rate with Setup > Serial Port > Speed, the rest of the settings should be the same by default.

    Type "?" to view the current settings before you proceed.

    Once the serial connection between your PC and your TRS-80 is made, you can begin the process. Make sure you use a null modem cable.

    Type "t" to enter terminal mode. The letters you type on the PC should show up on the terminal and vice versa.

    Prepare Tera Term for sending the file. Use "Transfer > XMODEM > SEND" and click on the file you want to send.

    You should now see that a new window is being created; there should be an empty progress bar in this window.

    To receive using XMODEM on your TRS-80, type "R file.xyz" Replace file.xyz with whatever file you want to name it. Be sure to include the extension.

    You should now be receiving your file. You should see a progress bar on Tera Term going up and "Received: XXX" on the TRS-80 for the amount of data you've received. The TRS-80 will periodically stop for a fraction of a second to write to disk.

    Once you see "Transfer Complete" on the TRS-80, you may type CTRL+E to return to the MDM730 command menu.

    Type "CPM" to return to CP/M.

    Your file has been transferred.

    Let me know if you have any questions. You can also type M in the MDM730 command console for a list of commands as well as additional options for the R command. Additionally, you can use S to send files to your PC. Just select "Receive" on Tera Term and you're set to go.

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
  •