[Coco] Flash updated Dragon DOS into SDC... help!
Barry Nelson
barry.nelson at amobiledevice.com
Fri Mar 11 00:33:57 EST 2016
Try this BASIC program…
1 CLS
10 OPEN "D",1,"BINFILE.BIN",5
20 FIELD #1,5 AS H$
30 GET #1,1
40 SA=ASC(MID$(H$,4,1))*256+ASC(MID$(H$,5,1)):NB=ASC(MID$(H$,2,1))*256+ASC(MID$(H$,3,1))
50 CLOSE #1
60 PRINT "START ADDRESS (IN HEX):";HEX$(SA):PRINT "NUMBER OF BYTES (IN HEX):";HEX$(NB)
> Zippster zippster278 at gmail.com
> Thu Mar 10 17:47:34 EST 2016
>
> Hello Rogelio,
>
> The load address and file length should be in the .bin file 5 byte preamble (header).
> You can check it with a hex editor, I’m not sure what Pere used.
>
> The second and third bytes is the file size, The fourth and fifth are the load address.
>
> This may be helpful…
>
> <https://sites.google.com/site/thezippsterzone/coco-sdc-pages/coco-sdc-writing-flash-banks <https://sites.google.com/site/thezippsterzone/coco-sdc-pages/coco-sdc-writing-flash-banks>>
>
> - Ed
>
>
> > On Mar 10, 2016, at 4:31 PM, Rogelio Perea <os9dude at gmail.com> wrote:
> >
> > Got far up as to get the newest Pere release for the Dragon onto a DSK
> > image as a BINary file in the virtual disk.
> >
> > I am using my CoCo 1 setup to attempt and flash the DOS into the SDC. After
> > changing the jumpers I can see and mount the DSK image from the SDC. I was
> > about to do the flashing when a reflection about where in memory is the BIN
> > file being loaded to hit me - this, as far as I know - would be a crucial
> > bit of information to later issue the proper WRITE command to store the DOS
> > in the SDC flash memory, bank 7 as I opted to use.
> >
> > Right now my Dragon use SDC has DOSPlus on bank 4 and SDC DOS on bank 0.
> >
> > I know the BIN file of the newest DOS is about 14,xxx bytes long (my notes
> > are upstairs, too long of a trip hoping on just one foot - long story) and
> > that the file's first two bytes are 'D' and 'K' as a proper DOS would have.
> > Also known the fact that for regular ML programs there is a way to snoop
> > out loading and exec addresses but... I have never tried programming a DOS
> > outside the world of EPROMs.
> >
> > What would be the proper way to proceed? LOADM the BIN file and then WRITE
> > to the flash I figure but where would the CoCo load the file into memory to
> > then properly set the WRITE parameters to flash the image?
> >
> > -- RP
> >
> > --
More information about the Coco
mailing list