Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
articles:iicplus_smartport_secrets [2018/06/12 20:23]
M.G. [Just How Does the IIc Plus Boot Slot 6?]
articles:iicplus_smartport_secrets [2018/06/26 18:18]
M.G.
Line 26: Line 26:
 The data field is: The data field is:
  
-| 5 self-syncs | $D5 $AA $AD | 699 disk bytes | KK KK KK KK | $DE $AA "​off"​ |+| 5 self-syncs | $D5 $AA $AD | SS | 699 disk bytes | KK KK KK KK | $DE $AA "​off"​ |
  
 In this case, we can see the address and data prologues are the same between the 5.25%%"​%% and 3.5%%"​%% formats. The epilogues are defined differently. ​ In we are used to $DE $AA $EB, but instead of $EB we have "​off"​... this is defined in the official documentation as a "pad byte where the drive electronics were turned off." ​ Code that reads a 3.5%%"​%% disk should not assume the byte contains anything useful. ​ In fact, ProDOS ignores this byte even when reading a 5.25%%"​%% floppy. In this case, we can see the address and data prologues are the same between the 5.25%%"​%% and 3.5%%"​%% formats. The epilogues are defined differently. ​ In we are used to $DE $AA $EB, but instead of $EB we have "​off"​... this is defined in the official documentation as a "pad byte where the drive electronics were turned off." ​ Code that reads a 3.5%%"​%% disk should not assume the byte contains anything useful. ​ In fact, ProDOS ignores this byte even when reading a 5.25%%"​%% floppy.
Line 222: Line 222:
 ! STA 42,X ! STA 42,X
 ! DEX ! DEX
-BNE 302+BPL 302
 ! JSR C64E ! JSR C64E
 ! STA 330 ! STA 330