View Single Post
Old 17th May 2019, 7:18 am   #58
JohnBHanson
Heptode
 
Join Date: Aug 2009
Location: Worthing, Sussex, UK.
Posts: 661
Default Re: Gemini 80-Bus System

Very easy - at least for a backchair programmer.

Using your 32k version of CP/M disk - the first one I posted load cylinder 0, side 0, sector 1 through to head 1 sector 6 inclusive to address 5d00 in ram. Using a python program via rpm as you have done
previously.

Then the routine at 76ab should contain the routine WRITSC in the bios listing.

To write a sector setup BUFTRK to the track required and BUFSEC to the sector required values - BUFTRK is the cylinder number and BUFSEC is 0..9 for side 0 and 10..19 for side 1.

Set BUFDRV to 1 for disk A:
Data goes to the buffer at BUFFER

To get addresses add 7300 to the value given in the listing
JohnBHanson is offline