Page 1 of 1

DragonMMC & Superdos bugs

Posted: Mon Oct 29, 2012 11:27 am
by prime
Hi all,

Tape emulation is pretty much done and should work with a properly bit aligned cas file, such as the ones produced by Xroar.

Cartridge image loading also works, and a cart can be loaded and auto-started, e.g. a game, or just loaded e.g. a utility.

Tape and Cart emulation work on both the Dragon & CoCo (1,2, not tested on 3).

I'm currently working on adding disk image support to DragonMMC which is going quite well, I can mount a standard disk image (been experementing with the Diskdream image), and can load and run files off it, even ones that assemble from disk seem to work fine. It's about the same speed as real floppies at the moment as I have the AVR doing hexdumps of sectors as they are read, for debugging purposes but i expect things to speed up greatly once I stop doing this. Everything is read only at the moment but once I am sure that the translation is working correctly then enabling write should be easy enough.

I'm also planning on having the DOS emulation selectable, so that if you want to load something that doesn't play nice with DOS you can do so, by disabling dos. It should also be noted that at the moment I'm only supporting well behaved programs that make calls to the dos rom through the jump table at the beginning of the ROM, not things that make direct calls, if this turns out to affect a significant number of programs I may see what I can do. Also code that directly talks to the 2797 will not work for obvious reasons......

One thing that has struck me, does anyone have a list of bugs in Superdos that need fixing, as I may as well try and fix them whilst I'm about it, I can of course back port them to the main superdos code, so that we can fix the bugs in the normal version too.

Cheers.

Phill.

Re: DragonMMC & Superdos bugs

Posted: Mon Oct 29, 2012 2:20 pm
by zephyr
prime wrote: One thing that has struck me, does anyone have a list of bugs in Superdos that need fixing, as I may as well try and fix them whilst I'm about it, I can of course back port them to the main superdos code, so that we can fix the bugs in the normal version too.
The only list I know of is attached below.
SuperDos Bugs:

Corrupts mem/files/hangs on FWRITE time out on open files

RENAME allows creation of zero length filenames when used to copy across disks

WP error can occur 3 or 4 times in succession.

ERROR GOTO not always cancelled on return to BASIC

LOAD'd files remain open

EOF errors occurs whilst FLREADing from large fragmented files

Re: DragonMMC & Superdos bugs

Posted: Mon Oct 29, 2012 3:09 pm
by sixxie
I can add one that used to bug me repeatedly (E6):

If you do a DIR (possibly other operations), then RUN"FILENAME" before the motor times out, it'll often ?NE ERROR, and you'll have to retry.