Drive Disk II slot number asm

5 posts / 0 new
Last post
Online
Last seen: 1 hour 28 min ago
Joined: Nov 19 2023 - 15:28
Posts: 268
Drive Disk II slot number asm

Hello, 

Is there somewhere a piece of asm code to detect which slot the DiskII is ? (working for 6502)

thanks

Vincent 

 

Online
Last seen: 4 sec ago
Joined: Feb 27 2021 - 18:59
Posts: 736
The Apple II+ Autostart

The Apple II+ Autostart Monitor ROM contains such code, at the entrypoint "PWRUP" $FAA6.

Offline
Last seen: 1 day 3 hours ago
Joined: Apr 26 2016 - 08:36
Posts: 790
further to robespierre's

further to robespierre's reply, the listing for the II+ Monitor ROM can be found here:

https://6502disassembly.com/a2-rom/AutoF8ROM.html

 

Online
Last seen: 1 hour 28 min ago
Joined: Nov 19 2023 - 15:28
Posts: 268
OK thank you, it is working

OK thank you, it is working like a charm

Now I am looking for a routine to move the arm the DiskII by 1 logical track

Seek function does not exist in prodos

Beneath prodos is providing a piece of code but I do not want to recalibrate and going to track 0

Do someone has this simple routine ? 

Thanks 

Vincent 

 

Online
Last seen: 4 sec ago
Joined: Feb 27 2021 - 18:59
Posts: 736
read the book

You already have "Beneath Apple ProDOS". Turn to page A-8 and refer to the routine called "ARMOVE".

The RWTS interface of DOS 3.3 does provide a SEEK command that can be called by assembling an appropriate I/O control block.

Log in or register to post comments