File tree Expand file tree Collapse file tree 4 files changed +410
-1
lines changed
Expand file tree Collapse file tree 4 files changed +410
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,16 @@ struct adf_image {
5050 uint8_t sec_map [2 ][22 ];
5151};
5252
53+ struct apple2_image { /* XXX */
54+ uint32_t trk_off ;
55+ uint32_t sec_idx ;
56+ int32_t decode_pos ;
57+ uint32_t pre_idx_gap_bc ;
58+ uint32_t nr_secs ;
59+ uint32_t written_secs ;
60+ uint8_t sec_map [2 ][22 ];
61+ };
62+
5363struct hfe_image {
5464 uint16_t tlut_base ;
5565 uint16_t trk_off ;
@@ -198,6 +208,7 @@ struct image {
198208
199209 union {
200210 struct adf_image adf ;
211+ struct apple2_image apple2 ;
201212 struct hfe_image hfe ;
202213 struct qd_image qd ;
203214 struct img_image img ;
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ OBJS += image.o
33
44OBJS-$(quickdisk) += qd.o
55
6+ OBJS-$(apple2) += apple2.o
67OBJS-$(apple2) += hfe.o
8+ OBJS-$(apple2) += mfm.o
79
810OBJS-$(shugart) += adf.o
911OBJS-$(shugart) += dsk.o
You can’t perform that action at this time.
0 commit comments