Skip to content

Commit fe7d7e3

Browse files
committed
(2.1.5) Fix sp_init to detect correct SP unit when there are multiple
1 parent e294d91 commit fe7d7e3

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [2.1.5] - 2024-01-07
6+
7+
### Fixed
8+
9+
- [apple2] sp_init multiple SP device detection (thanks @ShunKita)
10+
511
## [2.1.4] - 2024-01-06
612

713
### Fixed

apple2/src/fn_fuji/sp_init.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,17 @@
8181
pushax ptr1
8282

8383
jsr _sp_find_network
84+
beq @not_found_nw
8485
bpl @found_network
85-
beq :+
8686

8787
; we had a -ve value, which indicates a real SP error of some kind, capture it
8888
; so we can indicate the issue at the end if we didn't find a SP with network
8989
sta last_sp_error
9090

9191
; as we didn't find network, keep trying more slots
9292
; restore ptr1
93-
: popax ptr1
93+
@not_found_nw:
94+
popax ptr1
9495
; restore the id we last tried into X
9596
pla
9697
tax

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.4
1+
2.1.5

0 commit comments

Comments
 (0)