[Coco] Help with ADOS customization
Chris Ahrendt
chrisahrendt at bellsouth.net
Tue Jun 24 14:05:38 EDT 2014
Ok need some help with customizing my ADOS rom before I send it off to
get burned...
here is the relevant section of the customize:
1320 '****FOR 40-TRACK FORMATTING ON ALL DRIVES, REMOVE APOSTROPHE FROM
NEXT LINE****
1330 TRKS=40
1340 'IF YOU CHANGE THE ABOVE LINE TO TRKS=80 (REMOVING THE APOSTROPHE),
AND CHANGE THE LINE
1350 'TWO LINES DOWN FROM THIS ONE TO GRNS=128, YOU'LL HAVE 80 TRACKS ON
ALL DRIVES, IF YOUR HARDWARE SUPPORTS THIS. (YOU CANNOT GET MORE THAN
128 GRANS BY THIS METHOD, HOWEVER, NOR DOES ADOS ALLOW DIFFERENT NUMBERS
OF TRACKS ON DIFFERENT DRIVES.)
1360 IF TRKS=35 THEN 1600
1370 GRNS=TRKS*2-2
1380 POKE&H31B0,TRKS:POKE&H3572,TRKS:POKE&H3595,TRKS
1390 POKE&H335F,GRNS: POKE&H2708,GRNS: POKE&H278B,GRNS: POKE&H27A0,GRNS
1400 POKE&H27BF,GRNS:POKE&H2C4C,GRNS:POKE&H2DD9,GRNS
1410 POKE&H3446,TRKS-1:POKE&H272A,1
1420 MX=18*(TRKS-1):MS=MX/256:LS=MX AND 255: POKE&H22E9,MS: POKE&H22EA,LS
1430 SM=2+INT((GRNS-1)/8)+1:IF SM>18 THEN SM=18
1440 POKE&H26A5,SM
Ok this seems to set every drive to 40 tracks
What I would like to be able to do is the following:
Drive 0/1 - first drive 51/4" DS/DD 40 tracks
Drive 2/3 - second drive 31/2" DS 720k disk..
How do I change the above to support that? Anyone help?????????
Chris
More information about the Coco
mailing list