Skip to content

Commit 3ae4200

Browse files
authored
4.7.5 release candidate with sp_init fix for apple2 (#25)
* [apple2] fix sp_init.s not checking all SP devices * 4.7.5 release candidate
1 parent d582b26 commit 3ae4200

File tree

5 files changed

+30
-12
lines changed

5 files changed

+30
-12
lines changed

Changelog.md

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

33
## [Unreleased]
44

5+
## [4.7.5] - 2025-04-18
6+
7+
- [apple2] fix sp_init.s not checking all SP devices (HEAD -> main) [Mark Fisher]
8+
- [coco] fix network_json_parse and network_json_query (upstream/main) [Jan Krupa]
9+
- [pmd85] fix network_json_parse and network_json_query [Jan Krupa]
10+
- [pmd85] forgotten network_read_nb() [Jan Krupa]
11+
- [pmd85] add fuji_ and network_ functions for pmd85 target [Jan Krupa]
12+
- Const needed in function declaration for network_http_set_channel_mode [Brad Colbert]
13+
- [msdos] match changes upstream in INT F5 (register changes) [Thomas Cherryhomes]
14+
- [msdos] first pass of fuji part of fn-lib. [Thomas Cherryhomes]
15+
- [msdos] fix build.mk for more of watcom's watcomisms. [Thomas Cherryhomes]
16+
- [msdos] include. [Thomas Cherryhomes]
17+
- [msdos][fuji] base64_decode_compute [Thomas Cherryhomes]
18+
- [msdos] add bus methods that talk via INT F5 [Thomas Cherryhomes]
19+
- [apple2gs] Fix sp_control param count issue [Eric Le Bras]
20+
- [coco] update error processing [Jan Krupa]
21+
- [coco] fix compile errors, add missing "const" [Jan Krupa]
22+
- Added 'const' to input parameter pointers. [Oliver Schmidt]
23+
- [coco] update *_get_response functions [Jan Krupa]
24+
- introduce zcc and pmd85 into makefiles [Jan Krupa]
25+
- [apple2gs] optimize all bus and fn_clock calls to asm [Eric Le Bras]
26+
527
## [4.7.4] - 2024-11-13
628

729
- [coco] fix data size for host/device slots when pushing back to FN

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# Set the TARGETS and PROGRAM values as required.
44
# See makefiles/build.mk for details on directory structure for src files and how to add custom extensions to the build.
55

6-
# TARGETS = atari c64 apple2 apple2enh apple2gs coco
6+
TARGETS = atari c64 apple2 apple2enh apple2gs coco
77
# TARGETS = pmd85
8-
TARGETS = msdos
8+
# TARGETS = msdos
99
PROGRAM := fujinet.lib
1010

1111
SUB_TASKS := clean disk test release

apple2/apple2-6502/bus/sp_init.s

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ check_network:
7272
lda #$01
7373
sta _sp_is_init
7474
75-
; store ptr1, and X while we go do stuff
76-
lda ptr1
77-
pha
75+
; store ptr1 high byte, and X while we go do stuff.
7876
lda ptr1+1
7977
pha
8078
.if (.cpu .bitand ::CPU_ISET_65SC02)
@@ -84,7 +82,7 @@ check_network:
8482
pha
8583
.endif
8684
jsr _sp_get_network_id
87-
85+
; Z flag set if it's not found
8886
bne found_network
8987

9088
; failed to find a network device on this card, try the next one
@@ -97,14 +95,14 @@ check_network:
9795
.endif
9896
pla
9997
sta ptr1+1
100-
pla
101-
sta ptr1
10298

10399
.if (.cpu .bitand ::CPU_ISET_65SC02)
104100
stz _sp_is_init
101+
stz ptr1 ; reset the low byte for ptr1 so the next loop reads from correct address
105102
.else
106103
lda #$00
107104
sta _sp_is_init
105+
sta ptr1 ; reset the low byte for ptr1 so the next loop reads from correct address
108106
.endif
109107

110108
no_match:
@@ -124,10 +122,8 @@ found_network:
124122
.if (.cpu .bitand ::CPU_ISET_65SC02)
125123
plx
126124
plx
127-
plx
128125
.else
129-
tax ; save the A value, remove 3 values from stack, then restore A
130-
pla
126+
tax ; save the A value, remove 2 values from stack, then restore A
131127
pla
132128
pla
133129
txa

sp_status.ROOT

-200 Bytes
Binary file not shown.

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.7.4
1+
4.7.5

0 commit comments

Comments
 (0)