#1279

Issue # 38 DTACK GROUNDED Newsletter - January 1985

eZine's profile picture
Published in 
 · 7 May 2023
... the logical sector number in data register D0 to a cylinder number in (for instance) D1, a surface number in D2, and a PHYSICAL (not logical) sector # in D3. Here is code that will do the job, including a test for a legal logical sector #: 1 CMPI.L #1279,D0 2 BHI DISKERROR 3 MOVE.W D0,D1 4 LSR.W #4,D1 5 MOVE.W D0,D2 6 LSR.W #3,D2 7 MOVE.W D0,D3 8 ADD.W D2,D3 9 ANDI.W #7,D3 10 ANDI.W #1,D2 That's it! That's all it takes. An explanation: Page 13, Column 2 A digression: We have a choice between ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT