File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
+ ### Fixed
10
+ - LOADB/SAVEB could change active device.
11
+
9
12
## [ 3.0.0] - 2021-05-14
10
13
11
14
### Changed
Original file line number Diff line number Diff line change @@ -145,13 +145,10 @@ load_binary_laddr_hi = *+1
145
145
146
146
.disk_io_setnamsetlfs ;reused by both loadb and saveb
147
147
jsr SETNAM
148
- lda $ba ;last used device number
149
- and #3 ;Make 0-3 possible numbers
150
- ora #8 ;Transform to 8-B
151
- tax
152
- lda #1
153
- ldy #0 ;if load: 0 = load to new address, if save: 0 = dunno, but okay...
154
- jmp SETLFS ;End with JMP instead of jsr/rts to save a jsr/rts pair...
148
+ ldx $ba ; keep current device
149
+ lda #1 ; logical file #
150
+ ldy #0 ; if load: 0 = load to new address, if save: 0 = dunno, but okay...
151
+ jmp SETLFS
155
152
156
153
.disk_io_error
157
154
; Accumulator contains BASIC error code
You can’t perform that action at this time.
0 commit comments