Previous Thread
Next Thread
Print Thread
Page 21 of 39 1 2 19 20 21 22 23 38 39
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #93510 03/25/14 08:14 PM
Joined: May 2012
Posts: 541
S
shattered Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: May 2012
Posts: 541
ec1842 (not in MESS -- not sure if there are any dumps) is another interesting (aka horrible) beast -- it was apparently designed to run protected-mode OS for i286 (not sure if it was an original design or not).

But instead of i286 or its clone it uses a modified i8086 + external MMU + software emulator for opcodes that aren't implemented in the silicon.

The emulator -- http://zx.pk.ru/attachment.php?attachmentid=46992&d=1395679442

Ongoing discussion -- http://www.phantom.sannata.ru/forum/index.php?t=15452

Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #93599 04/01/14 01:08 AM
Joined: Jan 2012
Posts: 844
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 844
Originally Posted By shattered
mk88's BIOS assumes that floppy drive is QD and silently multiplies track number by 2 before passing it to FDC

What is the clean way to handle this? For now I'm patching the BIOS.


Spent a few minutes looking and don't think there's a simple way with normal PC raw floppy images. You'd probably have to make an imagedisk file with bin2imd with the correct layout options.

Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #93601 04/01/14 05:46 AM
Joined: May 2012
Posts: 541
S
shattered Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: May 2012
Posts: 541
Will try that, thanks.

poisk1 and mc1502 also have a QD drive but can handle both QD and DD floppies (the former checks media descriptor, the latter just creates two more logical drive letters).

Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95040 07/12/14 06:50 AM
Joined: Jul 2014
Posts: 4
B
b90u Offline
Member
Offline
Member
B
Joined: Jul 2014
Posts: 4
I want to use 720k floppies in ec1841 emulator.

When "dip switches -> floppy type" configuration switch is in "40 tracks" position, then only 360k disks work. After loading pu_1700 I'm able to format empty 720k image to 80 tracks/ 9 sectors/ 2 heads, but then I have sector error on any access above 360k.

When "dip switches -> floppy type" option is "80 tracks", then I'm not able to make bootable DOS image at all. I've tried to make 360k, 720k, 1.2m images in different ways, in "80 tracks" mode DOS doesn't boot, sometimes prints "Disk Boot failure", which means that 1st sector is read, but not more.

What should be the value of that "floppy type" configuration switch?


You can answer me in Russian in private, if you wish.
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95065 07/12/14 06:42 PM
Joined: May 2012
Posts: 541
S
shattered Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: May 2012
Posts: 541
I don't think it is actually used by the BIOS. I implemented it only because the available tech manual documents it.

BTW, the poisk1 BIOS wants media descriptor byte to be F9 on 720k floppies or they won't boot.

Last edited by shattered; 07/12/14 06:45 PM.
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95078 07/13/14 02:51 PM
Joined: Jul 2014
Posts: 4
B
b90u Offline
Member
Offline
Member
B
Joined: Jul 2014
Posts: 4
shattered, than you for reply, though it's confusing, because there is a difference in behaviour depending on this switch position.

I have a bunch of plain floppy images:

copies of real floppies,
or downloaded from internet,
or prepared by dd count=$((9*2*$ntracks)) and then formatted from within emulator or mapped and formatted as loop device in linux etc etc.

All these images work fine when they are 360 KB _and_ mentioned switch is set to "40 tracks".

None of these images (of any size) are recognized when your switch is set to "80 tracks".
I've tried to set media descriptor byte (at 0x15 offset) to F9 (most 720k images already has it), without success.


All I want is to emulate authentic DS/DD floppies, which were most commonly used on 1841 and usually formatted to 80/2/9 CHS (720 KB).
Is this possible, did you try this?


You can answer me in Russian in private, if you wish.
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95081 07/13/14 04:12 PM
Joined: May 2012
Posts: 541
S
shattered Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: May 2012
Posts: 541
ec1841 driver is configured with DSDD drives, not DSQD so even with DIP set to 80, there's no way for this to work. And I'm not sure MESS can autodetect 40/80 tracks (see earlier messages in this thread) even if you change it to DSQD.

Last edited by shattered; 07/13/14 04:12 PM.
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95082 07/13/14 04:29 PM
Joined: Jul 2014
Posts: 4
B
b90u Offline
Member
Offline
Member
B
Joined: Jul 2014
Posts: 4
So no simple way to have 720 disks?


You can answer me in Russian in private, if you wish.
Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95083 07/13/14 05:01 PM
Joined: May 2012
Posts: 541
S
shattered Offline OP
Senior Member
OP Offline
Senior Member
S
Joined: May 2012
Posts: 541
Afraid so. Maybe attaching a secondary FDC could work.

Hard disk support is more useful, and I should clean up and submit patches to isa_hdc that make it compatible with ec1841. XT-IDE should also work but for some reason doesn't.

Re: ex- USSR and Soviet Bloc hardware [Re: shattered] #95084 07/13/14 05:09 PM
Joined: Jul 2014
Posts: 4
B
b90u Offline
Member
Offline
Member
B
Joined: Jul 2014
Posts: 4
Ok, thank you for explanation.


You can answer me in Russian in private, if you wish.
Page 21 of 39 1 2 19 20 21 22 23 38 39

Who's Online Now
4 registered members (judge, Pernod, will, Duke), 76 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,817
Posts116,073
Members4,915
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3