Re: 8250 formats single sided

From: William Levak (wlevak_at_cyberspace.org)
Date: 2002-01-09 20:54:10

Here's the program listing with the parameter table listing.

On Tue, 8 Jan 2002, William Levak wrote:

> On Tue, 8 Jan 2002, Ruud Baltissen wrote:
> 
> > Hallo allemaal,
> > 
> > Is there a way to tell a 8250 to format a disk single sided? IMHO just a 
> > matter of "M-R" an address but which one and what data?
> 
> It is a matter of changing the parameter table in memory.  There was a
> discussion of this a while back.  I have the information somewhere, but
> cannot find it right now.  I will look for it.

10 REM     8050 8250
11 REM 172   1    2  SIDES
12 REM 192  38   38  BAM AND DIRECTORY
13 REM 193  38   38   TRACK NUMBERS
14 REM 194  39   38
15 REM 195   0   38
16 REM 196   0   39
17 REM 197   0    0  BAM AND DIRECTORY
18 REM 198   3    3   SECTOR NUMBERS
19 REM 199   1    6
20 REM 200   0    9
21 REM 201   0    1
22 REM 233  78  155  TOTAL TRACKS + 1
23 REM 237   0   77  TRACKS ON SIDE 2
24 INPUT"DEVICE ADDRESS";DA:OPEN1,DA,15
25 PRINT#1,"M-W"CHR$(172)CHR$(16)CHR$(1)CHR$(1)
26 PRINT#1,"M-W"CHR$(194)CHR$(16)CHR$(3)CHR$(39)CHR$(0)CHR$(0)
27 PRINT#1,"M-W"CHR$(199)CHR$(16)CHR$(3)CHR$(1)CHR$(0)CHR$(0)
28 PRINT#1,"M-W"CHR$(233)CHR$(16)CHR$(1)CHR$(78)
29 PRINT#1,"M-W"CHR$(237)CHR$(16)CHR$(1)CHR$(0):PRINT#1,"U9":CLOSE1



       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.