mirror of
https://github.com/mi57730/a2d.git
synced 2024-06-25 21:29:30 +00:00
DeskTop: Fix for IIc+ drive issue. Fixes #25
This commit is contained in:
parent
6677e169ac
commit
0bb1c8671a
|
@ -5,15 +5,15 @@
|
|||
### Enhancements
|
||||
|
||||
* Current time shown on right side of menu bar, if system has a clock. (#7)
|
||||
* Show Text File DA: Keyboard support. Escape quits, arrows scroll. (#4)
|
||||
* Up to 12 Desk Accessories are shown in the menu. (#90)
|
||||
* Up to 13 volumes are shown on the desktop. (#20)
|
||||
* Up to 12 Desk Accessories are shown in the menu. (#90)
|
||||
* Show Text File DA: Keyboard support. Escape quits, arrows scroll. (#4)
|
||||
* Icon bitmap improvements. (#74)
|
||||
|
||||
### Additional Desk Accessories
|
||||
|
||||
* Show Image File
|
||||
* Select an image file (8k Hires or 16k Double Hires, aux-first), then choose this DA to preview it.
|
||||
* Select an image file (8k Hires or 16k Double Hires, aux-first), then choose DA to view it.
|
||||
* This Apple
|
||||
* Gives details about the computer, expanded memory, and what's in each slot. (#29)
|
||||
* Eyes
|
||||
|
@ -30,11 +30,13 @@
|
|||
* Date DA: Read-only on systems with a clock. On systems without a clock, date is saved for next session. (#30, #39)
|
||||
* Calculator DA: don't mis-paint when moved offscreen and other fixes. (#33, #34)
|
||||
* Sort Directory DA: don't need to click before sorting. (#17)
|
||||
* LC //e Card-specific: prevent crash. (#93)
|
||||
* IIgs-specific: color DHR is re-enabled on exit. (#43)
|
||||
* IIgs emulators no longer crash on startup. (#85)
|
||||
* SELECTOR.LIST created if missing. (#92)
|
||||
* Position desktop icons based on Slot/Drive assignment. (#94)
|
||||
* Hardware/Emulator Specific:
|
||||
* IIc Plus: don't spin slot 5 drives constantly. (Use Special > Check Drives) (#25)
|
||||
* Macintosh LC IIe Option Card: prevent crash. (#93)
|
||||
* IIgs: color DHR is re-enabled on exit. (#43)
|
||||
* IIgs emulators no longer crash on startup. (#85)
|
||||
|
||||
# 1.1
|
||||
|
||||
|
|
|
@ -672,6 +672,15 @@ next: dey
|
|||
done: rts
|
||||
|
||||
append: lda DEVLST,y ; add it to the list
|
||||
;; Don't issue STATUS calls to IIc Plus Slot 5 firmware, as it causes
|
||||
;; the motor to spin. https://github.com/inexorabletash/a2d/issues/25
|
||||
bit is_iic_plus_flag
|
||||
bpl :+
|
||||
and #%01110000 ; mask off slot
|
||||
cmp #$50 ; is it slot 5?
|
||||
beq next ; if so, ignore
|
||||
: lda DEVLST,y
|
||||
|
||||
inx
|
||||
sta removable_device_table,x
|
||||
bne next ; always
|
||||
|
@ -14759,7 +14768,11 @@ is_iie: copy #$96, machine_type ; IIe
|
|||
jmp init_video
|
||||
|
||||
is_iic: copy #$FA, machine_type ; IIc
|
||||
jmp init_video
|
||||
lda $FBBF ; for IIc, ROM version
|
||||
cmp #$05 ; IIc Plus?
|
||||
bne :+
|
||||
copy #$80, is_iic_plus_flag
|
||||
: jmp init_video
|
||||
.endproc
|
||||
|
||||
iigs_flag: ; High bit set if IIgs detected.
|
||||
|
|
|
@ -868,6 +868,9 @@ pos_clock:
|
|||
str_clock:
|
||||
PASCAL_STRING "00:00 XM "
|
||||
|
||||
is_iic_plus_flag:
|
||||
.byte 0
|
||||
|
||||
PAD_TO $DB00
|
||||
|
||||
;;; ============================================================
|
||||
|
|
Loading…
Reference in New Issue
Block a user