Welcome, Guest. Please login or register.

Author Topic: Floppy emulator  (Read 60990 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Prototype assembled
« Reply #59 on: February 04, 2006, 10:09:29 AM »
Quote

motorollin wrote:
So does it work as a total DF0 replacement?

--
moto


As a read-only, ADF-based replacement :lol: Give me a couple of hours to fit the thing into my A500 and I'll report back :-)
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Prototype assembled
« Reply #60 on: February 04, 2006, 10:14:43 AM »
Read only huh, well that will make it a lot easier to transfer files from my Mac, which doesn't have a floppy drive. That means I have to copy files to DOS disks at work :roll:

If I could use an ADF explorer on the Mac, then copy the ADF file to the MMC card, and then mount the ADF as PC0 then all my problems would be solved :-D


So when can I buy one?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: new prototype
« Reply #61 on: February 04, 2006, 03:24:12 PM »
Quote

tnt23 wrote:

Another issue is the Nokia 3310's LCD. Popular and affordable and all, it is a challenge to build simple and eye appealing connector for it. (See JELU Web-Shop for more info)


Have you thought about using a Nokia colour LCD?
Display3000.com webshop sells them in a variety of configs, and a SMD connector for it too(no more soldering to the flexible PCB like you have to on the 3310). I've currently got one hooked up to the parallel port which shows MP3 album art.

On schedule, and suing
 

Offline mrmkl

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 147
    • Show only replies by mrmkl
    • http://www.iki.fi/mkl/
Re: new prototype
« Reply #62 on: February 04, 2006, 08:51:01 PM »
tnt23 wrote:

"To be honest, I haven't spent much time thinking about writing. I was obsessed with reading in the first place you see  There are good chances another tight loop can be built to aquire writing flow and to somehow deal with it, not necessarily turning that into pure ADF."

Perhaps the Amiga could write ADF-images to the flash card, via somekind of serial protocol through the floppy port? It is not the same thing as writing to a floppy, but you could do things from the Amiga keyboard. And similarly since microcontrollers usually have UARTs, you could read and write floppy-images from a remote computer via RS-232.

"Loading one ADF sector from MMC now takes 13ms, and preparing one MFM sector takes 56ms. These times can be optimized in variety of ways, from code to hardware (going high megaherz, using SDRAM instead of EDO/FPM DRAM etc)"

May a job for an FPGA?
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Prototype assembled
« Reply #63 on: February 04, 2006, 09:49:08 PM »
Quote

Read only huh, well that will make it a lot easier to transfer files from my Mac, which doesn't have a floppy drive. That means I have to copy files to DOS disks at work :roll:

If I could use an ADF explorer on the Mac, then copy the ADF file to the MMC card, and then mount the ADF as PC0 then all my problems would be solved :-D


Still seems a bit complicated to me. You don't have to take your files back from Amiga to Mac do you?

Quote

So when can I buy one?


After I fix most of the bugs and figure out a way of producing and delivering the device in small quantities I guess. What would you suggest the price can be?
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: new prototype
« Reply #64 on: February 04, 2006, 09:53:15 PM »
@Doobrey

Isn't the fifty bucks color LCD an overkill? I doubt there's much to show on it in my case :-)
 

Offline humppa

  • Hero Member
  • *****
  • Join Date: Oct 2005
  • Posts: 959
    • Show only replies by humppa
Re: Floppy emulator
« Reply #65 on: February 04, 2006, 10:05:47 PM »
@tnt23:

Sorry, little OT: Are you the "tnt" I know from the C64/MMC64-scene? If yes, glad to hear you're also working on Amiga-stuff now. I appreciate your work!
 

Offline Mikkel

  • Newbie
  • *
  • Join Date: Feb 2006
  • Posts: 15
    • Show only replies by Mikkel
    • http://www.sciencezero.org
Re: Floppy emulator
« Reply #66 on: February 05, 2006, 12:24:36 AM »
Are you going to publish source/schematics when the project is finished or is this going to be a commercial product?

Anders M.
 

Offline Hyperspeed

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 1749
    • Show only replies by Hyperspeed
Re: Floppy emulator
« Reply #67 on: February 05, 2006, 02:34:15 AM »
Avoid Spaceballs - State of the Art, I remember that demo turning my floppy drive into a buzzsaw!

:-D

Looks great, I think it should be for DF0: internal and it would need to work well with the desktop casing (the eject button could be replaced with an access light).

Just out of curio, what is the maximum transfer rate of the floppy interface? The drives only do 10k/s and the flash cards 1MB/s!



EDIT: Oh, the F.Disk LED will be the access light right? We'll have to use putty for the eject button hole. ;-)
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Floppy emulator
« Reply #68 on: February 05, 2006, 08:16:55 AM »
@humppa

No, I have never been to the C64 scene [unfortunately] :-) I love the MMC64 project, too.
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: new prototype
« Reply #69 on: February 05, 2006, 08:27:52 AM »
Quote

mrmkl wrote:

Perhaps the Amiga could write ADF-images to the flash card, via somekind of serial protocol through the floppy port? It is not the same thing as writing to a floppy, but you could do things from the Amiga keyboard. And similarly since microcontrollers usually have UARTs, you could read and write floppy-images from a remote computer via RS-232.


Amiga also has RS-232 port, this could be used, too. Some software support from Amiga side would be necessary, like drivers.

UARTs are great, but there is USB. A guy from Amiga Floppy Project (http://techtravels.org/amiga/amigablog) interfaces his reader with computer via USB.

Quote

"Loading one ADF sector from MMC now takes 13ms, and preparing one MFM sector takes 56ms. These times can be optimized in variety of ways, from code to hardware (going high megaherz, using SDRAM instead of EDO/FPM DRAM etc)"

May a job for an FPGA?


Maybe. I will teach myself FPGA some day for sure, just look at the Minimig :-) It is that I'm having fun with Atmel AVR's now.
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Floppy emulator
« Reply #70 on: February 05, 2006, 08:50:54 AM »
Yesterday I've put the device into A500's drive bay and set it to DF0. Workbench 1.2, 1.3 and utilities like DOpus, AMOS Pro boot just great!

Bad news is that of six or seven games on my MMC only ARKANOID managed to load and run. Also, only two demos loaded and run OK, one is some 40K intro and ANNOUNCE.

Maybe this is due to the fact that AmigaDOS doesn't use INDEX pulse (says DiskMonTools manual), which is not implemented in my design, but can well be used by other software to sync to.

Quote

Hyperspeed wrote:
Avoid Spaceballs - State of the Art, I remember that demo turning my floppy drive into a buzzsaw!

:-D


State of the Art didn't run either. If I do a diskcopy from emulated DF1 to real floppy it runs just fine. There must be something important I miss about the floppy interface.

Quote

Looks great, I think it should be for DF0: internal and it would need to work well with the desktop casing (the eject button could be replaced with an access light).

Just out of curio, what is the maximum transfer rate of the floppy interface? The drives only do 10k/s and the flash cards 1MB/s!



EDIT: Oh, the F.Disk LED will be the access light right? We'll have to use putty for the eject button hole. ;-)


There is an LCD with all sorts of indications, like head movement, drive selection, side and dir signals :-)

Floppy speed test shows values around 21K-22K bytes per second. I don't know if the floppy DMA can be faster than 500K bits per second, or roughly 60Kbytes/s. We are trying to mimic the FDD as much as possible, so don't expect any breakthrough here :-)
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Prototype assembled
« Reply #71 on: February 05, 2006, 10:12:54 AM »
Quote

tnt23 wrote:
Quote

Read only huh, well that will make it a lot easier to transfer files from my Mac, which doesn't have a floppy drive. That means I have to copy files to DOS disks at work :roll:

If I could use an ADF explorer on the Mac, then copy the ADF file to the MMC card, and then mount the ADF as PC0 then all my problems would be solved :-D


Still seems a bit complicated to me. You don't have to take your files back from Amiga to Mac do you?

No I don't need to transfer back to the Mac. And I do have my A1200 networked to the Mac. It would only be in cases of emergency when I needed to use floppies (real or emulated :-) )

Quote

So when can I buy one?


After I fix most of the bugs and figure out a way of producing and delivering the device in small quantities I guess. What would you suggest the price can be?[/quote]
Well, that depends on how much it costs to manufacture :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: Floppy emulator
« Reply #72 on: February 05, 2006, 10:21:49 AM »
Great to hear about your progress (there are always drawbacks, so keep going).

I think you should keep the 'use this device as a card reader, too' in mind while making changes to the hardware. It'd be a very good chance to attach the emulator in such a way that it can be used to access the flash card in a more efficient way (faster and higher capacity access).
Maybe through serial (probably slow), parallel (lot of hardware involved) or through the floppy port, just with a more efficient protocol - after all, you don't really need MFM for transport.
If you provide the means of accessing the flash card for real, someone else will probably write a driver for it, so it could be used as a hard drive replacement. It could even auto boot, just emulate booting a workbench disk with the drivers, mount the card and go on from there. How does that sound?
 

Offline tnt23Topic starter

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 195
    • Show only replies by tnt23
Re: Floppy emulator
« Reply #73 on: February 05, 2006, 03:31:13 PM »
Quote

Zac67 wrote:

I think you should keep the 'use this device as a card reader, too' in mind while making changes to the hardware. It'd be a very good chance to attach the emulator in such a way that it can be used to access the flash card in a more efficient way (faster and higher capacity access).
Maybe through serial (probably slow), parallel (lot of hardware involved) or through the floppy port, just with a more efficient protocol - after all, you don't really need MFM for transport.
If you provide the means of accessing the flash card for real, someone else will probably write a driver for it, so it could be used as a hard drive replacement. It could even auto boot, just emulate booting a workbench disk with the drivers, mount the card and go on from there. How does that sound?


Sounds reasonable. I was thinking of a similar approach looking at A500 non-booting IDE interface where there needs to be a system boot floppy allowing for later mounting IDE drive(s). Will keep that in mind, thanks.

Another thing I'd like to implement is multiple floppy images handling. The amount of memory emulator has now allows for at least 2 floppies to be stored and switched between. Imagine 1st image is Workbench disk (probably autoloaded from MMC card BOOT directory) and 2nd is some game or utility disk, and you can swap them in an instant.
 

Offline mrmkl

  • Full Member
  • ***
  • Join Date: Dec 2005
  • Posts: 147
    • Show only replies by mrmkl
    • http://www.iki.fi/mkl/
Re: new prototype
« Reply #74 from previous page: February 05, 2006, 06:49:38 PM »
Quote

tnt23 wrote:
Quote

mrmkl wrote:

...
...UARTs, you could read and write floppy-images from a remote computer via RS-232.


Amiga also has RS-232 port, this could be used, too. Some software support from Amiga side would be necessary, like drivers.


ZModem for RS-232? It is usually included with terminal programs. (as an amigaos library in libs:)