Skip to content

Commit

Permalink
- fixed directory listing on IDE64 (1st file is shown correctly)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytm committed Sep 14, 2004
1 parent f8f5c92 commit ad1a3cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion BUGS
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@

- lunixrc is only on disk image, not in package release

- sh treats whitespace on the left side as part of the command name
- with IDEDOS>=0.9x secondary address for $ must be = 0 (formatted output), but leave it as 8
for file access
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from 0.21 to 0.22
-----------------
fixed: broken 1st file on IDE64 dir list (MW)

from 0.20 to 0.21 (Sep 10 2004)
-----------------
Expand Down
4 changes: 1 addition & 3 deletions kernel/fs_ide64.s
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
; (like preparing filename, printing errorcode)
; - maybe some temporary zeropage bytes can be shared with fs_iec (dunno)
; - if I would only know how to get listing similar to 'll' readdir would be way shorter
; BUGS
; - freaddir gives wrong length of the first file

#include <config.h>

Expand Down Expand Up @@ -755,7 +753,7 @@ fs_ide64_freaddir:
and #$40
bne next_entry

lda #$32
lda #$20
sta ide64_fopen_flags ; ignore first entry (diskname)

- jsr get_byte ; error won't happen here (this is always present)
Expand Down

0 comments on commit ad1a3cd

Please sign in to comment.