Commodore 64 warp disk write progress in IECHost

in #arduino7 years ago

After a few tuning cycles, I am glad to say that the warp transfer routine that is used for sector writing to a physical disk is now working as expected.

The very first sector I wrote to a real disk is from Booze Design’s 20 year anniversary demo (track 1, sector 0). Here’s what it looks like when I read it back:

> bd 0
0000: 01 08 01 08 0B 08 00 00 9E 32 30 36 31 00 00 00 .........2061...
0010: 78 A9 34 85 01 A2 3D BD 1F 08 95 06 CA 10 F8 4C x.4...=........L
0020: 08 00 49 FB A0 FF B9 C8 0C 99 00 FF 88 D0 F7 B1 ..I.............
0030: 0B 91 0E C6 0F C6 0C A5 0C C9 08 B0 E7 B9 5D 08 ..............].
0040: 99 34 03 C8 C0 B4 90 F5 A0 02 B1 06 99 03 00 88 .4..............
0050: 10 F8 18 A9 03 65 06 85 06 90 02 E6 07 4C 34 03 .....e.......L4.
0060: 20 B8 03 08 A9 01 20 B8 03 90 06 20 B8 03 2A 10 ..... .... ..*.
0070: F5 28 B0 18 85 02 A0 00 B1 06 91 04 C8 C4 02 D0 .(..............
0080: F7 A2 02 20 D1 03 C8 F0 D7 38 B0 D7 69 00 F0 4C ... .....8..i..L
0090: 85 02 C9 03 A9 00 85 08 85 09 2A 20 B8 03 2A 20 ..........* ..*
00A0: B8 03 2A AA BC E0 03 20 B8 03 26 08 26 09 88 D0 ..*.... ..&.&...
00B0: F6 8A CA 29 03 F0 08 E6 08 D0 E9 E6 09 D0 E5 38 ...)...........8
00C0: A5 04 E5 08 85 08 A5 05 E5 09 85 09 B1 08 91 04 ................
00D0: C8 C4 02 D0 F7 A2 00 20 D1 03 30 84 A9 37 85 01 ....... ..0..7..
00E0: 58 4C 0D 08 06 03 D0 14 48 98 48 A0 00 B1 06 E6 XL......H.H.....
00F0: 06 D0 02 E6 07 38 2A 85 03 68 A8 68 60 18 98 75 .....8*..h.h`..u

 
It’s now a matter of just sending all sectors from the IECHost client to the IECHost hardware and watch it warp-write them to a physical disk.

I am not sure what to expect (and therefore handle) in case of error, e.g. bad disk, bad track, bad sector, software errors on tracks and sectors, unformatted disk, etc. I guess I will get to it once I finish the whole client software part.

Stay tuned as the excitement is about to explode!

Sort:  

Congratulations @thechaosengineer! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You got your First payout

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

If you want to support the SteemitBoard project, your upvote for this notification is welcome!

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 58140.33
ETH 2348.86
USDT 1.00
SBD 2.44