Page 2 of 16

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 15:20
by terriblefire
OK i have a hunch i know whats up.
dma.JPG
Looks like the CDTV is trying to DMA into fastram. thats never going to work.

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 15:32
by terriblefire
Yup... thats the issue... with no fastram...

Code: Select all

5.System:Storage/DOSDrivers> copy CD0 devs:dosdrivers/
5.System:Storage/DOSDrivers> mount cd0:
ERROR: Could not find some of the following keywords:
       Surfaces, BlocksPerTrack, LowCyl, HighCyl, Device.
5.System:Storage/DOSDrivers> dir
  AUDIO                            AUDIO.info
  CD0                              CD0.info
  CF0                              CF0.info
  devs                             DM0
  DM0.info                         MS0
  MS0.info                         MS1
  MS1.info                         PC
  PC.info                          PC1
  PC1.info                         PF0
  PF0.info                         PF1
  PF1.info                         RAD
  RAD.info
5.System:Storage/DOSDrivers> cd cd0:
5.Octamed:> dir
     C (dir)
     Demos (dir)
     devs (dir)
     Expansion (dir)
     fonts (dir)
     l (dir)
     libs (dir)
     Locale (dir)
     Midi (dir)
     Modules (dir)
     OctaMED V6 (dir)
     Pics (dir)
     Prefs (dir)
     s (dir)
     SID2 (dir)
     Storage (dir)
     System (dir)
     T (dir)
     Text (dir)
     Tools (dir)
     Utilities (dir)
     Walkabout (dir)
     WBStartup (dir)
     XPKGuide (dir)
  ASSIGN-OCTAMED                   ASSIGN-OCTAMED.info
  Demos.info                       Devs.info
  Disk.info                        Expansion.info
  FixColors                        FixColors.info
  Installation                     Installation.info
  NET-ASSIGN                       NET-ASSIGN.info
  OctaMED V6.info                  Prefs.info
  RBF▒                             README.TXT
  README.TXT.info                  RMTM
  Shell                            Shell.info
  Sid                              Sid.info
  SID2.info                        Storage.info
  System.info                      Tools.info
  Trashcan.info                    UNASSIGN
  UNASSIGN.info                    Utilities.info
  Walkabout.info                   WBStartup.info
5.Octamed:>

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 15:33
by terriblefire
So now i need to figure out how to get the driver to use chip ram only and we're good. Or mark my ram as non-dma somehow.
Capture.JPG

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 16:24
by 8 Bit Dreams
Wow!
A huge step forward..

is this:
http://coppershade.org/articles/Code/Reference/DMACON/
Something we can use?

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 16:31
by terriblefire
Don’t think so. That’s AGNUSes DMACON

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 17:10
by terriblefire
So in order to make this work we need to patch the call that allocates RAM for the scsi buffers

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 17:31
by 8 Bit Dreams
Im in. Where is it located? extended rom?

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 17:52
by terriblefire
Looks like it. I'd expect it to AllocMem then set the address in DMAC. Seems like its separate from the disk buffers that get allocated in the mountlist as the mountlist BufMemType makes no difference to the type of ram allocated.

Anyways that was a useful exercise because i got the bus ARB nailed.

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 18:03
by 8 Bit Dreams
Is it possible to make TF520 work on CDTV?
that would give us a little boost ;)

Re: The TF536 on a CDTV

Posted: 16 Jun 2019 18:32
by terriblefire
It should already with the TF534 sources.

EDIT: but its not faster than a standard 68000.